@types/yeast
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/yeast

      Weekly Downloads

      1,187

      Version

      0.1.3

      License

      MIT

      Unpacked Size

      3.25 kB

      Total Files

      5

      Last publish

      Collaborators

      • types