https://github.com/othree/jsctags-oasis
A forked project base on jsctags.
https://github.com/othree/jsctags-oasis
ctags javascript
Last synced: 7 months ago
JSON representation
A forked project base on jsctags.
- Host: GitHub
- URL: https://github.com/othree/jsctags-oasis
- Owner: othree
- Created: 2019-03-23T15:27:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-28T03:43:16.000Z (over 6 years ago)
- Last Synced: 2024-04-27T04:22:12.064Z (over 1 year ago)
- Topics: ctags, javascript
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/jsctags-oasis
- Size: 850 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
Awesome Lists containing this project
README
# jsctags-oasis
A forked project base on jsctags. Try to align the behavior of ctags as much as possible.
jsctags generator using [tern](https://github.com/marijnh/tern)
## Install
For access to the binary:
```sh
npm install -g jsctags-oasis
```## Usage
Just execute:
```
jsctags -R .
```And it will generate `tags` file for you.
For more options:
```sh
Usage: jsctags [options]Options:
-a Equivalent to --append
-f Use the name specified by tagfile for the tag file. Default is "tags" (default: "tags")
-L Read from file a list of file names for which tags should be generated.
-n Equivalent to --excmd=number.
-N Equivalent to --excmd=pattern.
-o Equivalent to -f tagfile.
-p Use path as the default directory for each supplied source file.
-R Equivalent to --recurse=yes.
-u Equivalent to --sort=no.
--append Indicates whether tags generated from the specified files should be appended to those already present in the tag file or should replace them.
--exclude Add pattern to a list of excluded files and directories. (default: ["node_modules/**/*"])
--excmd Determines the type of EX command used to locate tags in the source file. (default: "number")
--json Output JSON format.
--map Controls how file names are mapped to JavaScript language. (default: ".js.jsx")
--options Read additional options from file.
--recurse Recurse into directories encountered in the list of supplied files. (default: "no")
--sort Indicates whether the tag file should be sorted on the tag name (default: "yes")
--help Output usage information.
--version Output the version number.```
## license
MIT