Private npm registry and web for Enterprise, base on MySQL and Simple Store Service
Our goal is to provide a low cost maintenance and easy to use solution for private npm.
- Build a private npm for your own enterprise. (alibaba is using
- Build a mirror NPM. (we use it to build a mirror in China: cnpmjs.org)
- Build a completely independent NPM registry to store whatever you like.
- Support "scoped" packages: npm/npm#5239
- Support CORS
- Simple to deploy: only need
mysqland a simple store system. You can get the source code through
- Low cost and easy maintenance:
package.jsoninfo store in MySQL, MariaDB, SQLite or PostgreSQL databases, tarball(tgz file) store in CDN or other store systems.
- Automatic synchronization: automatic synchronization from any registry specified, support two sync modes:
- Sync all modules from a specified registry, like npm registry.
- Only sync the modules that exists in your own registry.
- Manual synchronization: automatic synchronization may has little delay, but you can syn immediately by manually.
- Customized client: we provide a client cnpm
npmwith more features(
synccommand, gzip support). And it easy to wrap for your own registry which build with
- Compatible with NPM client: you can use the origin NPM client with
cnpmjs.org, only need to change the registry in config. Even include manual synchronization (through
- Version badge: base on shields.io
- Deploy a private npm registry in 5 minutes
- @dead-horse: What is cnpm?
- install and deploy cnpmjs.org through npm: examples
- Mirror NPM in China: cnpmjs.org
- cnpm client: cnpm,
npm install -g cnpm
- How to deploy cnpmjs.org
- node >=0.11.12, use
- Databases: only required one type
# clone from git$ git clone# install dependencies$ make install# test$ make test# coverage$ make test-cov# udpate dependencies$ make autod# start server with development mode$ make dev
- Clone the project
- Checkout a new branch
- Add new features or fix bugs in the new branch
- Make a pull request and we will review it ASAP
Tips: make sure your code is following the node-style-guide.