feat: add script to generate cuids
- using cuid2
This commit is contained in:
parent
3884ca17a6
commit
f28e3dac4f
3 changed files with 20 additions and 0 deletions
5
scripts/cuid.mjs
Executable file
5
scripts/cuid.mjs
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import { createId } from '@paralleldrive/cuid2';
|
||||
|
||||
console.log(createId());
|
||||
Reference in a new issue