Node Permanently Moved

    @billogram/moment
    TypeScript icon, indicating that this package has built-in type declarations

    1.2.0 • Public • Published

    @billogram/moment

    Functions for converting between timestamps and Moment objects

    Install

    yarn add @billogram/moment
    

    Usage

    import {
        convertToTimestamp,
        toMoment,
        toTimestamp,
    } from '@billogram/moment';

    convertToTimestamp

    convertToTimestamp(str);

    toMoment

    toMoment(timestamp);

    toTimestamp

    toTimestamp(momentObj);

    Note

    This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.

    License

    MIT

    Keywords

    none

    Install

    npm i @billogram/moment

    DownloadsWeekly Downloads

    79

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    9.83 kB

    Total Files

    20

    Last publish

    Collaborators

    • patrik-at-billo
    • oscarekholm
    • irynaziruikina
    • jmfederico
    • andreagylling
    • ewakosciukiewicz
    • miriamlarsson
    • choddan