extra-javascript-text.web
Advanced tools
Comparing version 0.1.13 to 0.1.14
{ | ||
"name": "extra-javascript-text.web", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "Utilities for processing JavaScript text{web}.", | ||
@@ -68,9 +68,9 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^24.0.0", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@types/node": "^18.11.18", | ||
"extra-build": "^2.2.40", | ||
"@rollup/plugin-commonjs": "^24.0.1", | ||
"@rollup/plugin-node-resolve": "^15.0.2", | ||
"@types/node": "^18.15.11", | ||
"extra-build": "^2.2.41", | ||
"rollup-plugin-cleanup": "^3.2.1", | ||
"rollup-plugin-dts": "^5.1.1" | ||
"rollup-plugin-dts": "^5.3.0" | ||
} | ||
} |
@@ -7,5 +7,5 @@ Utilities for processing JavaScript text.<br> | ||
This package is available in both *Node.js* and *Web* formats. The web format | ||
is exposed as `extra_javascript_text` standalone variable and can be loaded from | ||
[jsDelivr CDN]. | ||
This package is available in *Node.js* and *Web* formats. To use it on the web, | ||
simply use the `extra_javascript_text` global variable after loading with a `<script>` | ||
tag from the [jsDelivr CDN]. | ||
@@ -19,4 +19,4 @@ > Stability: [Experimental](https://www.youtube.com/watch?v=L1j93RnIxEo). | ||
```javascript | ||
const fs = require('fs'); | ||
const javascript = require('extra-javascript-text'); | ||
const fs = require('fs'); | ||
const xjavascript = require('extra-javascript-text'); | ||
@@ -27,6 +27,6 @@ | ||
javascript.importSymbols(txt); | ||
xjavascript.importSymbols(txt); | ||
// [] | ||
javascript.exportSymbols(txt); | ||
xjavascript.exportSymbols(txt); | ||
// [ | ||
@@ -48,3 +48,3 @@ // { | ||
javascript.jsdocSymbols(txt); | ||
xjavascript.jsdocSymbols(txt); | ||
// [ | ||
@@ -51,0 +51,0 @@ // { |
28778