{"id":40535067,"url":"https://github.com/tbusser/js-date-helper","last_synced_at":"2026-01-20T22:34:11.197Z","repository":{"id":35016230,"uuid":"196879473","full_name":"tbusser/js-date-helper","owner":"tbusser","description":"A collection of date functions, tree shakable and fully united tested","archived":false,"fork":false,"pushed_at":"2023-01-04T05:26:13.000Z","size":2116,"stargazers_count":2,"open_issues_count":11,"forks_count":2,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-08-09T09:05:41.128Z","etag":null,"topics":["date","es6","library","module"],"latest_commit_sha":null,"homepage":"","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/tbusser.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-07-14T20:18:16.000Z","updated_at":"2020-04-06T06:30:49.000Z","dependencies_parsed_at":"2023-01-15T12:04:57.427Z","dependency_job_id":null,"html_url":"https://github.com/tbusser/js-date-helper","commit_stats":null,"previous_names":["tbusser/js-date-fns"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/tbusser/js-date-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbusser%2Fjs-date-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbusser%2Fjs-date-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbusser%2Fjs-date-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbusser%2Fjs-date-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tbusser","download_url":"https://codeload.github.com/tbusser/js-date-helper/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbusser%2Fjs-date-helper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28616989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T22:24:05.405Z","status":"ssl_error","status_checked_at":"2026-01-20T22:20:31.342Z","response_time":117,"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":["date","es6","library","module"],"created_at":"2026-01-20T22:34:10.266Z","updated_at":"2026-01-20T22:34:11.191Z","avatar_url":"https://github.com/tbusser.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaScript Date Helpers [![Build Status](https://travis-ci.com/tbusser/js-date-helper.svg?branch=develop)](https://travis-ci.com/tbusser/js-date-helper) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftbusser%2Fjs-date-helper.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftbusser%2Fjs-date-helper?ref=badge_shield)\r\n\r\nA lightweight, tree shakable, and tested JavaScript library for working with dates.\r\n\r\n## Documentation\r\nThere is a documentation site which will inform you of the methods available. The documentation contains information like parameter types, return values and a short description what each method does. The documentation can be found [here](https://tbusser.github.io/js-date-helper/)\r\n\r\n## Dependencies\r\nThe library itself has no dependencies. To be able to test and build the library a few packages are required. Most notably:\r\n- [Babel](https://babeljs.io/) to create a version of the library which can be used on Node.js\r\n- [Mocha](https://mochajs.org/) and [Chai](https://www.chaijs.com/) for unit testing\r\n- [Istanbul](https://istanbul.js.org/) for code coverage\r\n\r\n## Installation and usage\r\nTo add the library to your project, you can install it using your favorite package manager like so:\r\n```bash\r\nnpm install --save-dev js-date-helper\r\n```\r\n\r\nor\r\n```bash\r\nyarn add -D js-date-helper\r\n```\r\n\r\nWith the library installed you can import only the methods you need.\r\n```js\r\nimport { addDays, addMonths } from 'js-date-helper';\r\n```\r\nIf you use a bundler like Webpack or Rollup it will be able to tree shake the library and only bundle the library methods you use.\r\n\r\n# Missing something?\r\nIn case you're missing a feature or some of documentation is unclear, please [create an issue](https://github.com/tbusser/js-date-helper/issues) on Github.\r\n\r\n# Contributing\r\nContributions are more than welcome. If you want to contribute to this project, please keep the following in mind:\r\n- The project includes an editorconfig with rules for line feeds, indentation, etc. Make sure your changes follow to these settings.\r\n- The project uses ESLint to lint the code, please make sure your changes do not introduce linting issues.\r\n- Each library method lives in its own subfolder under the `src` folder. For each method there should be a similar named test file with the unit tests.\r\n```\r\n─ src/\r\n  └─ myCoolFeature/\r\n     ├─ myCoolFeature.js\r\n     └─ myCoolFeature.test.js\r\n```\r\n- Each method must contain unit tests to make sure everything keeps working as intended.\r\n\r\n# License\r\nThis project is released under the [MIT](https://choosealicense.com/licenses/mit/) license.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbusser%2Fjs-date-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftbusser%2Fjs-date-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbusser%2Fjs-date-helper/lists"}