Skip to content
This repository has been archived by the owner on Mar 31, 2018. It is now read-only.

gabrielmangiurea/brkn-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

[NO LONGER MAINTAINED] Yet another broken link checker CLI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published