build: added nanoid package

pull/177/head
tycrek 2 years ago
parent 489b497c7d
commit e425425749
No known key found for this signature in database
GPG Key ID: FF8A54DCE404885A

1
package-lock.json generated

@ -32,6 +32,7 @@
"fs-extra": "^10.0.1", "fs-extra": "^10.0.1",
"helmet": "^4.6.0", "helmet": "^4.6.0",
"luxon": "^2.3.1", "luxon": "^2.3.1",
"nanoid": "^3.3.4",
"node-fetch": "^2.6.7", "node-fetch": "^2.6.7",
"node-vibrant": "^3.1.6", "node-vibrant": "^3.1.6",
"postcss-font-magician": "^3.0.0", "postcss-font-magician": "^3.0.0",

@ -62,6 +62,7 @@
"fs-extra": "^10.0.1", "fs-extra": "^10.0.1",
"helmet": "^4.6.0", "helmet": "^4.6.0",
"luxon": "^2.3.1", "luxon": "^2.3.1",
"nanoid": "^3.3.4",
"node-fetch": "^2.6.7", "node-fetch": "^2.6.7",
"node-vibrant": "^3.1.6", "node-vibrant": "^3.1.6",
"postcss-font-magician": "^3.0.0", "postcss-font-magician": "^3.0.0",

@ -0,0 +1,2 @@
import { nanoid } from 'nanoid';
export default ({ length }: { length?: number }) => nanoid(length);
Loading…
Cancel
Save