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

0.2.2 • Public • Published

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

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, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Kyle Roach.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/microseconds

Weekly Downloads

447

Version

0.2.2

License

MIT

Unpacked Size

3.23 kB

Total Files

5

Last publish

Collaborators

  • types