@vltpkg/fast-split 0.0.0-3 → 0.0.0-31

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 -6
  2. package/package.json +9 -8
package/README.md CHANGED
@@ -2,17 +2,21 @@
2
2
 
3
3
  # @vltpkg/fast-split
4
4
 
5
- This is a very fast alternative to `String.split()`, which can be used to quickly parse a small-to-medium sized string by a given delimiter.
5
+ This is a very fast alternative to `String.split()`, which can be used
6
+ to quickly parse a small-to-medium sized string by a given delimiter.
6
7
 
7
- **[It's fast](#how-fast-is-it)**
8
- ·
9
- **[Usage](#usage)**
8
+ **[It's fast](#how-fast-is-it)** · **[Usage](#usage)**
10
9
 
11
10
  ## How Fast Is It!?
12
11
 
13
- This is about 10% faster for splitting short strings by a short delimiter. When we have to walk the resulting list for any reason, or limit the number of items returned, it's an even bigger difference.
12
+ This is about 10% faster for splitting short strings by a short
13
+ delimiter. When we have to walk the resulting list for any reason, or
14
+ limit the number of items returned, it's an even bigger difference.
14
15
 
15
- 2024 M1 macbook pro, using node 20.11.0, v8 version 11.3.244.8-node.17 Counts are operations per ms, splitting the string '1.2.3-asdf+foo' by the delimiter '.', transforms calling part.toUpperCase(), and limits at 2 items
16
+ 2024 M1 macbook pro, using node 20.11.0, v8 version 11.3.244.8-node.17
17
+ Counts are operations per ms, splitting the string '1.2.3-asdf+foo' by
18
+ the delimiter '.', transforms calling part.toUpperCase(), and limits
19
+ at 2 items
16
20
 
17
21
  ```
18
22
  split 10385.779
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@vltpkg/fast-split",
3
3
  "description": "A fast way to split small-to-medium sized strings by small string delimiters",
4
- "version": "0.0.0-3",
4
+ "version": "0.0.0-31",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/vltpkg/vltpkg.git",
8
8
  "directory": "src/fast-split"
9
9
  },
10
+ "author": "vlt technology inc. <support@vlt.sh> (http://vlt.sh)",
10
11
  "tshy": {
11
12
  "selfLink": false,
12
13
  "liveDev": true,
@@ -19,16 +20,15 @@
19
20
  }
20
21
  },
21
22
  "devDependencies": {
22
- "@eslint/js": "^9.20.0",
23
- "@types/eslint__js": "^8.42.3",
24
- "@types/node": "^22.13.1",
25
- "eslint": "^9.20.0",
26
- "prettier": "^3.4.2",
23
+ "@eslint/js": "^9.34.0",
24
+ "@types/node": "^22.17.2",
25
+ "eslint": "^9.34.0",
26
+ "prettier": "^3.6.2",
27
27
  "tap": "^21.1.0",
28
28
  "tshy": "^3.0.2",
29
- "typedoc": "0.27.6",
29
+ "typedoc": "~0.27.9",
30
30
  "typescript": "5.7.3",
31
- "typescript-eslint": "^8.23.0"
31
+ "typescript-eslint": "^8.40.0"
32
32
  },
33
33
  "license": "BSD-2-Clause-Patent",
34
34
  "engines": {
@@ -61,6 +61,7 @@
61
61
  "snap": "tap",
62
62
  "test": "tap",
63
63
  "posttest": "tsc --noEmit",
64
+ "tshy": "tshy",
64
65
  "typecheck": "tsc --noEmit"
65
66
  }
66
67
  }