Nebulous Pumpkin Moons

    interval-nl

    0.0.1 • Public • Published

    node-interval-nl

    A package for converting natural language intervals (e.g "1 week 10 seconds ago") into seconds. Similar to the SQL keyword INTERVAL.

    Ago

    Appending ago to an interval will negate it.

    Example

    > var interval = require("interval-nl");
    > interval("1 week 10 seconds ago");
    -604810
    

    Keywords

    none

    Install

    npm i interval-nl

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • olahol