We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1d90c commit ca9f2efCopy full SHA for ca9f2ef
‎src/fsa-to-node/json.ts
@@ -1,5 +1,2 @@
1
-import { CborEncoder } from '@jsonjoy.com/json-pack/lib/cbor/CborEncoder';
2
-import { CborDecoder } from '@jsonjoy.com/json-pack/lib/cbor/CborDecoder';
3
-
4
-export const encoder = new CborEncoder();
5
-export const decoder = new CborDecoder();
+import { encoder, decoder } from '@jsonjoy.com/json-pack/lib/cbor/shared';
+export { encoder, decoder };
0 commit comments