readme-gen
Version:
README generator for node.js.
84 lines (56 loc) • 1.25 kB
Markdown
> README generator for node.js.
```sh
$ npm install --global readme-gen
```
After `npm init`, run `readme-gen` or `rdm`.
For example, in the case of a package.json such as the following, output is like this.
package.json
```json
{
"name": "sample-app",
"version": "0.0.1",
"description": "sample, sample, sample",
"author": "akameco",
"license": "MIT"
}
```
README.md
```md
> sample, sample, sample
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
MIT
```
If you want to use custom templete, put the `.readme-genrc` in the home directory.
.readme-genrc
```ejs
> <%= description %>
<%= license %> © <%= author %>
```
```
$ npm test
```
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
MIT