@types/shortid
TypeScript definitions for shortid
Last updated 10 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/shortid 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/shortid

Summary

This package contains type definitions for shortid (https://github.com/dylang/shortid).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shortid.

index.d.ts

// Type definitions for shortid
// Project: https://github.com/dylang/shortid
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>, Danny Arnold <https://github.com/despairblue>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare const shortid: ShortId;

export = shortid;

interface ShortId {
    (): string;
    generate: () => string;
    characters: (string: string) => string;
    isValid: (id: any) => boolean;
    worker: (integer: number) => void;
    seed: (float: number) => void;
}

Additional Details

  • Last updated: Mon, 25 Sep 2023 13:39:06 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Sam Saint-Pettersen, and Danny Arnold.

Current Tags

  • 0.0.30                                ...           latest (3 years ago)
  • 0.0.29                                ...           ts2.0 (9 years ago)
  • 0.0.29                                ...           ts2.1 (9 years ago)
  • 0.0.29                                ...           ts2.2 (9 years ago)
  • 0.0.29                                ...           ts2.3 (9 years ago)
  • 0.0.29                                ...           ts2.4 (9 years ago)
  • 0.0.29                                ...           ts2.5 (9 years ago)
  • 0.0.29                                ...           ts2.6 (9 years ago)
  • 0.0.29                                ...           ts2.7 (9 years ago)
  • 0.0.29                                ...           ts2.8 (9 years ago)
  • 0.0.29                                ...           ts2.9 (9 years ago)
  • 0.0.29                                ...           ts3.0 (9 years ago)
  • 0.0.29                                ...           ts3.1 (9 years ago)
  • 0.0.29                                ...           ts3.2 (9 years ago)
  • 0.0.29                                ...           ts3.3 (9 years ago)
  • 0.0.29                                ...           ts3.4 (9 years ago)
  • 0.0.29                                ...           ts3.5 (9 years ago)
  • 0.0.29                                ...           ts3.6 (9 years ago)
  • 0.0.29                                ...           ts3.7 (9 years ago)
  • 0.0.29                                ...           ts3.8 (9 years ago)
  • 0.0.29                                ...           ts3.9 (9 years ago)
  • 0.0.29                                ...           ts4.0 (9 years ago)
  • 0.0.29                                ...           ts4.1 (9 years ago)
  • 0.0.29                                ...           ts4.2 (9 years ago)
  • 0.0.29                                ...           ts4.3 (9 years ago)
  • 0.0.29                                ...           ts4.4 (9 years ago)
  • 0.0.30                                ...           ts4.5 (3 years ago)
  • 0.0.30                                ...           ts4.6 (3 years ago)
  • 0.0.30                                ...           ts4.7 (3 years ago)
  • 0.0.30                                ...           ts4.8 (3 years ago)
  • 0.0.30                                ...           ts4.9 (3 years ago)
  • 0.0.30                                ...           ts5.0 (3 years ago)
  • 0.0.30                                ...           ts5.1 (3 years ago)
  • 0.0.30                                ...           ts5.2 (3 years ago)
  • 0.0.30                                ...           ts5.3 (3 years ago)

13 Versions

  • 0.0.30                                ...           3 years ago
  • 0.0.29                                ...           9 years ago
  • 0.0.28                                ...           10 years ago
  • 0.0.27                                ...           10 years ago
  • 0.0.26-alpha                                ...           10 years ago
  • 0.0.25-alpha                                ...           10 years ago
  • 0.0.24-alpha                                ...           10 years ago
  • 0.0.23-alpha                                ...           10 years ago
  • 0.0.22-alpha                                ...           10 years ago
  • 0.0.21-alpha                                ...           10 years ago
  • 0.0.20-alpha                                ...           10 years ago
  • 0.0.15-alpha                                ...           10 years ago
  • 0.0.14-alpha                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |