JavaScript Toolchain

Installation

This toolchain is not a standalone program; it provides additional functionality to editor plugins and other applications that use srclib.

Browse the code at srclib-javascript and file issues on GitHub.

First, install the srclib program (see srclib installation instructions).

Then run:

git clone https://github.com/sourcegraph/srclib-javascript.git
cd srclib-javascript
srclib toolchain add sourcegraph.com/sourcegraph/srclib-javascript

To verify that installation succeeded, run:

srclib toolchain list

You should see this srclib-javascript toolchain in the list.

Now that this toolchain is installed, any program that relies on srclib (such as editor plugins) will support JavaScript.