Skip to content

Repository files navigation

webassembly.org

HyperDrive Archive from webassembly.org

www.webassembly.org

Installation

$ npm install @hyperdrives/webassembly.org

or (Github):

$ npm install hyperdrives/webassembly.org

Usage

You can read the archive directly by simply requiring and initializing the hyperdrive with the correct public key.

conststorage=require.resolve('@hyperdrives/webassembly.org')constwebassembly=require('hyperdrive')(storage,key,opts)

or using a convenient wrapper:

constwebassembly=require('@hyperdrives/webassembly.org')(key,opts)

You can also leverage random-access-http to read the archive from the public Github repository.

'use strict'consthyperdrive=require('hyperdrive')consthttp=require('random-access-http')constprefix='https://github.com/hyperdrives/webassembly.org/raw/master/'constkey='082dc40709a26a382194c14db1e1cee90156d4671300b19282df1cb9bcf1d24c'constdrive=hyperdrive((filename)=>http(prefix+filename),key)webassembly.readdir('/',console.log)

Archive

The webassembly archive represents an offline archive of http://webassembly.org/

Public Key

082dc40709a26a382194c14db1e1cee90156d4671300b19282df1cb9bcf1d24c

Credits

See http://www.webassembly.org/

About

Hyperdrive archive of webassembly.org

Resources

Stars

2 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages