mirror of https://github.com/tycrek/ass.git
build: added nanoid package
This commit is contained in:
parent
489b497c7d
commit
e425425749
|
@ -32,6 +32,7 @@
|
|||
"fs-extra": "^10.0.1",
|
||||
"helmet": "^4.6.0",
|
||||
"luxon": "^2.3.1",
|
||||
"nanoid": "^3.3.4",
|
||||
"node-fetch": "^2.6.7",
|
||||
"node-vibrant": "^3.1.6",
|
||||
"postcss-font-magician": "^3.0.0",
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
"fs-extra": "^10.0.1",
|
||||
"helmet": "^4.6.0",
|
||||
"luxon": "^2.3.1",
|
||||
"nanoid": "^3.3.4",
|
||||
"node-fetch": "^2.6.7",
|
||||
"node-vibrant": "^3.1.6",
|
||||
"postcss-font-magician": "^3.0.0",
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
import { nanoid } from 'nanoid';
|
||||
export default ({ length }: { length?: number }) => nanoid(length);
|
Loading…
Reference in New Issue