Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.05 KB

.verb.md

File metadata and controls

55 lines (34 loc) · 1.05 KB

{%= name %} {%= badge("fury") %} {%= badge("travis") %}

{%= description %}

Install

{%= include("install-npm", {save: true}) %}

Usage

var seconds = require('{%= name %}');

seconds('minute');
//=> 60

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 day
  • month: function to calculate seconds since beginning of the month
  • year: function to calculate seconds since beginning of the year

I'm also open to other ideas for this lib.

Related projects

From other maintainers

  • [current-day-number]
  • [current-week-number] - like [week] but takes a different approach to getting the week number.
  • [week-hours]

Other libs I maintain

{%= related(verb.related.list, {remove: name}) %}

Running tests

{%= include("tests") %}

Contributing

{%= include("contributing") %}

Author

{%= include("author") %}

License

{%= copyright() %} {%= license %}


{%= include("footer") %}

{%= reflinks(verb.reflinks) %}