powiaina_num.js 0.2.0-alpha.2 → 0.2.0-alpha.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,7 +16,8 @@ The library exports a class,
16
16
  Create a PowiainaNum.js object like this:
17
17
 
18
18
  ```javascript
19
- import PowiainaNum from "powiaina_num.js";
19
+ import PowiainaNum from "powiaina_num.js"; // static import
20
+ const { default: PowiainaNum } = await import("powiaina_num.js") // dynamic import
20
21
 
21
22
  let a = new PowiainaNum(); // create PN.js number with NaN
22
23
  let b = new PowiainaNum(3); // create PN.js number with number 3