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

typescript-lsp

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-lsp

Language Server Protocol (LSP) implementation for TypeScript using tsserver

  • 0.0.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

TypeScript LSP

Language Server Protocol implementation for TypeScript wrapping tsserver.

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

Based on concepts and ideas from https://github.com/prabirshrestha/typescript-language-server.

Supported Protocol features

  • textDocument/didChange (incremental)

  • textDocument/didClose

  • textDocument/didOpen

  • textDocument/didSave

  • textDocument/codeAction

  • textDocument/completion (incl. completion/resolve)

  • textDocument/definition

  • textDocument/documentHighlight

  • textDocument/documentSymbol

  • textDocument/executeCommand

  • textDocument/format

  • textDocument/hover

  • textDocument/rename

  • textDocument/references

  • textDocument/signatureHelp

  • workspace/symbol

Installing

npm install -g typescript-lsp

Running the language server

typescript-lsp --stdio

Options

$ typescript-lsp --help

  Usage: typescript-lsp [options]


  Options:

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

Development

Build

yarn install
yarn build
yarn test

Watch

yarn
yarn watch

FAQs

Package last updated on 01 Oct 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