Check if a website is using Netlify by reading the HTTP server header field.
npm install --save @scanf/isun
Usage as module
const url = "";;
Usage as Lambda function on Netlify
Assuming you have deployed on Netlify and your domain is
example.xyz, the below should work:
The function expects you to set the query parameter
url and be compliant with RFC 3986. Or simply put pass
a valid url and remember to include
https:// prefix 😉
The project uses a MIT license for all files unless otherwise specified.