1.0.4 • Published 8 years ago

check-npm-registry v1.0.4

Weekly downloads
11
License
ISC
Repository
-
Last release
8 years ago

This is a package which can check the fastest npm registry.

install

npm i check-npm-registry -S

Usage

The default registry list is: http://registry.npm.taobao.org, http://registry.npmjs.org.

import checkRegistry from 'check-npm-registry';

checkRegistry()
  .then(registry => console.log(registry));


// param: stirng or array

checkRegistry('your_registry_url')

checkRegistry([your_registry_url_array])

Test

npm run test