## Usage
+### From NPM
+
```
npm install nanocurrency-web
```
// Convert 1 RAW to Nano
const converted = converter.convert('1000000000000000000000000000000', 'RAW', 'NANO')
```
+
+### In web
+
+```
+<script src="https://unpkg.com/nanocurrency-web@1.0.3" type="text/javascript"></script>
+<scrypt type="text/javascript">
+ NanocurrencyWeb.wallet.generate(...);
+</script>
+```
+
---
## Contributions
{
"name": "nanocurrency-web",
- "version": "1.0.2",
+ "version": "1.0.3",
"description": "Toolset for Nano cryptocurrency client side offline integrations",
"author": "Miro Metsänheimo <miro@metsanheimo.fi>",
"license": "MIT",
output: {
filename: 'index.min.js',
path: path.resolve(__dirname, 'dist'),
- libraryTarget: 'commonjs2',
+ libraryTarget: 'var',
+ library: 'NanocurrencyWeb',
},
}
\ No newline at end of file