{"id":18666813,"url":"https://github.com/luke-zhang-04/date-plus","last_synced_at":"2026-04-25T21:32:11.383Z","repository":{"id":42768139,"uuid":"276731895","full_name":"Luke-zhang-04/date-plus","owner":"Luke-zhang-04","description":"A tree-shakeable Date util library","archived":false,"fork":false,"pushed_at":"2023-01-07T04:47:54.000Z","size":1029,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T17:48:04.355Z","etag":null,"topics":["date","date-manipulation","javascript","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Luke-zhang-04.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":"2020-07-02T19:43:08.000Z","updated_at":"2022-01-15T22:54:43.000Z","dependencies_parsed_at":"2023-02-06T12:16:02.364Z","dependency_job_id":null,"html_url":"https://github.com/Luke-zhang-04/date-plus","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luke-zhang-04%2Fdate-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luke-zhang-04%2Fdate-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luke-zhang-04%2Fdate-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luke-zhang-04%2Fdate-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luke-zhang-04","download_url":"https://codeload.github.com/Luke-zhang-04/date-plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239493675,"owners_count":19647995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","date-manipulation","javascript","typescript"],"created_at":"2024-11-07T08:34:10.673Z","updated_at":"2025-11-06T13:30:36.406Z","avatar_url":"https://github.com/Luke-zhang-04.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Date Plus\n\n\u003cp\u003e\n    \u003ca href=\"https://github.com/Luke-zhang-04/date-plus/actions?query=workflow%3A%22Node.js+CI%22\"\u003e\u003cimg src=\"https://img.shields.io/github/workflow/status/luke-zhang-04/date-plus/Node.js CI?logo=github\" alt=\"build status\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/Luke-zhang-04/date-plus/blob/master/dist/iife/dateplus.min.js\"\u003e\u003cimg src=\"https://img.badgesize.io/https:/raw.githubusercontent.com/Luke-zhang-04/date-plus/master/dist/iife/dateplus.min.js?label=iife/dateplus.min.js%20gzip\u0026compression=gzip\" alt=\"bundle min gzip size\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/Luke-zhang-04/date-plus/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/luke-zhang-04/date-plus\" alt=\"license\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@luke-zhang-04/dateplus\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/luke-zhang-04/date-plus?include_prereleases\" alt=\"github version\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@luke-zhang-04/dateplus\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@luke-zhang-04/dateplus?logo=npm\" alt=\"npm version\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@luke-zhang-04/dateplus\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/@luke-zhang-04/dateplus\" alt=\"all time npm downloads\"/\u003e\u003c/a\u003e\n    \u003cbr/\u003e\n    \u003ca href=\"https://codeclimate.com/github/Luke-zhang-04/date-plus/maintainability\"\u003e\u003cimg src=\"https://img.shields.io/codeclimate/maintainability-percentage/Luke-zhang-04/date-plus?label=Maintainability\u0026logo=code-climate\" alt=\"maintainability\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://codeclimate.com/github/Luke-zhang-04/date-plus/test_coverage\"\u003e\u003cimg src=\"https://img.shields.io/codeclimate/coverage/Luke-zhang-04/date-plus?label=Coverage\u0026logo=code-climate\" alt=\"coverage\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nA simple library to assist with date manipulation, comprising of a series of simple functions for convenience.\n\n## Difference from date-fns\n\nI didn't know about date-fns when I wrote this. Honestly, go use [date-fns](https://github.com/date-fns/date-fns) instead.\n\n## Installation\n\nDownload from NPM\n\n```bash\n# Using NPM\nnpm i @luke-zhang-04/dateplus --save\n\n#using Yarn\nyarn add @luke-zhang-04/dateplus\n```\n\nGet bundles with curl\n\n```bash\ncurl -L https://github.com/Luke-zhang-04/date-plus/releases/download/v\u003cVERSION_NAME\u003e/dateplus.bundle.min.js -O js/dateplus.bundle.min.js # Download minified file (recommended)\n\ncurl -L https://github.com/Luke-zhang-04/date-plus/releases/download/v\u003cVERSION_NAME\u003e/dateplus.bundle.js -O js/dateplus.bundle.js # Download not minfiied file (not recommended for production)\n```\n\n## Usage\n\nRun in a node environment with a `require` or `import` statement\n\n```js\nconst {default: DatePlus} = require(\"@luke-zhang-04/dateplus\")\nimport DatePlus from \"@luke-zhang-04/dateplus\"\n\nconst myDate = new DatePlus()\n```\n\nRun in a browser environment by either using webpack or an alternative on the previous solution, or by adding the `dateplus.min.js` to your javascript within the HTML by downloading it or using a CDN\n\n```html\n\u003cscript src=\"js/dateplus.min.js\"\u003e\u003c/script\u003e\n\u003c!-- OR --\u003e\n\u003cscript src=\"https://unpkg.com/@luke-zhang-04/dateplus@4.0.0-beta2/dist/esm/dateplus.min.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n    const {default: DatePlus} = DatePlus\n    const myDate = new DatePlus()\n\u003c/script\u003e\n```\n\n## Documentation\n\nFor documentation, visit the [dateplus wiki](https://github.com/Luke-zhang-04/date-plus/wiki)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluke-zhang-04%2Fdate-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluke-zhang-04%2Fdate-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluke-zhang-04%2Fdate-plus/lists"}