Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
@types/randomstring
Advanced tools
npm install --save @types/randomstring
This package contains type definitions for randomstring (https://github.com/klughammer/node-randomstring).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randomstring.
// Type definitions for randomstring 1.1.4
// Project: https://github.com/klughammer/node-randomstring
// Definitions by: Isman Usoh <https://github.com/isman-usoh/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace Randomstring {
type Charset =
| "alphanumeric"
| "alphabetic"
| "numeric"
| "hex"
| "binary"
| "octal"
| string;
type Capitalization = "lowercase" | "uppercase";
interface GenerateOptions {
length?: number | undefined;
readable?: boolean | undefined;
charset?: Charset | undefined;
capitalization?: Capitalization | undefined;
}
function generate(options?: GenerateOptions | number): string;
}
declare module "randomstring" {
export = Randomstring;
}
Randomstring
These definitions were written by Isman Usoh.
FAQs
TypeScript definitions for randomstring
The npm package @types/randomstring receives a total of 79,284 weekly downloads. As such, @types/randomstring popularity was classified as popular.
We found that @types/randomstring demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.