Skip to content

Add subpackages #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
thesmartwon opened this issue Feb 13, 2025 · 1 comment
Open

Add subpackages #9

thesmartwon opened this issue Feb 13, 2025 · 1 comment

Comments

@thesmartwon
Copy link

Would it be possible to use subpackages for each encoding scheme? This would save downloading all the schemes I'm uninterested in.

For example:

import { CborEncoder, CborDecoder } from "@jsonjoy.com/json-pack-cbor";

would only download the necessary packages from NPM instead of ones for bson, ion, json, msgpack, ubjson and others.

@streamich
Copy link
Collaborator

This would be nice, in theory, but currently there is no resources for this and potentially this is premature for this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants