1.0.2 • Published 4 years ago

ps-demo v1.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

cops

Getting Started

  • Install Package
      $ npm install ps-demo
  • Example
      const cops = require('ps-demo');
      
      const servers = [
        { url: "http://doesNotExist.boldtech.co",priority: 1},
        { url: "http://boldtech.co", priority: 7},
        { url: "http://offline.boldtech.co", priority: 2},
        { url: "http://google.com", priority: 4}
      ];
      
      cops.findServer(servers)
        .then(console.log)
        .catch(console.log)

Run Unit Test

  $ git clone https://github.com/workrahul22/cops.git
  $ cd cops
  $ npm install
  $ npm run test

Npm Registry Link

https://www.npmjs.com/package/ps-demo

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago