@orbitdb/example-orbitdb-webpack

How to use OrbitDB JavaScript module with Webpack

Usage no npm install needed!

<script type="module">
  import orbitdbExampleOrbitdbWebpack from 'https://cdn.skypack.dev/@orbitdb/example-orbitdb-webpack';
</script>

README

Example OrbitDB Webpack

Gitter Matrix Discord npm version

How to use OrbitDB JavaScript module with Webpack

This example shows how to use OrbitDB in a JavaScript program that targets browsers and is compiled with webpack.

Install

This project uses npm and node.

$ git clone https://github.com/haadcode/example-orbitdb-webpack
$ cd example-orbitdb-webpack/
$ npm install

Usage

open index.html

Information

How to require orbit-db as a module

Minimal required Webpack configuration for orbit-db

Contributing

If you think this could be better, please open an issue! You can also reach us on Gitter,

Please note that all interactions in @OrbitDB fall under our Code of Conduct.

License

MIT © 2017-2019 Haja Networks Oy