@breadcrum/extract-meta

1.0.6 • 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

47

Version

1.0.6

License

MIT

Unpacked Size

19.1 kB

Total Files

12

Last publish

Collaborators

  • bret