Newline Proliferating Maniac
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    weektimepublic

    weektime

    returns the number of seconds elapsed since the beginning of the week (sunday)

    weektime(unixtime)

    - example `weektime(1438559291)`, returns 71291
    - for a given unixtime int, returns how many seconds elapsed since the beginning of that week
    

    I've been working with lots of time series data recently and rewriting something like weektime regularly to visualize trends in weekly activity. Figured I should just package it up for real.

    Keywords

    install

    npm i weektime

    Downloadslast 7 days

    2

    version

    0.0.0

    license

    ISC

    repository

    github.com

    last publish

    collaborators

    • avatar