README
apeman-need
Needs checker for apeman.
Installation
Install apeman-need module via npm.
$ npm install apeman-need -g
Usage
- Prepare an Apemanfile.js at your project root.
- Run the command via CLI.
Apemanfile.js
/** Example of Apemanfile.js */
'use strict'
module.exports = {
$cwd: __dirname,
$pkg: { /* ... */ },
$proto: [ /* ... */ ],
$aou: { /* ... */ }
}
Then,
$ apeman-need
CLI Options
$ apeman-need -h
Usage: apeman-need [options]
Check project needs.
Options:
-h, --help output usage information
-V, --version output the version number
-c, --configuration <configuration> Pathname of Apemanfile
Examples:
$ apeman-need # Check projects needs.
Programmatic API
apeman-need also provide programmatic API.
Firstly, install the module locally.
$ npm install apeman-need --save-dev
Then,
'use strict'
const apemanNeed = require('apeman-need')
apemanNeed({}).then(() => {
/* ... */
})
Programmatic Options
Key | Description | Default |
---|---|---|
configuration | Pathname of Apemanfile |
License
This software is released under the MIT License.