Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@typescript/server-harness

Package Overview
Dependencies
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript/server-harness

Communicate with a tsserver process

  • 0.3.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

@typescript/server-harness

Tool for communicationg with a TypeScript tsserver process (i.e. a node process running the JS/TS language service). Pairs responses with requests and provides hooks for listening to events. Chiefly useful for reproducibly running editor scenarios for standalone investigation.

Usage

See samples/index.js for an example of how to use the harness. It can be run with npm ci && node index.

The easiest way to figure out what the requests should contain is to look at the server log from a real editor session. In VS Code, you can access the server log by running the command TypeScript: Open TS Server Log.

Deployment

To publish a new version of this package, change the version in package.json and push to main.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Keywords

FAQs

Package last updated on 13 Jan 2023

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