Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@types/base64id
Advanced tools
TypeScript definitions for base64id
npm install --save @types/base64id
This package contains type definitions for base64id (https://github.com/faeldt/base64id).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/base64id.
/// <reference types="node" />
/**
* Generates a base64 id
*/
export function generateId(): string;
/**
* Get random bytes
*
* Uses a buffer if available, falls back to crypto.randomBytes
*/
export function getRandomBytes(bytes: number): Buffer;
export let bytesBuffer: Buffer;
export let bytesBufferIndex: number;
export let isGeneratingBytes: boolean;
export let sequenceNumber: number;
These definitions were written by Shadman Kolahzary.
FAQs
TypeScript definitions for base64id
The npm package @types/base64id receives a total of 3,157 weekly downloads. As such, @types/base64id popularity was classified as popular.
We found that @types/base64id demonstrated a not healthy version release cadence and project activity because the last version was released 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.