@superutils/core 1.0.1 → 1.0.3

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 +10 -4
  2. package/package.json +4 -6
package/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  A collection of lightweight, dependency-free utility functions and types.
4
4
 
5
+ <div v-if="false">
6
+
7
+ For full API reference check out the [docs page](https://alien45.github.io/superutils/packages/@superutils/core/).
8
+
9
+ </div>
10
+
5
11
  ## Table of Contents
6
12
 
7
13
  - [Installation](#installation)
@@ -9,8 +15,8 @@ A collection of lightweight, dependency-free utility functions and types.
9
15
  - [`is`](#is): Type checkers
10
16
  - [`deferred()`](#deferred): Debounce callbacks
11
17
  - [`throttle()`](#throttle): Throttle callbacks
12
- - [`fallbackIfFails()`](#fallbackIfFails): Gracefully invoke functions
13
- - [`objCopy()`](#objCopy): Deep-copy objects
18
+ - [`fallbackIfFails()`](#fallback-if-fails): Gracefully invoke functions
19
+ - [`objCopy()`](#obj-copy): Deep-copy objects
14
20
  - [`search()`](#search): Search iterable collections
15
21
 
16
22
  ## Installation
@@ -102,7 +108,7 @@ handleChange({ target: { value 2 } }) // will be ignored
102
108
  handleChange({ target: { value 3 } }) // will be ignored
103
109
  ```
104
110
 
105
- <div id="fallbackIfFails"></div>
111
+ <div id="fallback-if-fails"></div>
106
112
 
107
113
  ### `fallbackIfFails(fn, args, fallback)`: gracefully invoke functions
108
114
 
@@ -145,7 +151,7 @@ fallbackIfFails(
145
151
  // Prints the result when request is successful or fallback value when request fails
146
152
  ```
147
153
 
148
- <div id="objCopy"></div>
154
+ <div id="obj-copy"></div>
149
155
 
150
156
  ### `objCopy(source, dest, ignoreKeys, override)`: deep-copy objects
151
157
 
package/package.json CHANGED
@@ -3,14 +3,13 @@
3
3
  "bugs": {
4
4
  "url": "https://github.com/alien45/superutils/issues"
5
5
  },
6
- "description": "Utilities for TS/JS/Node.js environments.",
7
- "devDependencies": {},
6
+ "description": "A collection of lightweight, dependency-free utility functions and types for Javascript/Typescript",
8
7
  "files": [
9
8
  "dist",
10
9
  "README.md",
11
10
  "LICENSE"
12
11
  ],
13
- "homepage": "https://github.com/alien45/superutils/#readme",
12
+ "homepage": "https://alien45.github.io/superutils/packages/@superutils/core/",
14
13
  "keywords": [
15
14
  "javascript",
16
15
  "rxjs",
@@ -25,7 +24,6 @@
25
24
  "license": "MIT",
26
25
  "main": "dist/index.js",
27
26
  "name": "@superutils/core",
28
- "peerDependencies": {},
29
27
  "publishConfig": {
30
28
  "access": "public"
31
29
  },
@@ -38,10 +36,10 @@
38
36
  "_watch": "tsc -p tsconfig.json --watch",
39
37
  "build": "tsup src/index.ts --format esm --dts --clean --config ../../tsup.config.js",
40
38
  "dev": "npm run build -- --watch",
41
- "test": "vitest"
39
+ "test": "cd ../../ && npm run test promise"
42
40
  },
43
41
  "sideEffects": false,
44
42
  "type": "module",
45
43
  "types": "dist/index.d.ts",
46
- "version": "1.0.1"
44
+ "version": "1.0.3"
47
45
  }