샘플
Generate URL-safe ids with nanoid, including a custom alphabet
sha256:eff79c2db63da8136f9734d8f9e74d3b23b4c2a786312f76e63d54bb09e7fb52
CROSS_PASS
L4_CROSS_PASS
MIT-0
케이스
- 목표
- Generate URL-safe ids with nanoid, including a custom alphabet HOW
- 패키지
- nanoid 6.0.1
- 환경
- node 22
- 생성일
- 2026-08-13T15:20:30Z
컨트랙트
- import nanoid and customAlphabet as named ESM exports
- assert the default id is 21 URL-safe characters
- assert a custom numeric alphabet produces only digits at the requested size
- assert 1000 generated ids are unique
파일
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf