Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

url-sniffer

0.0.5 • Public • Published

URL Sniffer

NPM

Do you have a URL that stopped working that maybe looks something like this?

https://maxcdn.bootstrapcdn.com/bootstrap/min/3.3.7/js/bootstrap.min.js

Use URL Sniffer to find the problem with it.

Sample Output

Installation

npm install url-sniffer --global

Usage

 
Usage: urls [options]
 
Options:
 
  -h, --help            output usage information
  -V, --version         output the version number
  -u, --url <url>       URL to parse
  -d, --delineator [/]  string to split url on
  -s, --single          Include single segments, i.e. "www" or "com"
  -b, --base            Modify the base url, i.e. try "www.com" when sniffing "www.google.com"
  -D, --diff            Show the difference in the URL
 

Contributing

  1. Fork it on Github https://github.com/alexbbt/url-sniffer
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Keywords

install

npm i url-sniffer

Downloadsweekly downloads

1

version

0.0.5

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability