Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.22 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.22 KB

@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