{"_id":"list-methods","_rev":"90999","name":"list-methods","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","dist-tags":{"latest":"0.3.3"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:29:56.000Z","created":"2014-01-30T20:02:11.144Z","0.3.3":"2014-07-12T15:48:07.926Z","0.3.2":"2014-06-15T07:04:46.533Z","0.3.1":"2014-04-20T10:49:50.719Z","0.3.0":"2014-03-25T08:08:20.460Z","0.2.7":"2014-03-25T06:54:21.840Z","0.2.6":"2014-03-14T12:41:54.208Z","0.2.5":"2014-03-12T22:32:02.545Z","0.2.4":"2014-02-09T10:47:44.896Z","0.2.3":"2014-02-09T10:44:05.400Z","0.2.2":"2014-02-09T10:42:01.864Z","0.2.1":"2014-02-09T08:33:51.108Z","0.2.0":"2014-02-09T08:21:43.535Z","0.1.0":"2014-01-30T20:02:11.144Z"},"users":{"jonschlinkert":true,"rummand":true},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"versions":{"0.3.3":{"name":"list-methods","version":"0.3.3","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"license":"MIT","main":"index.js","engines":{"node":">= 0.8.0"},"preferGlobal":true,"bin":{"methods":"./bin/methods"},"dependencies":{"fs-utils":"~0.4.0","method-names":"^0.1.1","minimist":"0.0.8","relative":"~0.1.4","template":"~0.1.6","verbalize":"~0.1.2","xtend":"^3.0.0"},"devDependencies":{"verb":"^0.2.13","verb-tag-jscomments":"^0.1.2","verb-tag-methods":"^0.1.2"},"keywords":["fn","functions","lodash","method","methods","enumerable","property","inherited","own","objects","object","name","names","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.3.3","_shasum":"22dc626646fe3bb11fc363600337eff1404221eb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"22dc626646fe3bb11fc363600337eff1404221eb","size":56380,"noattachment":false,"key":"/list-methods/-/list-methods-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.3.3.tgz"},"directories":{},"publish_time":1405180087926,"_cnpm_publish_time":1405180087926,"_hasShrinkwrap":false},"0.3.2":{"name":"list-methods","version":"0.3.2","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"preferGlobal":true,"bin":{"methods":"./bin/methods"},"dependencies":{"fs-utils":"~0.4.0","lodash":"~2.4.1","minimist":"0.0.8","relative":"~0.1.4","template":"~0.1.6","verbalize":"~0.1.2"},"keywords":["lodash","methods","functions","properties"],"devDependencies":{"verb":"^0.2.13","verb-tag-jscomments":"^0.1.2","verb-tag-methods":"^0.1.2"},"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.3.2","_shasum":"4ff673e78ed3943164ba8bbc07769d31054eb71b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4ff673e78ed3943164ba8bbc07769d31054eb71b","size":56421,"noattachment":false,"key":"/list-methods/-/list-methods-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.3.2.tgz"},"directories":{},"publish_time":1402815886533,"_cnpm_publish_time":1402815886533,"_hasShrinkwrap":false},"0.3.1":{"name":"list-methods","version":"0.3.1","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"preferGlobal":true,"bin":{"methods":"./bin/methods"},"dependencies":{"fs-utils":"~0.4.0","lodash":"~2.4.1","minimist":"0.0.8","relative":"~0.1.4","template":"~0.1.6","verbalize":"~0.1.2"},"keywords":["lodash","methods","functions","properties"],"devDependencies":{"verb":"~0.1.20"},"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.3.1","dist":{"shasum":"ad26b4fe37ee52fb7ade38ba663d5a6467ac30a3","size":55662,"noattachment":false,"key":"/list-methods/-/list-methods-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.3.1.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1397990990719,"_cnpm_publish_time":1397990990719,"_hasShrinkwrap":false},"0.3.0":{"name":"list-methods","version":"0.3.0","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"preferGlobal":true,"bin":{"methods":"./bin/methods"},"dependencies":{"fs-utils":"~0.3.6","lodash":"~2.4.1","minimist":"0.0.8","relative":"~0.1.2","template":"~0.1.5","verbalize":"0.0.2"},"keywords":["lodash","methods","functions","properties"],"devDependencies":{"verb":"~0.1.20"},"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.3.0","dist":{"shasum":"c7aeffe0b4dba282f0167c2e97fe6381e53629f9","size":55663,"noattachment":false,"key":"/list-methods/-/list-methods-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1395734900460,"_hasShrinkwrap":false,"_cnpm_publish_time":1395734900460},"0.2.7":{"name":"list-methods","version":"0.2.7","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"preferGlobal":true,"bin":{"methods":"./bin/methods"},"dependencies":{"fs-utils":"~0.3.6","lodash":"~2.4.1","minimist":"0.0.8","relative":"~0.1.2","template":"~0.1.5","verbalize":"0.0.2"},"keywords":["lodash","methods","functions","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.2.7","dist":{"shasum":"1d6dcb06b17a42d19db74624ba9d64cd209cf4e2","size":53948,"noattachment":false,"key":"/list-methods/-/list-methods-0.2.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.2.7.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1395730461840,"_hasShrinkwrap":false,"_cnpm_publish_time":1395730461840},"0.2.6":{"name":"list-methods","version":"0.2.6","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"preferGlobal":true,"bin":{"methods":"./bin/methods"},"dependencies":{"chalk":"~0.4.0","fs-utils":"~0.3.6","globule":"~0.2.0","lodash":"~2.4.1","prompt":"~0.2.12","template":"~0.1.5"},"keywords":["lodash","methods","functions","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.2.6","dist":{"shasum":"95d5f3906fde2bf3fafe9f9149f31656361ac8ba","size":53555,"noattachment":false,"key":"/list-methods/-/list-methods-0.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.2.6.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1394800914208,"_hasShrinkwrap":false,"_cnpm_publish_time":1394800914208},"0.2.5":{"name":"list-methods","version":"0.2.5","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"preferGlobal":true,"bin":{"methods":"./bin/methods"},"dependencies":{"chalk":"~0.4.0","fs-utils":"~0.3.6","globule":"~0.2.0","lodash":"~2.4.1","prompt":"~0.2.12","template":"~0.1.5"},"keywords":["lodash","methods","functions","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.2.5","dist":{"shasum":"1a1ec5cd52f39f417541eec4336ecbb65ac05314","size":53556,"noattachment":false,"key":"/list-methods/-/list-methods-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.2.5.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1394663522545,"_hasShrinkwrap":false,"_cnpm_publish_time":1394663522545},"0.2.4":{"name":"list-methods","version":"0.2.4","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"bin":{"methods":"./bin/methods"},"dependencies":{"chalk":"~0.4.0","fs-utils":"~0.3.6","globule":"~0.2.0","lodash":"~2.4.1","prompt":"~0.2.12","template":"~0.1.5"},"keywords":["lodash","methods","functions","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.2.4","dist":{"shasum":"8198da51d46d961a9fb8c93e4cc2c96230fa8f0d","size":53518,"noattachment":false,"key":"/list-methods/-/list-methods-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.2.4.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1391942864896,"_hasShrinkwrap":false,"_cnpm_publish_time":1391942864896},"0.2.3":{"name":"list-methods","version":"0.2.3","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"bin":{"methods":"./bin/methods"},"dependencies":{"chalk":"~0.4.0","fs-utils":"~0.3.6","globule":"~0.2.0","lodash":"~2.4.1","prompt":"~0.2.12","template":"~0.1.5"},"keywords":["lodash","methods","functions","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.2.3","dist":{"shasum":"7e0b00e11b1f9c2974a89ec4c38448042eb2ea6b","size":53511,"noattachment":false,"key":"/list-methods/-/list-methods-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.2.3.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1391942645400,"_hasShrinkwrap":false,"_cnpm_publish_time":1391942645400},"0.2.2":{"name":"list-methods","version":"0.2.2","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"bin":{"methods":"./bin/methods"},"dependencies":{"chalk":"~0.4.0","fs-utils":"~0.3.6","globule":"~0.2.0","lodash":"~2.4.1","prompt":"~0.2.12","template":"~0.1.5"},"keywords":["lodash","methods","functions","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.2.2","dist":{"shasum":"3182eaa13f8d60156e04d23a907c7fb73a739f8d","size":53507,"noattachment":false,"key":"/list-methods/-/list-methods-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.2.2.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1391942521864,"_hasShrinkwrap":false,"_cnpm_publish_time":1391942521864},"0.2.1":{"name":"list-methods","version":"0.2.1","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"bin":{"methods":"./bin/methods"},"dependencies":{"chalk":"~0.4.0","fs-utils":"~0.3.6","globule":"~0.2.0","lodash":"~2.4.1","prompt":"~0.2.12","template":"~0.1.5"},"keywords":["lodash","methods","functions","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.2.1","dist":{"shasum":"424cbfc329c6be9249733ff6e2d1f05077c32b63","size":53506,"noattachment":false,"key":"/list-methods/-/list-methods-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.2.1.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1391934831108,"_hasShrinkwrap":false,"_cnpm_publish_time":1391934831108},"0.2.0":{"name":"list-methods","version":"0.2.0","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"bin":{"methods":"./bin/methods"},"dependencies":{"chalk":"~0.4.0","fs-utils":"~0.3.6","globule":"~0.2.0","lodash":"~2.4.1","prompt":"~0.2.12","template":"~0.1.5"},"keywords":["lodash","methods","functions","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.2.0","dist":{"shasum":"fcb3046aff4a6e121099a8417b36f31343745543","size":50564,"noattachment":false,"key":"/list-methods/-/list-methods-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1391934103535,"_hasShrinkwrap":false,"_cnpm_publish_time":1391934103535},"0.1.0":{"name":"list-methods","version":"0.1.0","description":"Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.","repository":{"type":"git","url":"https://github.com/jonschlinkert/list-methods.git"},"bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/list-methods/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">= 0.8.0"},"bin":{"functions":"./bin/functions"},"dependencies":{"lodash":"~2.4.1","chalk":"~0.4.0","fs-utils":"~0.1.11","prompt":"~0.2.12"},"keywords":["lodash","methods","functions","properties"],"homepage":"https://github.com/jonschlinkert/list-methods","_id":"list-methods@0.1.0","dist":{"shasum":"42e553a5698e93800315295aa9e15b5fb1970b78","size":3701,"noattachment":false,"key":"/list-methods/-/list-methods-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/list-methods/download/list-methods-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1391112131144,"_hasShrinkwrap":false,"_cnpm_publish_time":1391112131144}},"readme":"# list-methods [![NPM version](https://badge.fury.io/js/list-methods.png)](http://badge.fury.io/js/list-methods)\n\n> Easily generate a JSON or markdown list (sorted array) of property names of all enumerable properties, own and inherited, of objects that have function values.\n\n<!-- toc -->\n* [Quickstart](#quickstart)\n* [API](#api)\n  * [methods](#methods)\n  * [.writeFile](#writefile)\n  * [.writeDataFile](#writedatafile)\n  * [Example output](#example-output)\n* [CLI](#cli)\n* [Author](#author)\n* [License](#license)\n\n<!-- toc stop -->\n## Quickstart\nInstall globally with [npm](npmjs.org):\n\n```bash\nnpm i -g list-methods\n```\n\n## API\n### methods\n\n* `src` {String}: The file to read. \n* `return` {Object} Returns an object with the source file `name` and the array of `methods`. \n\n\n### .writeFile\n\nAs a way of kickstarting documentation, this writes the list of methods\nto a text file. Lodash templates are used to generate the file, so the\noutput is completely customizable.\n\n**Example**:\n\n```js\nmethods.writeFile('api.md', 'index.js');\n// generates a file, \"api.md\", using a template in lib/templates.js\n```\n\n**Params:**\n\n* `dest` {String}:  \n* `src` {String}:  \n* `options` {String}:  \n* `return` {String} \n\n\n### .writeDataFile\n\nGenerate a JSON or YAML file from the list of methods. Automatically detects the\nformat to use based on the given file extension.\n\n**Examples**:\n\n```js\nmethods.writeDataFile('api.yml', 'index.js');\n// generates a YAML file, \"api.yml\" using a template in lib/templates.js\n\nmethods.writeDataFile('api.json', 'index.js');\n// generates a JSON file, \"api.json\" using a template in lib/templates.js\n```\n\n**Params:**\n\n* `dest` {String}:  \n* `src` {String}:  \n* `return` {String}\n\n### Example output\n\n```js\n## writeDataFile\nType: `undefined`\n\nDefault: `undefined`\n\n## writeFile\nType: `undefined`\n\nDefault: `undefined`\n```\n\n## CLI\nRun the `methods` command without any arguments and a markdown file will be generated for `index.js`, or the first javascript file found in the current directory.\n\n#### args\n\nIf you want to specify the source file to read, or the destination to write to, you can use this format:\n\n```bash\nmethods [src] [dest]\n```\n\nOr:\n\n* `-s` | `--src`: reads the specified source file\n* `-d` | `--dest`: the destination path and file to write. note that _extension is significant_\n\nDest extension:\n\n* `.yml`: generates a YAML file\n* `.md`: generates a markdown file\n\n#### template\n\nMethods uses Lo-Dash templates, so they're super fast and easy to extend. There are a couple of ways you can specify the template to use.\n\nEither as a third argument:\n\n```bash\nmethods [src] [dest] [template]\n```\n\nOr with `-t` or `--template`:\n\n```bash\nmethods -t docs\n```\n\n##### built-in templates\n\nThere are three built-in templates:\n\n* `list`: generates a simple, bullet list of methods\n* `docs`: generates a formatted markdown file, giving each method its own section with starter content for `type` and `default`, etc.\n* `yaml`: similar to docs, but outputs YAML. this is useful if you want to update and extend this file with other tools, like [Verb](https://github.com/assemble/verb) or [Assemble](https://github.com/assemble/assemble)\n\n##### custom templates\n\nThe only context passed to the templates is the array of properties generated. Example:\n\n```js\nmodule.exports = [\n  '# <%= data.name %> properties\\n\\n',\n  '<% _.forEach(data, function(fn) { %>',\n  '* <%- fn %>\\n',\n  '<% }); %>'\n].join('');\n```\n\nYou can either specify the filepath to the custom template, or the name of a npm module that is installed locally, and methods will try to use it:\n\n```bash\nmethods -t my-template\n```\n\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n\n## License\nCopyright (c) 2014 [Jon Schlinkert](http://twitter.com/jonschlinkert)\nReleased under the [MIT license](./LICENSE-MIT)\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 12, 2014._\n","_attachments":{},"homepage":"https://github.com/jonschlinkert/list-methods","bugs":{"url":"https://github.com/jonschlinkert/list-methods/issues"},"license":"MIT"}