@akameco/generator-nm
Version:
Scaffold out a node module
84 lines (52 loc) • 2.16 kB
Markdown
# <%= repoName %>
[](https://travis-ci.com/akameco/<%= repoName %>)
[](https://github.com/facebook/jest)
[](https://github.com/prettier/prettier)
[](#contributors)
> <%= moduleDescription %>
## Install
```
$ npm install <%= moduleName %>
```
## Usage
```js
const <%= camelModuleName %> = require('<%= moduleName %>');
<%= camelModuleName %>('unicorns');
//=> 'unicorns & rainbows'
```
## API
### `<%= camelModuleName %>(input, [options])`
#### input
Type: `string`
Lorem ipsum.
#### options
##### foo
Type: `boolean`<br>
Default: `false`
Lorem ipsum.<% if (cli) { %>
## CLI
```
$ npm install --global <%= moduleName %>
```
```
$ <%= repoName %> --help
Usage
<%= repoName %> [input]
Options
--foo Lorem ipsum [Default: false]
Examples
$ <%= repoName %>
unicorns & rainbows
$ <%= repoName %> ponies
ponies & rainbows
```<% } %>
## Contributors
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
| [<img src="https://avatars2.githubusercontent.com/u/4002137?v=4" width="100px;"/><br /><sub>akameco</sub>](http://akameco.github.io)<br />[💻](https://github.com/akameco/<%= repoName %>/commits?author=akameco "Code") [📖](https://github.com/akameco/<%= repoName %>/commits?author=akameco "Documentation") [⚠️](https://github.com/akameco/<%= repoName %>/commits?author=akameco "Tests") [🚇](#infra-akameco "Infrastructure (Hosting, Build-Tools, etc)") |
| :---: |
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
## License
MIT © [akameco](http://akameco.github.io)