@nhz.io/nw-signer
v1.0.1
Published
NWJS content signer vinyl stream
Downloads
7
Maintainers
Readme
Install
npm i -D @nhz.io/nw-signer
Usage
const through = require('through2')
const vfs = require('vinyl-fs')
const signer = require('@nhz.io/nw-signer')
vfs.src(process.argv.slice(2))
.pipe(signer())
.pipe(through.obj((file, enc, cb) => {
process.stdout.write(file.contents)
cb()
}))
Dev
git clone https://github.com/nhz-io/nw-signer
cd nw-signer
npm i
npm start
Docs
npm run doc
Coverage
npm run coverage
See also
- https://github.com/nhz-io/nw-treehash
- https://github.com/nwjs/nw.js/blob/nw18/tools/sign/sign.py
- https://github.com/nwjs/nw.js/blob/nw18/tools/payload.cc