All tools/npm

npm

npm

The package manager for Node.js, and the client for its registry.

Detected by npm, npx | macOS, Linux, Windows |docs.npmjs.com

Sync rules

What travels, what stays, what never leaves
npm in your home directory Every rule on this page, by file
//registry.npmjs.org/:_authToken=npm_FAKE000000000000000000000000000000
//npm.pkg.github.com/:_authToken=ghp_FAKE00000000000000000000000000000000
prefix=/Users/octocat/.npm-globalmachine-local
cache=/Users/octocat/.npmmachine-local
init-author-name=Octo Cat
init-license=MIT

Each machine keeps its own copy of these.

//

Lifted into your secret store; the rest of the file syncs.

· _cacache/ Exclude
· _logs/ Exclude

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/npm. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these is generated from the same rules as this page. None of them splits prefix= and cache= for you — that part is Otty’s own sync, or a template you write by hand.