variety-plugins-searcher

0.0.5 • Public • Published

Variety plugins searcher

Build Status Dependencies Status DevDependencies Status

Discover all the available Variety plugins in the npmjs.com registry. Plugin can be discovered only if contains variety-plugin value in keywords field of package.json.

For example:

  "keywords": [
    "variety-plugin",
    "mongodb",
    "csv"
  ]

Usage

All the methods are returning Q Promises, to allow simple async and errors handling.

Get All

List all the available plugins:

var plugins = require('variety-plugins-searcher')
plugins.all()
  .then(function(data){
    console.log(data);
  })
  .fail(function(err){
    console.error(err);
  })
  .done();

Get Details

Get details of plugin variety-plugin-csv.

var plugins = require('variety-plugins-searcher')
plugins.getDetails('csv')
.then(function(data){
  console.log(data);
})
.fail(function(err){
  console.error(err);
})
.done();

Readme

Keywords

none

Package Sidebar

Install

npm i variety-plugins-searcher

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

11.2 kB

Total Files

9

Last publish

Collaborators

  • jcro
  • tdvorak