All Projects → cnpm → Cnpmjs.org

cnpm / Cnpmjs.org

Licence: other
Private npm registry and web for Enterprise

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to Cnpmjs.org

Verdaccio
📦🔐 A lightweight Node.js private proxy registry
Stars: ✭ 12,667 (+258.23%)
Mutual labels:  registry, npm, npm-registry
Ndm
💻 npm desktop manager https://720kb.github.io/ndm
Stars: ✭ 1,904 (-46.15%)
Mutual labels:  npm, npmjs
Codebox Npm
Serverless private npm registry using https://serverless.com/
Stars: ✭ 340 (-90.38%)
Mutual labels:  registry, npm
Npm Api
Node.js library for getting info from NPM’s API
Stars: ✭ 67 (-98.11%)
Mutual labels:  registry, npm
Wasm Pack
This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build rust-generated WebAssembly packages that you could publish to the npm registry, or otherwise use alongside any javascript packages in workflows that you already use, such as webpack.
Stars: ✭ 3,848 (+8.82%)
Mutual labels:  registry, npm
Enseada
A Cloud native multi-package registry
Stars: ✭ 80 (-97.74%)
Mutual labels:  registry, npm
Verdaccio Ldap
LDAP auth plugin for verdaccio
Stars: ✭ 39 (-98.9%)
Mutual labels:  registry, npm
Npm
🚢 semantic-release plugin to publish a npm package
Stars: ✭ 103 (-97.09%)
Mutual labels:  registry, npm
Verdaccio Gitlab
private npm registry (Verdaccio) using gitlab-ce as authentication and authorization provider
Stars: ✭ 142 (-95.98%)
Mutual labels:  registry, npm
Registry
npm registry documentation
Stars: ✭ 202 (-94.29%)
Mutual labels:  registry, npm
Open Registry
Community Owned JavaScript Registry
Stars: ✭ 259 (-92.68%)
Mutual labels:  registry, npm
Confused
Tool to check for dependency confusion vulnerabilities in multiple package management systems
Stars: ✭ 314 (-91.12%)
Mutual labels:  npm
Windows Build Tools
📦 Install C++ Build Tools for Windows using npm
Stars: ✭ 3,280 (-7.24%)
Mutual labels:  npm
Iot 433mhz
🌐 IoT System to control 433 MHz RC power sockets, PIR, Door Sensors and much more.
Stars: ✭ 301 (-91.49%)
Mutual labels:  npm
Lookforward
A small library that helps you to create smooth transitions between pages with the easiest way
Stars: ✭ 298 (-91.57%)
Mutual labels:  npm
Wu10man
Enable/Disable Windows 10 Automatic Updates
Stars: ✭ 316 (-91.06%)
Mutual labels:  registry
Saturday Night Works
Takip ettiğim kaynaklardaki örneklere ait çalışmalar yer alır.
Stars: ✭ 312 (-91.18%)
Mutual labels:  npm
Nest.land
🦕 The nest.land website
Stars: ✭ 294 (-91.69%)
Mutual labels:  registry
React Cookie Consent
A small, simple and customizable cookie consent bar for use in React applications.
Stars: ✭ 293 (-91.71%)
Mutual labels:  npm
Arcgis Js Api
Minified version of the ArcGIS API for JavaScript
Stars: ✭ 290 (-91.8%)
Mutual labels:  npm

cnpmjs.org

npm version Node.js CI Test coverage Known Vulnerabilities npm download

logo

Description

Private npm registry and web for Enterprise, base on koa, MySQL and Simple Store Service.

Our goal is to provide a low cost maintenance, easy to use, and easy to scale solution for private npm.

What can you do with cnpmjs.org?

Features

  • Support "scoped" packages: npm/npm#5239
  • Support CORS
  • Simple to deploy: only need mysql and a simple store system.
  • Low cost and easy maintenance: package.json info can store in MySQL, MariaDB, SQLite or PostgreSQL. tarball(tgz file) can store in Amazon S3 or other object storage service.
  • Automatic synchronization: automatically sync from any registry specified. support two sync modes:
    • Sync all modules from upstream
    • Only sync the modules after first access.
  • Manual synchronization: automatic synchronization may has little delay. you can sync manually on web page.
  • Customized client: we provide a client cnpm to extend npm with more features(sync command, gzip support). And it is easy to wrap for your own registry which build with cnpmjs.org.
  • Compatible with npm client: you can use the official npm client with cnpmjs.org. you only need to change the registry in client config.
  • Support http_proxy: if you're behind a firewall, you can provide a http proxy for cnpmjs.org.

Docs

Develop on your local machine

Dependencies

  • node >= 8.0.0
  • Databases: only required one type

Clone code and run test

# clone from git
$ git clone https://github.com/cnpm/cnpmjs.org.git

# install dependencies
$ make install

# test
$ make test

# coverage
$ make test-cov

# update dependencies
$ make autod

# start server with development mode
$ make dev

Dockerized cnpmjs.org Installation Guide

Cnpmjs.org shipped with a simple but pragmatic Docker Compose configuration.With the configuration, you can set up a MySQL backend cnpmjs.org instance by executing just one command on Docker installed environment.

Preparation

Dockerized cnpmjs.org control command

Make sure your current working directory is the root of this GitHub repository.

Run dockerized cnpmjs.org
 $docker-compose up

This command will build a Docker image using the current code of repository. Then set up a dockerized MySQL instance with data initialized. After Docker container running, you can access your cnpmjs.org web portal at http://127.0.0.1:7002 and npm register at http://127.0.0.1:7001.

Run cnpmjs.org in the backend

$docker-compose up -d

Rebuild cnpmjs.org Docker image

$docker-compose build

Remove current dockerized cnpmjs.org instance

The current configuration set 2 named Docker Volume for your persistent data. If you haven't change the repository directory name, them will be "cnpmjsorg_cnpm-files-volume" & "cnpmjsorg_cnpm-db-volume".

Be Careful, the following commands will remove them.

$docker-compose rm
$docker volume rm cnpmjsorg_cnpm-files-volume
$docker volume rm cnpmjsorg_cnpm-db-volume

You can get more information about your data volumes using the below commands:

$docker volume ls  // list all of your Docker volume
$docker volume inspect cnpmjsorg_cnpm-files-volume
$docker volume inspect cnpmjsorg_cnpm-db-volume

How to contribute

  • 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.

Sponsors

  • 阿里云 阿里云云效 (2016.2 - now)

License

MIT

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].