1.0.1 • Published 6 years ago

@jbmoelker/fetch-headers v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Fetch headers

Micro service to fetch response headers of a webpage as JSON.

Demo: fetch-headers.now.sh/?url=https://www.voorhoede.nl.

Parameters

The service can be configured with the following URL query parameters:

ParameterDescriptionExample
url (required)URL of the web page to fetch headers of.url=https://www.voorhoede.nl

Development

This project requires Node.js (>= v8) and npm (bundled with Node.js).

After installing dependencies using npm install the following scripts are available:

npm run ...Description
deployDeploys project to now and aliases latest version to https://fetch-headers.now.sh.
devStarts micro service with hot reloading for development on http://localhost:3000.
startStarts micro service for production on http://localhost:3000.
testRun all tests in test.js.
watchRun tests on file changes.

License

MIT licensed © Jasper Moelker