Nanananananananana.. Pat Man!

    epochutils

    1.0.4 • Public • Published

    epochutils

    A simple utility functions to handle epoch timestamp.

    NPM JavaScript Style Guide

    Install

    npm i epochutils

    Usage

    Sample code for performing single query

    const { epochUtil } = require('epochutils');
    
    
    const currtime = epochUtil().getLocal();
    const today = epochUtil().todayLocal();
    const todayUTC = epochUtil().todayUTC();
    const nextDay = epochUtils().addDay(1);
    const lastMonth = epochUtils().subMonth(1);

    License

    ISC © hanjas

    Install

    npm i epochutils

    DownloadsWeekly Downloads

    3

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    8.42 kB

    Total Files

    6

    Last publish

    Collaborators

    • hanjas