1.0.1 • Published 3 years ago

txon v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

TXON GitHub Build Status codecov

TXON, not a new serialization format, is also JSON, but the content is somewhat different from the result generated from native JSON, that makes it more expressive than the native JSON.

Why

  • Supports references, saves more space.
  • Supports circular structure, no more such error message: Uncaught TypeError: Converting circular structure to JSON.
  • Supports custom parsers to serialize/deserialize anything.

Currently supported by default:

  • anything JSON supported
  • Date
  • NaN and ±Infinity
  • ArrayBuffer and TypedArrays

Installation

npm install txon

Usage

Please refer to the unit test codes in /test/ directory.

1.0.1

3 years ago

1.0.0-rc.8

4 years ago

1.0.0-rc.7

4 years ago

1.0.0-rc.6

4 years ago

1.0.0-rc.5

4 years ago

1.0.0-rc.4

4 years ago

1.0.0-rc.3

4 years ago

1.0.0-rc.2

4 years ago

1.0.0-rc.1

4 years ago

1.0.0

3 years ago