Skip to content

parro-it/canibekikked-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

canibekikked-api

API for canibekikked.

Travis Build Status NPM module NPM downloads

Installation

npm install --save canibekikked-api

Usage

  import canibekikked from 'canibekikked-api';
  const results = canibekikked();

  results.on('package-checking', ({ name }) => {
    // name => name of one package that is being checked
  });

  results.on('package-checked', res => {
    // res => results object of package check if failed, or false
    // is package is not registered
  });

  results.on('end', (passed, failed) => {
    // passed => number of packages not trademarked
    // failed => array of details for trademarked packages
  });

  const checked = results.start();
  // checked => promise resolved on check end

License

The MIT License (MIT)

Copyright (c) 2016 parro-it

About

API module of canibekikked

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors