From 9a9e6c4022db9414d4896d992eb4d32b26385def Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 31 Jul 2026 10:41:48 -0700 Subject: [PATCH] Add more implementation examples. --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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 -- 2.52.0