1.0.4 • Published 3 years ago
@mich4l/link-preview v1.0.4
Link Preview
Simple link preview library for Node.js. It's using:
- Cheerio
- Axios
- get-urls
Features
- limit response size to 3MB by default
- user agent rotation
- you can configure axios to use http proxy or even Tor
- ignoring non-string responses (json API, files)
- written in TypeScript
- validate utility (reject IP adresses, localhost and invalid url)
- reexport get-urls library
Installation
npm install @mich4l/link-preview