multiformats / multiformats/js-multiformats
Loading through a script tag misses many exports
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 268
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
If I try to simply include microformats using the script tag provided in the readme, I can only get CID, bytes, digest, hasher and varint:
<script src="https://unpkg.com/multiformats/dist/index.min.js"></script>
<script>
console.log(Multiformats);
</script>
Either the README misses something, or the dist/index.min.js does! For instance how can I get codecs from multiformats/codecs?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README script-tag example and inspect dist/index.min.js alongside the multiformats/codecs entry point. Reproduce the browser global behavior and compare the available exports; done means the documented script usage exposes the expected exports or clearly documents the supported alternative.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100