@fractaldb/adn
TypeScript icon, indicating that this package has built-in type declarations

0.3.4 • Public • Published

ADN (Advanced Data Notation)

Like JSON, but more compact & supports more features (maps, sets, etc)

Installation

npm i @framework-tools/adn

Usage

import { ADN } from '@fractaldb/adn'
let adn = new ADN()
let obj = {
    hello: 'world'
}

console.log(adn.deserialize(adn.serialize(obj)))

Todo

  • [x] EntityID
  • [x] escape null bytes in strings
  • [ ] tests
  • [ ] docs
  • [ ] addon system
  • [ ] date representation
  • [x] map
  • [ ] set

Contribution

lerna run watch --parallel
lerna link
lerna run compile
lerna publish

Readme

Keywords

none

Package Sidebar

Install

npm i @fractaldb/adn

Weekly Downloads

1

Version

0.3.4

License

none

Unpacked Size

34.5 kB

Total Files

26

Last publish

Collaborators

  • albertmashy