1.0.4 • Published 7 years ago

brkn-cli v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

brkn-cli Build Status

Yet another broken link checker CLI.

Install

$ npm install --global brkn-cli

Usage

$ brkn <url|file...> [--attr [html attribute...]] [--base <hostname (w/ protocol)>] [--verbose]

Options

--attr, -a     The attributes to search for (space separated if more than one) (default: href src)
--base, -b     The base URL (needed to resolve relative URLs; files only)
--verbose, -v  Run in verbose mode
--help         Show the help screen
--version      Show version number

Examples

$ brkn https://httpbin.org
$ brkn https://mywebsite.com https://otherwebsite.org --verbose
$ brkn ./fixtures/*.html --base "https://mywebsite.com" --verbose

Related

  • brkn - API for this module

License

MIT © Gabriel Mangiurea