@web5/browser
v0.0.3
Published
Web5 tools and features to use in the browser
Downloads
1,898
Readme
Web5 Browser package
| Web5 tools and features to use in the browser | | --------------------------------------------- |
This package contains browser-specific helpers for building DWAs (Decentralized Web Apps).
Activate Polyfills
This enables a service worker that can handle Web5 features in the browser such as resolving DRLs that look like: http://dweb/did:dht:abc123/protocols/read/aHR0cHM6Ly9hcmV3ZXdlYjV5ZXQuY29tL3NjaGVtYXMvcHJvdG9jb2xz/avatar
To enable this functionality import and run activatePolyfills()
at the entrypoint of your project, or within an existing service worker.
Project Resources
| Resource | Description | | --------------------------------------- | ----------------------------------------------------------------------------- | | CODEOWNERS | Outlines the project lead(s) | | CODE OF CONDUCT | Expected behavior for project contributors, promoting a welcoming environment | | CONTRIBUTING | Developer guide to build, test, run, access CI, chat, discuss, file issues | | GOVERNANCE | Project governance | | LICENSE | Apache License, Version 2.0 |