lsif-npm
TypeScript icon, indicating that this package has built-in type declarations

0.5.3 • Public • Published

lsif-npm

Languag Server Index Format tool for npm

Requirements

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

/lsif-npm/

    Package Sidebar

    Install

    npm i lsif-npm

    Weekly Downloads

    48

    Version

    0.5.3

    License

    MIT

    Unpacked Size

    222 kB

    Total Files

    22

    Last publish

    Collaborators

    • dbaeumer