Skip to content

hifiwi-fi/extract-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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