Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nhz-io/nw-signer
- Owner: nhz-io
- License: mit
- Created: 2016-09-30T20:43:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-01T22:31:21.000Z (about 8 years ago)
- Last Synced: 2024-12-10T21:47:35.241Z (14 days ago)
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
@nhz.io/nw-signer
[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)