stringweaver 1.3.4 → 1.3.5

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.
Files changed (2) hide show
  1. package/README.md +5 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -32,21 +32,14 @@ An ES/JS "stringbuilder" utility module. The module delivers a constructor to cr
32
32
  ### Install module
33
33
  Use `npm install stringweaver` to install the module locally.
34
34
 
35
- ### In browser
36
- In html
37
- ```html
38
- <script type="module" src="[location of index.js or index.min.js]"></script>
39
- <!-- OR load minified directly from unpkg -->
40
- <script
41
- type="module"
42
- src="https://app.unpkg.com/stringweaver@latest/files/Bundle/index.min.js">
43
- </script>
44
- ```
45
35
  ### Import/use (NodeJS or browser client file)
46
36
  ```javascript
47
- // note: for NodeJS, make sure the project is of type "module"
48
- // import as $S
37
+ /* notes:
38
+ - make sure the script/node project is of type "module"
39
+ - the bundled module can be found @ https://unpkg.com/stringweaver/Bundle/index.min.js
40
+ - the module is imported as $S here */
49
41
  import $S from "[location of index.js or Bundle/index.min.js]";
42
+
50
43
  // assign the symbolic string extension
51
44
  const SB = Symbol.toSB;
52
45
  const myBrandNewString = $S`Hello`.append(" world");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stringweaver",
3
3
  "type": "module",
4
- "version": "1.3.4",
4
+ "version": "1.3.5",
5
5
  "private": false,
6
6
  "main": "./index.js",
7
7
  "sideEffects": false,