0.1.5 • Published 2 years ago

js-editor-tags v0.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

js-editor-tags Build Status

Generate tags file for javascript codebase using static code analyses.

Is it fast?

Yes, it is fast.

Usage

npm install -g js-editor-tags

# generate `tags` file for all _not git ignored_, _existing_, js/mjs/jsx files in the current folder and subfolders
js-editor-tags

# update existing `tags` file instead of regenerating it
js-editor-tags -u

# generate `tags` file and keep it up to date as the files change
js-editor-tags -w

# if you keep compiled js in git, you might want to exlude it
js-editor-tags --ignore "dist" --ignore "build"

# ultimately, you can just pipe in a list of files to tag
git ls-files | js-editor-tags

# and watch it your way
fswatch -0 -r . | while read -d "" file_path; do git ls-files $file_path; done | js-editor-tags -u

Another option is to use a git hook to run the script. Here's an example.

Running tests

yarn test
0.1.5

2 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago