Skip to content

About

Sorta like UNIX strings, but for JS code

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

jsstrings

Like the UNIX strings utility, but for JS code. Specifically it outputs all text in string literals in some given JS code.

Usage examples:

$ echo '"double quoted string"; const x = 1+1' | npx jsstrings
double quoted string
$ echo '"double quoted string"; const x = 1+1' > somefile.js ; npx jsstrings somefile.js
double quoted string
$ echo '"double quoted string"; const x = 1+1' > somefile.js ; npx jsstrings somefile.js somefile.js
double quoted string
double quoted string

About

Sorta like UNIX strings, but for JS code

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages