Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nhz-io/nw-signer

NWJS content signer vinyl stream
https://github.com/nhz-io/nw-signer

Last synced: 4 days ago
JSON representation

NWJS content signer vinyl stream

Awesome Lists containing this project

README

        

@nhz.io/nw-signer



NPM Version


Bithound Status


License

[NWJS](https://nwjs.io) content signer vinyl stream

## Install
```bash
npm i -D @nhz.io/nw-signer
```

## Usage
```js
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

```bash
git clone https://github.com/nhz-io/nw-signer
cd nw-signer
npm i
npm start
```

### Docs
```bash
npm run doc
```

### Coverage
```bash
npm run coverage
```

### See also
* [https://github.com/nhz-io/nw-treehash](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/sign/sign.py)
* [https://github.com/nwjs/nw.js/blob/nw18/tools/payload.cc](https://github.com/nwjs/nw.js/blob/nw18/tools/payload.cc)

## License

### [MIT](LICENSE)