JSPM

@adam-rocska/ts-codec

1.2.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q48123F
  • License MIT

TypeScript library offering robust contracts for encoding and decoding values with strong type safety.

Package Exports

  • @adam-rocska/ts-codec

Readme

Codec – Encode & Decode for TypeScript

NPM Version License

A TypeScript library that provides a strongly-typed and user-friendly API for encoding and decoding data types.

Inspired by Swift's Codable API, this library aims to offer a straightforward functional API for basic encoding and decoding tasks. While it's a simplified initial release, future iterations will introduce more advanced features.

For detailed API documentation, please refer to this repository's GitHub Pages.

Disclaimer

This repository is the first step in open-sourcing our more advanced internal ts-codec solution:

  • Expect additional features in upcoming versions.
  • We strive for stability, but some issues may arise.

The long-term goal is to transition from an internal-first to an external-first dependency model. The code used internally may differ slightly from this open-source version, so minor discrepancies are possible.