0.2.2 • Published 6 months ago

@types/microseconds v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/microseconds

Summary

This package contains type definitions for microseconds (https://github.com/kamicane/microseconds).

Details

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

index.d.ts

// Type definitions for microseconds 0.2
// Project: https://github.com/kamicane/microseconds
// Definitions by: Kyle Roach <https://github.com/iRoachie>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export interface ParsedTimeStamp {
    microseconds: number;
    milliseconds: number;
    seconds: number;
    minutes: number;
    hours: number;
    days: number;
    toString(): string;
}

export function now(): number;

export function parse(timestamp: number): ParsedTimeStamp;

export function since(timestamp: number): number;

Additional Details

  • Last updated: Tue, 12 Oct 2021 19:31:23 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Kyle Roach.

0.2.1

7 months ago

0.2.2

6 months ago

0.2.0

3 years ago