Linkify all dependencies found in an JSON file.
The following JSON schemes are supported:
In the JSON file it will search for the following dependency keys:
dependenciesdevDependenciespeerDependenciesbundleDependenciesbundledDependenciesoptionalDependencies
Greasemonkey on
Mozilla Firefox desktop.
Please notify when this userscript is successfully tested in another browser...
- 0.2.0
- Module name preceding a colon is never a key;
- Added support for npm-shrinkwrap.json;
- Fetching module names is now recursive;
- 0.1.0
- Initial version;
- https://github.com/jerone/PackageSize/blob/master/package.json (multiple package.json dependencies);
- https://github.com/npm/npm/blob/master/test/disabled/bundlerecurs/package.json
- https://github.com/npm/npm/blob/master/test/tap/dev-dep-duplicate/package.json (duplicate packages);
- https://github.com/npm/npm/blob/master/test/packages/npm-test-optional-deps/package.json (optionalDependencies & different semver);
- https://github.com/npm/npm/blob/master/test/packages/npm-test-bundled-git/package.json (git semver & bundledDependencies);
- https://github.com/npm/npm/blob/master/test/packages/npm-test-shrinkwrap/npm-shrinkwrap.json (npm-shrinkwrap.json);
- https://github.com/npm/npm/blob/master/test/packages/npm-test-url-dep/package.json (url semver);
- https://github.com/npm/npm/blob/master/test/tap/install-from-local/package-with-scoped-paths/package.json (scoped paths);
- https://github.com/aspnet/MusicStore/blob/master/src/MusicStore.Spa/project.json (ASP.NET project.json with COMMENTS);
- Part of sindresorhus module strip-json-comments is used.





Greasemonkey
Mozilla Firefox