@molecule/api-slug 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 +5 -5
  2. package/package.json +3 -8
package/README.md CHANGED
@@ -3,21 +3,21 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-10-15T09:18:33.573Z
6
+ Generated: 2026-10-16T23:31:53.762Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-slug
10
10
 
11
- > **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
12
- > It is written to be read by coding agents as much as by people, and is generated from this
13
- > package's source — edit `src/index.ts` JSDoc, not this file.
14
-
15
11
  URL slugs for titles and names.
16
12
 
17
13
  `slugify` folds accents and punctuation into a lowercase, hyphenated slug;
18
14
  `uniqueSlug` finds one your store does not have yet; `uniqueSlugInTable`
19
15
  does that against a table column through the bonded DataStore.
20
16
 
17
+ > **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
18
+ > It is written to be read by coding agents as much as by people, and is generated from this
19
+ > package's source — edit `src/index.ts` JSDoc, not this file.
20
+
21
21
  ## Quick Start
22
22
 
23
23
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-slug",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "URL slugs from titles and names: accent-folding slugify, and unique slugs checked against your store (a table column or any lookup).",
5
5
  "homepage": "https://www.molecule.dev/packages/api-slug",
6
6
  "type": "module",
@@ -39,16 +39,11 @@
39
39
  "access": "public"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/node": "26.1.2",
42
+ "@types/node": "26.6.5",
43
43
  "typescript": "6.0.3",
44
- "vitest": "4.1.11"
44
+ "vitest": "4.1.12"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@molecule/api-database": "^1.0.1"
48
- },
49
- "peerDependenciesMeta": {
50
- "@molecule/api-database": {
51
- "optional": true
52
- }
53
48
  }
54
49
  }