@nhz.io/nw-signer

NWJS content signer vinyl stream


Keywords
nw, nwjs, nw.js, treehash, nw-treehash, nw-signer, content-signing, signing, stream, vinyl, vinyl-stream, nhz.io
License
MIT
Install
npm install @nhz.io/nw-signer@1.0.1

Documentation

@nhz.io/nw-signer

NPM Version Bithound Status License

NWJS content signer vinyl stream

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

License

MIT