Installation
npm install --save @types/yeast
Summary
This package contains type definitions for yeast (https://github.com/unshiftio/yeast).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yeast.
index.d.ts
export = yeast;
/**
* Yeast: A tiny growing id generator.
*/
declare function yeast(): string;
declare namespace yeast {
/**
* Return a string representing the specified number.
*/
function encode(num: number): string;
/**
* Return the integer value specified by the given string.
*/
function decode(str: string): number;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Christian Scheja.