non-amp-site
v1.0.5
Published
Gets the non-amp version of an amp site.
Downloads
9
Readme
non-amp-site
An npm package to get the non-amp version of an amp site.
Usage
const nonAmp = require("non-amp-site")
nonAmp("https://website.com/amp/article.html").then(console.log)
// logs "https://website.com/article.html" or whatever the non-amp version is
Installation
yarn add non-amp-site
or
npm install non-amp-site --save
License
This project is licensed under the MIT License - see the LICENSE.md file for details