🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

lsif-npm

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lsif-npm

A tools to rewrite Typescript LSIF monikers into npm monikers

0.5.3
latest
Source
npm
Version published
Weekly downloads
85
2025%
Maintainers
1
Weekly downloads
 
Created
Source

lsif-npm

Languag Server Index Format tool for npm

Requirements

  • Node.js at least 10.x.x

About

This tool supports rewriting monikers from the tsc scheme to the npm scheme.

See also the Language Server Index Format Specification

How to Run the Tool

The easiest way to run the tool is to install the latest version (which are pre-release version starting with 0.x right now). For example npm install -g lsif-npm. Then create a LSIF dump for TypeScript using lsif-tsc and store it to a file using --out option. Something like lsif-tsc -p .\tsconfig.json --out dump.lsif. To make the monikers npm specific use the created dump as an input to the lsif-npm tool. Something like lisf-npm --in .\dump.lsif --package .\package.json --stdout which print the dump with both tsc and npm monikers to stdout. Also of interest could be the overall readme

FAQs

Package last updated on 17 Feb 2021

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