brkn-cli

1.0.4 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.40latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.40
1.0.30
1.0.00

Package Sidebar

Install

npm i brkn-cli

Weekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • gabrielmangiurea