@adrianbutt/evutils 1.0.0 → 1.0.1

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
@@ -1,26 +1,9 @@
1
- # HtmlAssetReplacer
1
+ # EvUtils
2
2
 
3
- Utilities to help replace asset paths in HTML text (css and js links/assets).
3
+ Event utilities to help with emitting and receiving js events.
4
4
 
5
5
  ### Getting Started
6
6
 
7
7
  ```sh
8
- npm install htmlassetreplacer
8
+ npm install @adrianbutt/evutils
9
9
  ```
10
-
11
- ```ts
12
- export async function exampleUsage() {
13
- const processor = new HtmlAssetReplacer();
14
-
15
- const processURLCB = function (originalURI: string) {
16
- return "https://my.cdn.com/assets/" + originalURI + "?token=abc";
17
- };
18
- const result = await processor.processHTML({
19
- html: EXAMPLE_HTML_STR,
20
- urlProcessor: processURLCB
21
- });
22
-
23
- console.log(result);
24
- return result;
25
- }
26
- ```
@@ -1 +1 @@
1
- export { BasicEventManager } from "./BasicEventManager";
1
+ export * from "./BasicEventManager";
@@ -1 +1 @@
1
- export { BasicEventManager } from "./BasicEventManager.js";
1
+ export * from "./BasicEventManager.js";
@@ -1,2 +1,2 @@
1
- export { BasicEventManager } from "./BasicEventManager.js";
1
+ export * from "./BasicEventManager.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adrianbutt/evutils",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Event utilities",
5
5
  "module": "dist/mjs/src/index.js",
6
6
  "exports": {
@@ -16,7 +16,7 @@
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "https://github.com/adrianbutt/evutils.git"
19
+ "url": "git+https://github.com/adrianbutt/evutils.git"
20
20
  },
21
21
  "jsdelivr": "./dist/web/evutils.js",
22
22
  "scripts": {