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

brkn

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brkn - npm Package Compare versions

Comparing version
1.0.0
to
1.0.2
+2
-2
package.json
{
"name": "brkn",
"version": "1.0.0",
"version": "1.0.2",
"description": "Yet another broken link checker",

@@ -17,3 +17,3 @@ "keywords": [

"license": "MIT",
"respository": {
"repository": {
"type": "git",

@@ -20,0 +20,0 @@ "url": "https://github.com/GabrielMangiurea/brkn"

@@ -34,4 +34,6 @@ # brkn [![Build Status](https://travis-ci.org/GabrielMangiurea/brkn.svg?branch=master)](https://travis-ci.org/GabrielMangiurea/brkn)

Emits an `end` event with the inaccessible URLs found in `sources`.
Emits an `end` event (type: `Array`) with the inaccessible URLs found in `sources`.
Will emit `error` event (type: `String`) on URL/File parsing errors.
#### sources

@@ -65,17 +67,18 @@

- emitted: after each scanned URL
- type: `object`
- type: `Object`
- params:
- broken: `boolean`
- source: `string`
- statusCode: `integer`
- url: `string`
- broken: `Boolean`
- source: `String`
- statusCode: `Integer`
- url: `String`
- `source`
- emitted: after each completed source, when there are more than one
- type: `object`
- type: `Object`
- params:
- source: `string`
- brokenUrls: `array`
- source: `String`
- brokenUrls: `Array`
## License
MIT © [Gabriel Mangiurea](https://gabrielmangiurea.github.io)