The easiest way to use NanoPow is to import it directly. Based on the features
available in the environment, NanoPow will try to use its most performant API.
-The following two import statements are equivalent, and both are provided to
+Function exports, object exports, and default exports are all provided to
accomodate project style preferences:
```javascript
+import { work_generate, work_validate } from "nano-pow";
+// OR
import { NanoPow } from "nano-pow";
// OR
import NanoPow from "nano-pow";
```
+Configure URL with import map:
+
+```html
+ <script type="importmap">
+ {
+ "imports": {
+ "nano-pow": "https://unpkg.com/nano-pow"
+ }
+ }
+ </script>
+ <script type="module">
+ import { NanoPow } from 'nano-pow'
+ const { work } = await NanoPow.work_generate(hash);
+ </script>
+```
+
Use it directly on a webpage with a script module:
```html