jsstrings
Like the UNIX `strings` utility, but for JS code. Specifically it outputs all text in string literals in some given JS code.
Last updated 9 months ago by gpittarelli .
MIT · Original npm · Tarball · package.json
$ cnpm install jsstrings 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.3                                ...           latest (9 months ago)

4 Versions

  • 1.0.3                                ...           9 months ago
  • 1.0.2                                ...           9 months ago
  • 1.0.1                                ...           9 months ago
  • 1.0.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |