0.1.5 • Published 12 months ago

binarion v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

!WARNING This project is still in it's early stages of development, so we may introduce some breaking changes to the API and the data format.

Binarion

Npm version Npm downloads CodeFactor grade

!IMPORTANT Binarion is not a competitor to JSON, it is not faster or more compact than JSON most of the time.

Binarion is designed to store JavaScript objects that contain large TypedArray. For most use cases, using JSON will be faster and more compact, but for some niche use cases, Binarion can be a good choice.

  • Store image pixel data with other information, like width and height.
  • Store world data for 2D sandbox game. (width, height, chunks, blocks, etc...)
  • Store the state of one million checkboxes.

Performance

Supported Data Formats

NameCorresponding JavaScript ObjectImplemented
Nonenull, undefined
Booleanboolean
Integernumber
Floatfloat
Stringstring
ArrayArray
BoolArray
UintArrayUint8Array, Uint16Array, Uint32Array
FloatArrayFloat32Array, Float64Array
ObjectObject
MapMap
SetSet
FunctionFunction
0.1.4

12 months ago

0.1.3

12 months ago

0.1.5

12 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago