signed-tar-manifest

0.0.5 • Public • Published

signed-tar-manifest

Simple manifest generator to act as the authoritative implementation of the signed tar manifest specs.

var makeManifest = require('signed-tar-manifest')
var options = {
    key: '751306bfafae00f2417a7b7c7b7750e263838dc1',
    files: [
        {
            hash: '84784533571ed086a3cdff9fd41f89b43863a7314660442616fd02ee51a9608b',
            file: 'file.ext'
        }, {
            hash: '3de4c18609d8069edf84538a0b4d27140565b72f894c35701a3a737353cb5fe3',
            file: 'folder path/file.ext'
        }
    ]
}
var manifest = makeManifest(options)

The output of this would look like:

[manifest]
key=751306bfafae00f2417a7b7c7b7750e263838dc1
84784533571ed086a3cdff9fd41f89b43863a7314660442616fd02ee51a9608b=file.ext
3de4c18609d8069edf84538a0b4d27140565b72f894c35701a3a737353cb5fe3=folder path/file.ext

license

Licensed under the VOL.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    0
    • latest

Version History

Package Sidebar

Install

npm i signed-tar-manifest

Weekly Downloads

0

Version

0.0.5

License

VOL

Last publish

Collaborators

  • saibotsivad