https://github.com/apacheli/abyss
Codec for MessagePack written in TypeScript
https://github.com/apacheli/abyss
abyss deno messagepack msgpack typescript
Last synced: about 1 month ago
JSON representation
Codec for MessagePack written in TypeScript
- Host: GitHub
- URL: https://github.com/apacheli/abyss
- Owner: apacheli
- License: other
- Created: 2022-01-20T21:03:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-05T23:26:20.000Z (over 3 years ago)
- Last Synced: 2025-02-10T14:10:02.608Z (3 months ago)
- Topics: abyss, deno, messagepack, msgpack, typescript
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Abyss
### About
Simple [MessagePack](https://msgpack.org/index.html) codec written in TypeScript
for Deno.### Example
```ts
import {
decode,
encode,
} from "https://github.com/apacheli/abyss/raw/master/mod.ts";const encoded = encode({
hello: "world",
array: [1, 2, 3],
map: {
yes: true,
no: false,
nil: null,
},
});const decoded = decode(encoded);
```### Needs Fixing
- Decode `ext` and `fixext` formats, preferably without a structure.
- Encode `BigInt` types without losing precision when decoding back.