slugen 0.1.1 → 0.1.2

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 +5 -0
  2. package/package.json +27 -27
package/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # slugen
2
2
 
3
+ ![NPM Downloads](https://img.shields.io/npm/v/slugen)
4
+ ![NPM Last Update](https://img.shields.io/npm/last-update/slugen)
5
+ ![NPM Downloads](https://img.shields.io/npm/dw/slugen)
6
+
7
+
3
8
  A modern, fast slug generator for JavaScript and TypeScript.
4
9
 
5
10
  Generate URL-friendly slugs, usernames, SEO-friendly links, or safely convert text into clean identifiers.
package/package.json CHANGED
@@ -1,20 +1,19 @@
1
1
  {
2
2
  "name": "slugen",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Modern and lightweight slug generator for URLs, permalinks, and identifiers with multi-language support",
5
- "keywords": [
6
- "slug",
7
- "slug-generator",
8
- "url-slug",
9
- "permalink",
10
- "seo",
11
- "url",
12
- "identifier",
13
- "string-normalization",
14
- "multilingual",
15
- "i18n",
16
- "typescript"
17
- ],
5
+ "scripts": {
6
+ "build": "tsup",
7
+ "dev": "tsup --watch",
8
+ "typecheck": "tsc --noEmit",
9
+ "test": "vitest tests/slugen.spec.ts --run",
10
+ "bench": "vitest tests/bench.spec.ts --run"
11
+ },
12
+ "devDependencies": {
13
+ "tsup": "^8.5.1",
14
+ "typescript": "^5.9.3",
15
+ "vitest": "^4.0.16"
16
+ },
18
17
  "main": "./dist/index.cjs",
19
18
  "module": "./dist/index.js",
20
19
  "types": "./dist/index.d.ts",
@@ -29,23 +28,24 @@
29
28
  "dist"
30
29
  ],
31
30
  "sideEffects": false,
31
+ "keywords": [
32
+ "slug",
33
+ "slug-generator",
34
+ "url-slug",
35
+ "permalink",
36
+ "seo",
37
+ "url",
38
+ "identifier",
39
+ "string-normalization",
40
+ "multilingual",
41
+ "i18n",
42
+ "typescript"
43
+ ],
32
44
  "homepage": "https://github.com/kabledev/slugen",
33
45
  "repository": {
34
46
  "type": "git",
35
47
  "url": "git+https://github.com/kabledev/slugen.git"
36
48
  },
37
49
  "author": "Kable",
38
- "license": "MIT",
39
- "scripts": {
40
- "build": "tsup",
41
- "dev": "tsup --watch",
42
- "typecheck": "tsc --noEmit",
43
- "test": "vitest tests/slugen.spec.ts --run",
44
- "bench": "vitest tests/bench.spec.ts --run"
45
- },
46
- "devDependencies": {
47
- "tsup": "^8.5.1",
48
- "typescript": "^5.9.3",
49
- "vitest": "^4.0.16"
50
- }
50
+ "license": "MIT"
51
51
  }