Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

201 B
Raw Blame
import { customAlphabet } from "nanoid/non-secure";
import { alphabet } from "./id";

const nanoid = customAlphabet(alphabet, 22);

export const newNonSecureID = (prefix: string) => prefix + nanoid();