0.0.2 • Published 7 years ago

pagenotfound v0.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

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 }]