npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

verb-tag-methods

0.1.3

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:186
$ npm install verb-tag-methods
DailyWeeklyMonthlyYearly

verb-tag-methods NPM version

Easily generate a sorted array, JSON or markdown list, of property names of all enumerable properties, own and inherited, of objects that have function values.

Install

Install with npm:

npm i verb-tag-methods --save-dev

Usage

If you're using verb-cli, you will need to define ['verb-tag-methods'] in the tags property in the front matter of your project's .verbrc.md (or docs/README.tmpl.md). This registers the tag with verb:

---
tags: ['verb-tag-methods']
---

In your templates, you can now use the tag like this:

{%= methods("*.js") %}

Front-matter is just one way to register verb tags, filters, and plugins. See the verb documentation for more info.

Author

Jon Schlinkert

  • github/jonschlinkert
  • twitter/jonschlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on June 01, 2014.