JavaScript implementation of the Mac OSX cli mkbom
for creating Installers.
Install with npm install mkbom
.
Implementation adopted from the Open Source C++ work by @hoghliux: https://github.com/hogliux/bomutils
It's a first version and likely to have bugs. Tests currently only work on my machine because it compares files to a reference implementation with my local uid/gid/permissions.
var mkbom = require('mkbom')
var fs = require('fs')
mkbom('./my/folder').pipe(fs.createWriteStream('./build/Bom'))
Install with npm install mkbom -g
or npm link
usage: mkbomjs <path> [bomfile]