Florincore and most official submodules work in the browser, thanks to browserify (some modules are not fully compatible with web browsers).
The easiest and recommended way to use them, is via Bower, a browser package manager, and get the release bundles. For example, when building an app that uses florincore and bitcore-mnemonic, you do:
If you want to use a specific version of a module, instead of a release version (not recommended), you must run browserify yourself. You can get a minified browser bundle by running the following on the project root folder.
Browser Builds
Florincore and most official submodules work in the browser, thanks to browserify (some modules are not fully compatible with web browsers).
The easiest and recommended way to use them, is via Bower, a browser package manager, and get the release bundles. For example, when building an app that uses
florincore
andbitcore-mnemonic
, you do:You can also use a
bower.json
file to store the dependencies of your project:and run
bower install
to install the dependencies.After this, you can include the bundled release versions in your HTML file:
Building Custom Bundles
If you want to use a specific version of a module, instead of a release version (not recommended), you must run browserify yourself. You can get a minified browser bundle by running the following on the project root folder.
In many of the modules you can also run the command to build a browser bundle: