1.0.1 • Published 8 years ago
lsbom v1.0.1
lsbom
JavaScript version of Mac OS X lsbom, based on the C++ project bomutils.
var lsbom = require('lsbom')
var fs = require('fs')
var bom = fs.readFileSync('Bomfile')
var files = lsbom(bom) // returns an array of file objects
You can also use it on the command line.
Usage: lsbom [--json] [--ndjson]