Nomad Packaging Mechanism
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    npm-registry-packagespublic

    npm-registry-packages

    Fetch the packages names on an npm registry.

    Installation

    Install this package from npm:

    npm install --save npm-registry-packages

    Usage

    var getPkgs = require('npm-registry-packages');
     
    getPkgs('http://registry.npmjs.internal/', function(err, pkgs) {
      if (err) {
        console.error(err.message);
        return;
      }
     
      console.log(pkgs);
    });

    The URL provided must point at the _rewrite design document, either via CouchDB’s vhost configuration or via the full path. Examples include:

    The callback function receives an error and an array of package names.

    Keywords

    install

    npm i npm-registry-packages

    Downloadsweekly downloads

    8

    version

    1.1.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar