From: Chris Duncan Date: Fri, 31 Jul 2026 17:41:48 +0000 (-0700) Subject: Add more implementation examples. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=9a9e6c4022db9414d4896d992eb4d32b26385def;p=nano-pow.git Add more implementation examples. --- diff --git a/README.md b/README.md index 9c38d8b..5aa0ffe 100644 --- a/README.md +++ b/README.md @@ -33,15 +33,33 @@ system environment. To learn more, see [#Executables](#executables). 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 + + +``` + Use it directly on a webpage with a script module: ```html