Installation
jstr
is available through its npm package, which can be downloaded either globally (then available to call from anywhere, like any other command from your terminal) or as a dependency in your Node project:
Globally
This will make the command available from anywhere in your CLI:
Dependency
To install jstr
for a single project/package as a dependency, just use:
Skip the -D
flag if you plan to use jstr
's Node.js API in production.
This will make the tool available only to that specific Node project, particularly useful if you want to specify jstr
's version and/or just not have it installed for your entire machine.
Bun
jstr
is also exposed using Bun as a runtime, you can check it out with:
Last updated