0.1.2 • Published 9 years ago

hron v0.1.2

Weekly downloads
5
License
GPL
Repository
github
Last release
9 years ago

Hron

Hron is based on the haxe-serialization.

Installation

$ npm install hron

How to use

encode

hron.encode( [js-object] );

decode

hron.decode( [hron-string] );

Supported type

  • null ( n )
  • NaN ( k )
  • negative infinity ( m )
  • positive infinity ( p )
  • normal float ( d )
  • zero ( z )
  • bool ( t ) or ( f )
  • string ( y length v urlencode string )
  • array ( a ... h )
  • object ( o ... g )

Etc

Github

C. 2014. tnRaro admin@tnraro.com