@spartan-hc/bundles
v0.2.6
Published
A toolkit for managing Holochain bundles (.dna, .happ, .webhapp)
Downloads
50
Readme
Holochain Bundles
A toolkit for managing Holochain bundles (.dna, .happ, .webhapp)
Install
npm i @spartan-hc/bundles
Basic Usage
import { readFile } from 'fs/promises';
import { Bundle } from '@spartan-hc/bundles';
const bytes = await readFile("../some_dna_bundle.dna`);
const bundle = new Bundle( bytes );
// bundle.type === "dna"
const zomes = bundle.zomes();
Contributing
See CONTRIBUTING.md