reign
v0.0.1
Published
A persistent, typed-objects implementation.
Downloads
30
Maintainers
Readme
reign
Persistent, typed objects for JavaScript.
What?
Provides a realm (like a namespace) which can contain various kinds of typed object, and mechanisms for storing and loading those objects to disk.
Currently supports various kinds of data type:
As well as the following builtins:
- T.Any
- T.Array
- T.Boolean
- T.Int8
- T.Int16
- T.Int32
- T.Uint8
- T.Uint16
- T.Uint32
- T.Float32
- T.Float64
- T.HashMap
- T.HashSet
- T.Object
- T.String
- T.InternedString
Examples
See the examples directory.
API Documentation
Currently very work in progress, see src/README.md.
Installation
Install via npm.
npm install reign
Usage
See the API documentation.
License
Published by codemix under a permissive MIT License, see LICENSE.md.