
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@qrvey/id-generator
Advanced tools
 
The @qrvey/id-generator
package provides a simple utility function to generate unique IDs using the nanoid library, with customizable alphabet and length.
You can install the package using npm or yarn:
npm install @qrvey/id-generator
Or with yarn:
yarn add @qrvey/id-generator
The getId function allows you to generate unique IDs with a customizable alphabet and length.
alphabet
: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzlength
: 21import { getId } from '@qrvey/id-generator';
const id = getId();
console.log(id); // Example output: 'dZ3P1o2xY9B5RgTf8UAcW'
import { getId } from '@qrvey/id-generator';
const customAlphabet = '0123456789abcdef';
const customLength = 10;
const customId = getId(customAlphabet, customLength);
console.log(customId); // Example output: '4a8b7d3e1c'
FAQs
 
We found that @qrvey/id-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.