An open API service indexing awesome lists of open source software.

https://github.com/coolreader18/non-amp-site

An npm package to get the non-amp version of an amp site.
https://github.com/coolreader18/non-amp-site

Last synced: 10 months ago
JSON representation

An npm package to get the non-amp version of an amp site.

Awesome Lists containing this project

README

          

# non-amp-site
An npm package to get the non-amp version of an amp site.

## Usage
```node
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
```shell
yarn add non-amp-site
```
or
```shell
npm install non-amp-site --save
```

## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details