@21gram-consulting/ts-codec
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

21Gram's TypeScript Codec Library

Image

Provides a convenient & strongly-typed API to perform coding and decoding operations between datatypes in TypeScript.

Conceptually inspired by Swift's Codable API, however it's nowhere near it. The first version's goal is to provide a basic yet convenient functional API for these tasks.

See this repo's GitHub Pages for an API doc'.

Disclaimer

Since this repo is an initial step in open-sourcing our more robust internal ts-codec solution:

  • More features are to be expected
  • Though we do our best to avoid them, some hiccups may occur.

The end goal is to switch our dependency direction from internal first to external first. Internall we do use the migrated code but in a different environment, so differences could happen.

2023 is the Open-Sourcing year for 21Gram.

Package Sidebar

Install

npm i @21gram-consulting/ts-codec

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

66.2 kB

Total Files

102

Last publish

Collaborators

  • tzsiga
  • rlegmann
  • adam-rocska