0.1.3 • Published 6 years ago

primea-objects v0.1.3

Weekly downloads
3
License
MPL-2.0
Repository
github
Last release
6 years ago

SYNOPSIS

NPM Package Build Status Coverage Status

js-standard-style

Object helper classes for Primea's system Objects

INSTALL

npm install primea-objects

USAGE

const objects = require('primea-objects')

const id = new objects.ID(Buffer.from([0x1]))
const modRef = new objects.ModuleRef({'name': ['i32']}, id)
const funcRef = rmodRef.getFuncRef('name')

// all objects can be encoded to cbor with borc
const cbor = require('borc')
const encodedModRef = cbor.encode(modRef)

// and decoded with the decoder
objects.decoder.decodeFirst(encodedModRef)

API

./docs/

SPONSERED BY

npm.io

LICENSE

MPL-2.0

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago