metascraper-description

Get description property from HTML markup

Usage no npm install needed!

<script type="module">
  import metascraperDescription from 'https://cdn.skypack.dev/metascraper-description';
</script>

README

metascraper-description

npm Dependency Status

Get description property from HTML markup.

Install

$ npm install metascraper-description --save

API

metascraper-description([options])

options

truncateLength

Type: number
Default: 300

Truncate the value extracted to a maximum size.

License

metascraper-description © Microlink, Released under the MIT License.
Authored and maintained by Microlink with help from contributors.

microlink.io · GitHub @microlink.io · Twitter @microlinkhq