javascript-ctags
Version:
A command line tool for generating an extended ctags file for Javascript.
32 lines (17 loc) • 737 B
Markdown
# javascript-ctags
A command line tool for generating extended ctags files for Javascript.
Currently it indexes all functions, both public and private.
[](http://travis-ci.org/andersjanmyr/sleep-sort)
## Installation
$ npm install -g javascript-ctags
## Usage
$ bin/javascript-ctags -?
javascript-ctags [-?] [-t tagfile] [fileglob]
--help, -h, -? show this
--tagfile, -t The generated tagfile (default tags)
fileglob A glob pattern (supports **/*.js), (default *.js)
fileglob defaults to: `*.js`, a common pattern is `lib/**/*.js`
## TODO
* Add properties to index?
* Handle Node exports
* Handle other export formats.