Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Discover all the available Variety plugins in the npmjs.com registry.

Notifications You must be signed in to change notification settings

variety/variety-plugins-searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Variety plugins searcher

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();

About

Discover all the available Variety plugins in the npmjs.com registry.

Resources

Stars

Watchers

Forks

Packages

No packages published