verb-generate-readme
Version:
Generate your project's readme with verb. Requires verb v0.9.0 or higher.
23 lines (16 loc) • 420 B
Markdown
## Usage
```js
var Base = require('base');
var env = require('{%= name %}');
```
**Prototype plugin**
Register as a prototype plugin if you want the `.createEnv` method to be added to all instances of `base`:
```js
Base.use(env());
```
**Instance plugin**
Register as an instance plugin if you only want the `.createEnv` method to be added to a specific instance:
```js
var base = new Base();
base.use(env());
```