@spartan-hc/bundles

0.2.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @spartan-hc/bundles

Weekly Downloads

10

Version

0.2.6

License

ISC

Unpacked Size

834 kB

Total Files

11

Last publish

Collaborators

  • brisebom