{"id":20572841,"url":"https://github.com/datetime/seconds","last_synced_at":"2026-02-15T00:30:52.196Z","repository":{"id":24268445,"uuid":"27662633","full_name":"datetime/seconds","owner":"datetime","description":"Get the number of seconds for a minute, hour, day and week.","archived":false,"fork":false,"pushed_at":"2017-08-29T23:26:23.000Z","size":15,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-17T00:39:31.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datetime.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-07T07:24:00.000Z","updated_at":"2023-09-08T16:52:45.000Z","dependencies_parsed_at":"2022-08-22T14:40:13.094Z","dependency_job_id":null,"html_url":"https://github.com/datetime/seconds","commit_stats":null,"previous_names":["jonschlinkert/seconds"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/datetime/seconds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datetime%2Fseconds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datetime%2Fseconds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datetime%2Fseconds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datetime%2Fseconds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datetime","download_url":"https://codeload.github.com/datetime/seconds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datetime%2Fseconds/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29461911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T22:42:09.113Z","status":"ssl_error","status_checked_at":"2026-02-14T22:42:05.053Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T05:24:13.948Z","updated_at":"2026-02-15T00:30:52.176Z","avatar_url":"https://github.com/datetime.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# seconds [![NPM version](https://badge.fury.io/js/seconds.svg)](http://badge.fury.io/js/seconds)\n\n\u003e Get the number of seconds for a minute, hour, day and week.\n\n## Install\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i seconds --save\n```\n\n## Run tests\n\n```bash\nnpm test\n```\n\n## Usage\n\n```js\nvar seconds = require('seconds');\n\nseconds('minute');\n//=\u003e 60\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/seconds/issues)\n\nI'd like to implement the following if someone wants to do a PR before I get around to them:\n\n - [x] ~~`today`: function to calculate seconds since beginning of the day~~\n - [ ] `month`: function to calculate seconds since beginning of the month\n - [ ] `year`: function to calculate seconds since beginning of the year\n\nI'm also open to other ideas for this lib.\n\n## Related\n\nFrom other maintainers\n\n- [current-day-number]\n- [current-week-number] - like [week] but takes a different approach to getting the week number.\n- [week-hours]\n\nOther libs I maintain\n\n- [days]\n- [month]\n- [months]\n- [week]\n- [weekday]\n- [year]\n\n## Author\n\n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n\n## License\nCopyright (c) 2014 Jon Schlinkert  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb](https://github.com/assemble/verb) on December 07, 2014. To update, run `npm i -g verb \u0026\u0026 verb`._\n\n[current-day-number]: https://github.com/tunnckoCore/current-day-number\n[current-week-number]: https://github.com/tunnckoCore/current-week-number\n[week-hours]: https://github.com/tunnckoCore/week-hours\n[days]: https://github.com/jonschlinkert/days\n[month]: https://github.com/jonschlinkert/month\n[months]: https://github.com/jonschlinkert/months\n[week]: https://github.com/jonschlinkert/week\n[weekday]: https://github.com/jonschlinkert/weekday\n[year]: https://github.com/jonschlinkert/year","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatetime%2Fseconds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatetime%2Fseconds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatetime%2Fseconds/lists"}