Registry / devops / typescript-tools

typescript-tools

JSON →
library0.3.1jsnpmunverified

typescript-tools provides a command-line server, `tss`, which exposes an API to the TypeScript Language Services. Its primary purpose was to enable editor plugins (e.g., for Vim, Emacs, Sublime Text) to integrate early TypeScript features such as type information lookup, symbol definition navigation, and code completion. The package was designed for TypeScript Language Services v0.9, which is severely outdated as TypeScript is now in its 5.x major release series. Development of `typescript-tools` appears to have ceased around 2014-2015, making it an abandoned project. It is not compatible with modern TypeScript versions and lacks active maintenance or a defined release cadence.

npm install typescript-tools
INSTALL
IMPORT
SIG · TYPESCRIPT-TOOLS
T
typescript-tools
devopsjavascriptv0.3.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tss (command-line)
n/a
import { tss } from 'typescript-tools'
This package is a command-line server (`tss`), not a library for direct import into JavaScript/TypeScript projects. Its functionality is accessed via inter-process communication (IPC).

Demonstrates global installation and basic command-line interaction with the `tss` server to query TypeScript language services, reflecting its intended early-era usage.

npm install -g typescript-tools # Example TypeScript file (e.g., tests/test.ts): # declare const x: { a: number; b: number; }; # const y = x.a; # Start the server and query for type information via standard input # Note: Output and paths will vary significantly due to the package's age # and incompatibility with modern TypeScript. # This command block simulates input for the tss server. # The 'tss' executable might require its full path on some systems. # Example session (pipe commands to tss): tss tests/test.ts <<EOF type 4 2 tests/test.ts definition 4 2 tests/test.ts completions true 4 4 tests/test.ts quit EOF
tss --version
Debug
Known issues
breakingThis package is explicitly built against TypeScript Language Services v0.9 and is fundamentally incompatible with modern TypeScript versions (1.0+). Attempting to use it with current projects will result in incorrect or non-functional behavior due to API changes.
fix
Do not use this package for modern TypeScript development. Modern editors have built-in TypeScript language service integration or utilize actively maintained Language Server Protocol (LSP) servers.
affects: >=1.0.0
gotchaThe project is abandoned, with the last commits dating back to 2014-2015. There is no active maintenance, bug fixes, or security patches, making it unsuitable for use in any contemporary development or production environment.
fix
Migrate to modern editor integrations or Language Server Protocol (LSP) based tools for TypeScript support, which are actively developed and secure.
affects: *
deprecatedThe command-line server approach for editor integration has largely been superseded by the Language Server Protocol (LSP), which provides a standardized and robust way for editors and IDEs to communicate with language-specific servers.
fix
Utilize editors with native LSP client support and the official TypeScript Language Server for robust and up-to-date TypeScript features.
affects: *
Errors
Common errors & fixes
Error: Cannot find module 'typescript' or 'tss.js' not found
The `typescript-tools` package depends on a specific, and very old, internal structure and version of TypeScript (0.9). Modern npm installations or TypeScript versions will not satisfy these outdated requirements.
fix
This package cannot be easily made to work with modern TypeScript installations. The recommended fix is to use alternative, actively maintained tools or built-in editor support.
tss: command not found
The `tss` command was not installed globally or is not in your system's PATH. This can happen if `npm install -g` failed silently or if Node.js/npm's global binary directory isn't correctly configured in your environment.
fix
Ensure `npm install -g typescript-tools` completes successfully. Verify npm's global bin path is included in your system's PATH variable (e.g., `echo $PATH` on Linux/macOS or `Get-Command tss` in PowerShell to check if it's found).
Upgrade
Version history
0.3.1latest on npm
Audit
Dependencies
typescriptrequiredRuntime dependency for the Language Services. Specifically tied to TypeScript 0.9.
Agent activity
11 hits · last 30 days
node
10
Resources
typescript-tools — npm install typescript-tools · libregistry