getindiekit / mf2tojf2

Convert MF2 to JF2.
MIT License
6 stars 2 forks source link

Export `fetchReferences` from main package #25

Closed paulrobertlloyd closed 9 months ago

paulrobertlloyd commented 11 months ago

Is your feature request related to a problem?

At the moment, to import this function, you need to know it exists, and import it from a subfolder:

import { fetchReferences } from "@paulrobertlloyd/mf2tojf2/lib/fetch-references.js";

Describe the solution you’d like

Maybe this function is useful enough to be exported from the main entry point to this module, allowing the following:

import { fetchReferences } from "@paulrobertlloyd/mf2tojf2";

Additional context

See https://github.com/getindiekit/indiekit/pull/672