UNPKG

verb-repo-data

Version:

Verb plugin that adds repository and package.json data to the context for rendering templates.

84 lines (54 loc) 4.07 kB
# verb-repo-data [![NPM version](https://img.shields.io/npm/v/verb-repo-data.svg?style=flat)](https://www.npmjs.com/package/verb-repo-data) [![NPM monthly downloads](https://img.shields.io/npm/dm/verb-repo-data.svg?style=flat)](https://npmjs.org/package/verb-repo-data) [![NPM total downloads](https://img.shields.io/npm/dt/verb-repo-data.svg?style=flat)](https://npmjs.org/package/verb-repo-data) [![Linux Build Status](https://img.shields.io/travis/verbose/verb-repo-data.svg?style=flat&label=Travis)](https://travis-ci.org/verbose/verb-repo-data) > Verb plugin that adds repository and package.json data to the context for rendering templates. <details> <summary><strong>Table of Contents</strong></summary> - [Install](#install) - [Usage](#usage) - [About](#about) </details> ## Install Install with [npm](https://www.npmjs.com/): ```sh $ npm install --save verb-repo-data ``` ## Usage Use as a plugin in your [verb](https://github.com/verbose/verb) generator. ```js module.exports = function(app) { app.use(require('verb-repo-data')); }; ``` Visit [verb](https://github.com/verbose/verb) for more details and API documentation. ## About ### Related projects * [assemble](https://www.npmjs.com/package/assemble): Get the rocks out of your socks! Assemble makes you fast at creating web projects… [more](https://github.com/assemble/assemble) | [homepage](https://github.com/assemble/assemble "Get the rocks out of your socks! Assemble makes you fast at creating web projects. Assemble is used by thousands of projects for rapid prototyping, creating themes, scaffolds, boilerplates, e-books, UI components, API documentation, blogs, building websit") * [generate](https://www.npmjs.com/package/generate): Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the… [more](https://github.com/generate/generate) | [homepage](https://github.com/generate/generate "Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.") * [verb-readme-generator](https://www.npmjs.com/package/verb-readme-generator): Generate your project's readme with verb. Requires verb v0.9.0 or higher. | [homepage](https://github.com/verbose/verb-readme-generator "Generate your project's readme with verb. Requires verb v0.9.0 or higher.") * [verb](https://www.npmjs.com/package/verb): Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… [more](https://github.com/verbose/verb) | [homepage](https://github.com/verbose/verb "Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used on hundreds of projects of all sizes to generate everything from API docs to readmes.") ### Contributing Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). ### Contributors | **Commits** | **Contributor** | | --- | --- | | 44 | [jonschlinkert](https://github.com/jonschlinkert) | | 5 | [doowb](https://github.com/doowb) | ### Building docs _(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ To generate the readme, run the following command: ```sh $ npm install -g verbose/verb#dev verb-generate-readme && verb ``` ### Running tests Install dev dependencies: ```sh $ npm install && npm test ``` ### Author **Jon Schlinkert** * [github/jonschlinkert](https://github.com/jonschlinkert) * [twitter/jonschlinkert](https://twitter.com/jonschlinkert) ### License Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert). Released under the [MIT license](LICENSE). *** _This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.1, on January 27, 2017._