Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.
/ fetch-headers Public archive

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

License

Notifications You must be signed in to change notification settings

jbmoelker/fetch-headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fetch headers Build Status Coverage Status npm fetch-headers package

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:

Parameter Description Example
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
deploy Deploys project to now and aliases latest version to https://fetch-headers.now.sh.
dev Starts micro service with hot reloading for development on http://localhost:3000.
start Starts micro service for production on http://localhost:3000.
test Run all tests in test.js.
watch Run tests on file changes.

License

MIT licensed © Jasper Moelker

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published