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
:beers: [typed-objects] :beers: - polyfill of ES7 typed objects for node.js
JavaScript
require('typed-objects')()
var Point = new StructType({
x: int32,
y: int32
})
var point = new Point({
x: 123,
y: 456
})
MIT