printj/tests/node.mjs
2018-09-04 01:19:29 -04:00

6 lines
167 B
JavaScript
Executable File

#!/usr/bin/env node --experimental-modules
import { version, sprintf } from '../printj.mjs'
console.log(sprintf("PRINTJ version %s, 123 = 0x%02hhx", version, 123));