0.1.34 • Published 2 years ago

@types/flake-idgen v0.1.34

Weekly downloads
2,181
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/flake-idgen

Summary

This package contains type definitions for flakge-idgen (https://github.com/T-PWK/flake-idgen).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flake-idgen.

index.d.ts

// Type definitions for flakge-idgen 0.1.4
// Project: https://github.com/T-PWK/flake-idgen
// Definitions by: Yuce Tekol <http://yuce.me/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />


interface ConstructorOptions {
    datacenter?: number | undefined;
    worker?: number | undefined;
    id?: number | undefined;
    epoch?: number | undefined;
    seqMask?: number | undefined;
}

declare namespace FlakeId {}

declare class FlakeId {
    constructor(options?: ConstructorOptions);
    next(callback?: (err: Error, id: Buffer) => void): Buffer;
}
export = FlakeId;

Additional Details

  • Last updated: Thu, 08 Jul 2021 12:01:40 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Yuce Tekol.

0.1.32

2 years ago

0.1.33

2 years ago

0.1.34

2 years ago

0.1.31

4 years ago

0.1.30

8 years ago

0.1.29

9 years ago

0.1.28

9 years ago

0.1.27-alpha

9 years ago

0.1.26-alpha

9 years ago

0.1.25-alpha

9 years ago

0.1.24-alpha

9 years ago

0.1.23-alpha

9 years ago

0.1.22-alpha

9 years ago

0.1.21-alpha

9 years ago

0.1.16-alpha

9 years ago

0.1.15-alpha

9 years ago