@substrate-system/iso-ucan
v0.0.2
Published
UCAN
Readme
ISO UCAN
UCANs
This is a fork of hugomrdias/iso-ucan.
Install
npm i -S @substrate-system/iso-ucanAPI
This exposes ESM and common JS via package.json exports field.
ESM
import '@substrate-system/iso-ucan'Common JS
require('@substrate-system/iso-ucan')use
JS
import '@substrate-system/iso-ucan'pre-built JS
This package exposes minified JS files too. Copy them to a location that is accessible to your web server, then link to them in HTML.
copy
cp ./node_modules/@substrate-system/iso-ucan/dist/module.min.js ./publicHTML
<script type="module" src="./module.min.js"></script>