variety-plugins-searcher
v0.0.1Variety plugins searcher
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();
npm i [email protected]
Metadata
- BSD-2-Clause
- Whatever
- Unknown
- released 5/7/2015