tape-init
Add tape to your project
Installation
Install tape-init
using npm:
npm install --save tape-init
Usage
Module usage
var tapeInit = ; ;
CLI usage
$> tape_init --help Usage: bin/tape_init [options] Options: --promise Add blue-tape instead of tape [boolean] --pattern Glob pattern
API
tapeInit([options], [cb])
Name | Type | Description |
---|---|---|
options | Object |
Options |
cb | Function |
Callback |
options.cwd
Type: string
Default: process.cwd()
Current working directory.
options.promise
Type: boolean
Default: false
Will add blue-tape
to your project if set.
options.pattern
Type: string
Default: 'test/**/*.js'
Glob pattern to locate test files, when running tests with npm test
.
License
MIT