js-crc32/misc/make_unicode_crc.njs
SheetJS 79a265b662 version bump 0.4.0
- added missing bitshift (fixes #5)
- brute-force unicode tests
2016-01-12 22:30:35 -05:00

6 lines
206 B
JavaScript

#!/usr/bin/env node
argv = process.argv.slice(2);
var enc = require('codepage').utils.encode;
function arr(x) { return [].slice.call(enc(65001, x)); }
console.log(require('./uctable.' + argv[0]).map(arr));