apeman-need
v5.0.2
Published
Needs checker for apeman.
Readme
apeman-need
Needs checker for apeman.
Installation
Install apeman-need module via npm.
$ npm install apeman-need -gUsage
- 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-needCLI 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-devThen,
'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.
