npm.io
1.0.4 • Published 6 years ago

@ebabel-eu/custom-timestamp

Licence
ISC
Version
1.0.4
Deps
0
Size
3 kB
Vulns
0
Weekly
0

CustomTimestamp for Typescript

CustomTimestamp for Typescript is a library that validates your custom timestamp.

Installation and usage

Installation

npm i @ebabel-eu/custom-timestamp --save

or

yarn add @ebabel-eu/custom-timestamp
Basic usage
import { CustomTimestamp } from "@ebabel-eu/custom-timestamp";

export class Example {
    public creation: CustomTimestamp = new CustomTimestamp(1325489568439);
    public updated: CustomTimestamp = new CustomTimestamp(Date.now());
}

Keywords