Smart way to get the HTTP status code associated to any URL.
npm install url-code-status!Last version






> Smart way to get the HTTP status code associated to any URL.
``bash`
$ npm install url-code-status --save
`js`
;(async () => {
const urlCodeStatus = require('urlCodeStatus')
const statusCode = await urlCodeStatus('https://kikobeats.com')
// => 200
})()
See more examples.
#### url
Required
Type: string`
The target URL.
#### options
Use it for providing got#options.
url-code-status © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.
> kikobeats.com · GitHub @Kiko Beats · Twitter @Kikobeats