@owlmeans/basic-ids 0.1.6 → 0.1.8
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/README.md
CHANGED
|
@@ -56,3 +56,20 @@ Returns a UUID v4 string.
|
|
|
56
56
|
```typescript
|
|
57
57
|
enum IdStyle { Base58 = 'base58', Base64 = 'base64' }
|
|
58
58
|
```
|
|
59
|
+
|
|
60
|
+
<!-- owlmeans:agent-guidance:start -->
|
|
61
|
+
## Agent guidance
|
|
62
|
+
|
|
63
|
+
This package ships embedded Claude Code skills and GitHub Copilot instructions under
|
|
64
|
+
`agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
|
|
65
|
+
agent-skills installer to place them into your project's native locations
|
|
66
|
+
(`.claude/skills/` and `.github/instructions/`):
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
npx @owlmeans/agent-skills
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The embedded files are version-matched to this package release. Do not edit them
|
|
73
|
+
directly — they are regenerated on each publish. To contribute guidance edits,
|
|
74
|
+
open a PR against the source monorepo.
|
|
75
|
+
<!-- owlmeans:agent-guidance:end -->
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "How to use @owlmeans/basic-ids — identifier generation helpers (random IDs, namespaced IDs, ULID-like)."
|
|
3
|
+
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
+
---
|
|
5
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
+
|
|
7
|
+
# @owlmeans/basic-ids
|
|
8
|
+
|
|
9
|
+
**Layer:** Core
|
|
10
|
+
**Install:** `"@owlmeans/basic-ids": "^0.1.8"` in `dependencies`
|
|
11
|
+
|
|
12
|
+
## Key Exports
|
|
13
|
+
|
|
14
|
+
| Export | Description |
|
|
15
|
+
|--------|-------------|
|
|
16
|
+
| ID helpers | Generate random/sortable identifiers |
|
|
17
|
+
| Constants | Default ID lengths, character sets |
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { randomId } from '@owlmeans/basic-ids'
|
|
23
|
+
const id = randomId()
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Depends On
|
|
27
|
+
|
|
28
|
+
- None at runtime
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"package": "@owlmeans/basic-ids",
|
|
4
|
+
"version": "0.1.8",
|
|
5
|
+
"generatedAt": "2026-06-11T16:30:27.177Z",
|
|
6
|
+
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
|
+
"entries": [
|
|
8
|
+
{
|
|
9
|
+
"kind": "skill",
|
|
10
|
+
"name": "basic-ids",
|
|
11
|
+
"category": "package-specific",
|
|
12
|
+
"file": "skills/basic-ids/SKILL.md",
|
|
13
|
+
"canonicalPath": ".claude/skills/basic-ids/SKILL.md"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"kind": "instruction",
|
|
17
|
+
"name": "basic-ids",
|
|
18
|
+
"category": "package-specific",
|
|
19
|
+
"file": "instructions/basic-ids.instructions.md",
|
|
20
|
+
"canonicalPath": ".github/instructions/basic-ids.instructions.md"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: basic-ids
|
|
3
|
+
description: How to use @owlmeans/basic-ids — identifier generation helpers (random IDs, namespaced IDs, ULID-like). Auto-invoked when importing ID generation utilities.
|
|
4
|
+
user-invocable: false
|
|
5
|
+
---
|
|
6
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
7
|
+
|
|
8
|
+
# @owlmeans/basic-ids
|
|
9
|
+
|
|
10
|
+
**Layer:** Core
|
|
11
|
+
**Install:** `"@owlmeans/basic-ids": "^0.1.8"` in `dependencies`
|
|
12
|
+
|
|
13
|
+
## Key Exports
|
|
14
|
+
|
|
15
|
+
| Export | Description |
|
|
16
|
+
|--------|-------------|
|
|
17
|
+
| ID helpers | Generate random/sortable identifiers |
|
|
18
|
+
| Constants | Default ID lengths, character sets |
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { randomId } from '@owlmeans/basic-ids'
|
|
24
|
+
|
|
25
|
+
const id = randomId() // → e.g. '01HQ9MZ3...'
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Depends On
|
|
29
|
+
|
|
30
|
+
- None at runtime
|