
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
Yet another broken link checker.
$ npm install --save brkn
const brkn = require('brkn');
// execute the function
brkn(['https://your.website.here/somepage.html'], ['href'], 'https://your.website.here', {verbose: false});
// then listen for the 'end' event
brkn.events.on('end', function(brokenUrls) {
console.log('Broken URLs:', brokenUrls);
//=> 'Broken URLs: [...]'
});
Emits an end event (type: Array) with the inaccessible URLs found in sources.
Will emit error event (type: String) on URL/File parsing errors.
Type: Array
An array with the target web page(s) or file(s).
Type: Array
An array with the HTML attributes that brkn should scan.
Type: String
The hostname (with protocol) to which the relative URLs will resolve to.
Type: Boolean
If true, brkn will emit two additional events:
item
ObjectBooleanStringIntegerStringsource
ObjectStringArrayMIT © Gabriel Mangiurea
FAQs
Yet another broken link checker
The npm package brkn receives a total of 2 weekly downloads. As such, brkn popularity was classified as not popular.
We found that brkn demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.