string-filters 0.3.3 → 0.3.4
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/dist/types/camelCase.d.ts +4 -0
- package/dist/types/capitalize.d.ts +1 -0
- package/dist/types/flatCase.d.ts +1 -0
- package/dist/types/kebabCase.d.ts +1 -0
- package/dist/types/main.d.ts +11 -0
- package/dist/types/pad.d.ts +1 -0
- package/dist/types/pascalCase.d.ts +4 -0
- package/dist/types/snakeCase.d.ts +1 -0
- package/dist/types/titleCase.d.ts +1 -0
- package/dist/types/trainCase.d.ts +4 -0
- package/dist/types/truncate.d.ts +1 -0
- package/package.json +6 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(string: any, lower?: boolean): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(string: any, numbers?: boolean): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(string: any, numbers?: boolean): any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import camelCase from './camelCase';
|
|
2
|
+
import capitalize from './capitalize';
|
|
3
|
+
import flatCase from './flatCase';
|
|
4
|
+
import kebabCase from './kebabCase';
|
|
5
|
+
import pad from './pad';
|
|
6
|
+
import pascalCase from './pascalCase';
|
|
7
|
+
import snakeCase from './snakeCase';
|
|
8
|
+
import titleCase from './titleCase';
|
|
9
|
+
import trainCase from './trainCase';
|
|
10
|
+
import truncate from './truncate';
|
|
11
|
+
export { camelCase, capitalize, flatCase, kebabCase, pad, pascalCase, snakeCase, titleCase, trainCase, truncate };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(string: any, length: any, chars?: string): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(string: any, numbers?: boolean): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(string: any, lower?: boolean): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(string: any, length?: number, omission?: string): string;
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "string-filters",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Fast native javascript string filters library.",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"types": "./dist/types/main.d.ts",
|
|
6
7
|
"files": [
|
|
7
8
|
"dist"
|
|
8
9
|
],
|
|
@@ -27,7 +28,8 @@
|
|
|
27
28
|
"sanitize",
|
|
28
29
|
"input-mask",
|
|
29
30
|
"javascript",
|
|
30
|
-
"js"
|
|
31
|
+
"js",
|
|
32
|
+
"typescript"
|
|
31
33
|
],
|
|
32
34
|
"repository": {
|
|
33
35
|
"type": "git",
|
|
@@ -41,10 +43,11 @@
|
|
|
41
43
|
"homepage": "https://github.com/tarkhov/js-string-filters",
|
|
42
44
|
"scripts": {
|
|
43
45
|
"dev": "vite",
|
|
44
|
-
"build": "vite build",
|
|
46
|
+
"build": "vite build && tsc",
|
|
45
47
|
"preview": "vite preview"
|
|
46
48
|
},
|
|
47
49
|
"devDependencies": {
|
|
50
|
+
"typescript": "^5.9.3",
|
|
48
51
|
"vite": "^7.3.1",
|
|
49
52
|
"vite-plugin-banner": "^0.8.1"
|
|
50
53
|
}
|