🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

brkn-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brkn-cli

Yet another broken link checker CLI

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

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

  • brkn - API for this module

License

MIT © Gabriel Mangiurea

Keywords

broken

FAQs

Package last updated on 30 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts