This extension embeds the centrality information about npm packages when you browse a package on npmjs.com.
You can install the extension from Chrome Web Store: Centrality Checker.
The extension does not connect to our servers; we store the centrality data in a GitHub repository, and the extension requests data from there.
You first need to clone the repository locally:
git clone https://github.com/centrality-checker/chrome-extension.git
Then, install the dependencies:
npm install
To build for the development environment and automatically update when you modify the source code:
npm run watch
To build for production:
npm run build
The watch
command requires installing Extensions Reloader to reload the unpacked extension automatically after source code modifications.
The build artifacts will be in ./dist
.