@breadcrum/extract-meta

1.0.5 • Public • Published

@breadcrum/extract-meta

Actions Status Coverage Status latest version downloads

A generalized metadata extractor for breadcrum.net. Not perfect, but a start. Nothing in this is very set in stone. Ideas welcome.

API

import { extractMeta } from '@breadcrum/extract-meta'
const { title, summary, tags } = await extractMeta(document)
// String title
// String summary
// Array of tag strings

See also

Package Sidebar

Install

npm i @breadcrum/extract-meta

Weekly Downloads

23

Version

1.0.5

License

MIT

Unpacked Size

18.5 kB

Total Files

12

Last publish

Collaborators

  • bret