1.0.4 • Published 4 years ago

@ebabel-eu/custom-timestamp v1.0.4

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

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());
}