status-code-filter
v1.0.6
Published
Eat URLs and HTTP status code(s) and return all the URL that match.
Downloads
58
Maintainers
Readme
Status code filter

Eat URLs and HTTP status code(s) and return all the URL that match.
Usage
Functions return promises, you should use them asynchronously.
const mod = require('./'),
urls = ['http://example.org', 'http://example.org/fakeurl.html']
mod.getStatusCode(urls)
.then(function (data) {
console.log(data)
})