pagenotfound

0.0.2 • Public • Published

Checks whether a page exists

const pageNotFound = require('pagenotfound')
 
pageNotFound('https://www.npmjs.com/package/pagenotfound')
 .then(resp => console.log(resp))
 
// { exists: true }
 

Also accepts an array of urls

const pageNotFound = require('pagenotfound')
 
pageNotFound(['https://www.npmjs.com/package/pagenotfound'])
 .then(resp => console.log(resp))
 
 // [{ exists: true }]
 

Readme

Keywords

none

Package Sidebar

Install

npm i pagenotfound

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • focuswish