UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

11 lines (9 loc) 217 B
var TA = require('../'); var test = require('tape'); test('tiny u8a test', function (t) { var ua = new(TA.Uint8Array)(5); t.equal(ua.length, 5); ua[1] = 256 + 55; t.equal(ua[1], 55); t.end(); });