Skip to content

vanillaes/jqkill

Repository files navigation

JQKill

Quickly target, locate, and report each-and-every call to jQuery for elimination. Works like a linter but for jQuery specifically.

GitHub Release NPM Weekly Downloads JSR Weekly Downloads JSR Score Latest Status Release Status

Usage

Arguments

jqkill [...options] [files]

  • [files] - File(s)/glob(s) to match (default **/*.js)
  • --ignore <pattern(s)> - Ignore file(s)/glob(s) (default **/node_modules/**)
  • --cwd <dir> - Current working directory

Basic Usage

Use the defaults

# list all calls to jquery
jqkill

# list all calls to jquery (search a typescript files instead)
jqkill "**/*.ts"

# list all calls to jquery (ignore test files)
jqkill --ignore "**/node_modules/**,**/*.spec.js"

# list all calls to jquery (change the current working directory)
jqkill --cwd src/

Note: In Linux/OSX the matcher patterns must be delimited in quotes.

About

Locate all references to jQuery for easy removal

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors