
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
Get the number of seconds for a minute, hour, day and week.
npm i seconds --save
npm test
var seconds = require('seconds');
seconds('minute');
//=> 60
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
I'd like to implement the following if someone wants to do a PR before I get around to them:
today: function to calculate seconds since beginning of the daymonth: function to calculate seconds since beginning of the monthyear: function to calculate seconds since beginning of the yearI'm also open to other ideas for this lib.
From other maintainers
Other libs I maintain
Jon Schlinkert
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on December 07, 2014. To update, run npm i -g verb && verb.
FAQs
Get the number of seconds for a minute, hour, day and week.
The npm package seconds receives a total of 0 weekly downloads. As such, seconds popularity was classified as not popular.
We found that seconds demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.