Returns an array of names from a module. Includes all enumerable properties with function values, own and inherited.
Based on the _.functions
method from Lo-Dash.
npm
Install withnpm i method-names --save
Usage
var methods = ; ;//=> ['set', 'get', 'extend', 'create', 'render', ...]
Related
- list-methods: 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.
Running tests
Install dev dependencies.
npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb-cli on March 21, 2015.