Note: I don't use and maintain this package anymore. ES support has evolved and I'm now using Unitiversal Ctags (https://ctags.io) for my development requirements.
CTags generator built/for ES6 using tern. The goal of this tool is to replicate the same CLI of the original CTags as close as possible. This should enable ESCtags usage with tools like CtrlP, TagBar and many others.
This software is derived/inspired from jsctags. The source code to convert tern ast to tags is mostly the same.
npm install -g es-ctags
Usage: es-ctags [options] <file> [others...]
Options:
-h, --help output usage information
-R, --recurse Recurse into directories
-a, --append Append the tags to an existing tag file.
--exclude <patterns> Comma separated list of exclusion patterns. Exclude files and directories matching one of the `patterns`.
-f <name> Write tags to specified file. Value of "-" writes tags to stdout ["tags"; or "TAGS" when -e supplied].
--extension <extension> File extension to look for. Default is `.js`
## license
MIT