New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-language-server

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-language-server

Language Server Protocol (LSP) implementation for TypeScript using tsserver

  • 0.0.19
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-57.14%
Maintainers
1
Weekly downloads
 
Created
Source

typescript-language-server

Language Server Protocol implementation for Typescript via tsserver.cmd :warning: WIP :warning:

https://nodei.co/npm/typescript-language-server.png?downloads=true&downloadRank=true&stars=true

Installing

npm install -g typescript-language-server

Running the language server

typescript-language-server --stdio

Note: typescript-language-server requires tsserver to be in path. You can install using npm install -g typescript. If you would like to use a different tsserver specify the absolute path using --tserver-path. Make sure to append .cmd if windows.

Options

$ typescript-language-server --help

  Usage: typescript-language-server [options]


  Options:

    -V, --version           output the version number
    --stdio                 use stdio
    --node-ipc              use node-ipc
    --socket <port>         use socket. example: --socket=5000
    --logFile <logFile>     Specify a log file. example: --logFile=logs.txt
    --tsserver-path <path>  absolute path to tsserver. example: --tsserver-path=/bin/tsserver
    -h, --help              output usage information

Supported Protocol features

  • textDocument/completion
  • textDocument/definition
  • textDocument/didChange
  • textDocument/didClose
  • textDocument/didOpen
  • textDocument/didSave
  • textDocument/documentSymbol
  • textDocument/hover
  • textDocument/rename
  • textDocument/references
  • workspace/symbol

Development

Build

npm install
npm run build

Watch

npm install
npm run watch

FAQs

Package last updated on 13 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc