Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 589 Bytes

.verb.md

File metadata and controls

30 lines (22 loc) · 589 Bytes

Usage

var Base = require('base');
var base = new Base({isApp: true});
var yarn = require('..');

base.use(yarn());

Examples

See the examples directory for code examples that can be run.

base.yarn.add(['isobject', 'micromatch'], function(err) {
  if (err) throw err;
  console.log('done');
});

// custom arguments
base.yarn(['why', 'find-pkg'], function(err) {
  if (err) throw err;
  console.log('done');
});

API

This plugin exposes the full API from the [yarn-api][] library. See that project for all available methods and documentation.