typed-objects

1.1.0 • Public • Published

NPM version Build status Test coverage License Dependency status

typed-objects

  • polyfill of ES7 typed objects for node.js

Example

require('typed-objects')()
 
var Point = new StructType({
  x: int32,
  y: int32
})
 
var point = new Point({
  x: 123,
  y: 456
})

Referer

License

MIT

/typed-objects/

    Package Sidebar

    Install

    npm i typed-objects

    Weekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • coderhaoxin
    • rreverser
    • haoxins