Gathering detailed insights and metrics for javascript-typescript-langserver
Gathering detailed insights and metrics for javascript-typescript-langserver
Gathering detailed insights and metrics for javascript-typescript-langserver
Gathering detailed insights and metrics for javascript-typescript-langserver
@elastic/javascript-typescript-langserver
Implementation of the Language Server Protocol for JavaScript and TypeScript
javascript-typescript-langserver-fast
Implementation of the Language Server Protocol for JavaScript and TypeScript
elastic-javascript-typescript-langserver
Implementation of the Language Server Protocol for JavaScript and TypeScript
JavaScript and TypeScript code intelligence through the Language Server Protocol
npm install javascript-typescript-langserver
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (99.2%)
JavaScript (0.8%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
793 Stars
811 Commits
73 Forks
77 Watchers
83 Branches
195 Contributors
Updated on Dec 28, 2024
Latest Version
2.11.3
Package Id
javascript-typescript-langserver@2.11.3
Unpacked Size
734.76 kB
Size
123.21 kB
File Count
98
NPM Version
6.0.0
Node Version
8.15.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
19
28
This is a language server for JavaScript and TypeScript that adheres to the Language Server Protocol (LSP). It uses TypeScript's LanguageService to perform source code analysis.
1# install dependencies 2npm install 3 4# compile 5npm run build 6# or compile on file changes 7npm run watch 8 9# run over STDIO 10node lib/language-server-stdio 11# or run over TCP 12node lib/language-server 13 14# run tests 15npm test
Usage: language-server [options]
Options:
-h, --help output usage information
-V, --version output the version number
-s, --strict enabled strict mode
-p, --port [port] specifies LSP port to use (2089)
-c, --cluster [num] number of concurrent cluster workers (defaults to number of CPUs, 8)
-t, --trace print all requests and responses
-l, --logfile [file] log to this file
-j, --enable-jaeger enable OpenTracing through Jaeger
This language server implements some LSP extensions, prefixed with an x
.
exit
notification will not kill the process, but close the TCP socketThis project follows semver for command line arguments and standard LSP methods. Any change to command line arguments, Node version or protocol breaking changes will result in a major version increase.
The language server is fully traced through OpenTracing, which allows to debug what exact operations caused method calls to take long.
You can pass a span context through an optional meta
field on the JSON RPC message object.
For local development, there is built-in support for the open source OpenTracing implementation Jaeger, which can be set up to run on localhost with just one command (you need Docker installed):
docker run -d -p5775:5775/udp -p6831:6831/udp -p6832:6832/udp \
-p5778:5778 -p16686:16686 -p14268:14268 jaegertracing/all-in-one:latest
After that, run the language server with the --enable-jaeger
command line flag and do some requests from your client.
Open http://localhost:16686 in your browser and you will see method calls broken down into spans.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 1/2 approved changesets -- score normalized to 5
Reason
project is archived
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
60 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More