This package has been deprecated

Author message:

end of development

check-deadlink
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

check-deadlink

Examine deadlinks in a pages

npm: check-deadlink CircleCI Coverage Status tested with jest code style: prettier license: mit TypeScript

Install

yarn add [-D] check-deadlink

Example

const checkDeadlink = require('check-deadlink');
 
(async () => {
  // options is options of the `padex` package
  const result = await checkDeadlink('https://example.com', options);
  // result === {
  //   'http://error.com': {
  //     document,
  //     from: [document, document, ...],
  //     /* In the above `from`,
  //      * Array of the Document of the `padex` package,
  //      * that has linked to this document
  //      */
  //   }
  // }
})()
  .catch(err => {
    console.error(err);
  });
 

Readme

Keywords

none

Package Sidebar

Install

npm i check-deadlink

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

76.7 kB

Total Files

97

Last publish

Collaborators

  • nju33