{"id":18926764,"url":"https://github.com/ladjs/dayjs-with-plugins","last_synced_at":"2025-10-06T17:54:55.941Z","repository":{"id":42367824,"uuid":"214255438","full_name":"ladjs/dayjs-with-plugins","owner":"ladjs","description":"Day.js with all plugins and locales added out of the box, no need to use dayjs.extend!","archived":false,"fork":false,"pushed_at":"2024-06-25T19:28:47.000Z","size":305,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T02:01:53.796Z","etag":null,"topics":["alternative","api","browser","bundler","date","datetime","day","dayjs","format","formatter","javascript","moment","node","replacement"],"latest_commit_sha":null,"homepage":"https://github.com/iamkun/dayjs","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/ladjs.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":"2019-10-10T18:22:13.000Z","updated_at":"2024-08-16T04:25:02.000Z","dependencies_parsed_at":"2023-02-09T14:15:35.229Z","dependency_job_id":null,"html_url":"https://github.com/ladjs/dayjs-with-plugins","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fdayjs-with-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fdayjs-with-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fdayjs-with-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fdayjs-with-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ladjs","download_url":"https://codeload.github.com/ladjs/dayjs-with-plugins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819648,"owners_count":21166515,"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":["alternative","api","browser","bundler","date","datetime","day","dayjs","format","formatter","javascript","moment","node","replacement"],"created_at":"2024-11-08T11:17:06.462Z","updated_at":"2025-10-06T17:54:50.917Z","avatar_url":"https://github.com/ladjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dayjs-with-plugins\n\n[![build status](https://github.com/ladjs/dayjs-with-plugins/actions/workflows/ci.yml/badge.svg)](https://github.com/ladjs/dayjs-with-plugins/actions/workflows/ci.yml)\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)\n[![license](https://img.shields.io/github/license/ladjs/dayjs-with-plugins.svg)](LICENSE)\n[![npm downloads](https://img.shields.io/npm/dt/dayjs-with-plugins.svg)](https://npm.im/dayjs-with-plugins)\n\n\u003e Day.js with all plugins and locales added out of the box, no need to use `dayjs.extend` nor `dayjs.locale`!\n\n\n## Table of Contents\n\n* [Install](#install)\n* [Usage](#usage)\n  * [Node](#node)\n  * [Browser](#browser)\n  * [Debugging](#debugging)\n* [Contributors](#contributors)\n* [License](#license)\n\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install dayjs dayjs-with-plugins\n```\n\n\n## Usage\n\n### Node\n\n```js\nconst dayjs = require('dayjs-with-plugins');\n\nconsole.log('M/D/YY', dayjs().format('M/D/YY'));\n```\n\n### Browser\n\n#### VanillaJS\n\nThis is the solution for you if you're just using `\u003cscript\u003e` tags everywhere!\n\n```html\n\u003cscript src=\"https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=Promise\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://unpkg.com/dayjs-with-plugins\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n  (function() {\n    console.log('M/D/YY', dayjs().format('M/D/YY'));\n  })();\n\u003c/script\u003e\n```\n\n##### Required Browser Features\n\nWe recommend using \u003chttps://cdnjs.cloudflare.com/polyfill\u003e (specifically with the bundle mentioned in [VanillaJS](#vanillajs) above):\n\n```html\n\u003cscript src=\"https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=Promise\"\u003e\u003c/script\u003e\n```\n\n* Promise is not supported in op\\_mini all\n\n#### Bundler\n\nThis assumes you are using [browserify][], [webpack][], [rollup][], or another bundler.\n\nSee [Node](#node) usage above for how to use in a bundler environment.\n\n### Debugging\n\nYou can use `NODE_DEBUG=dayjs-with-plugins node app.js` to debug output from this package.\n\n\n## Contributors\n\n| Name           | Website                    |\n| -------------- | -------------------------- |\n| **Nick Baugh** | \u003chttp://niftylettuce.com/\u003e |\n\n\n## License\n\n[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)\n\n\n##\n\n[npm]: https://www.npmjs.com/\n\n[browserify]: https://github.com/browserify/browserify\n\n[webpack]: https://github.com/webpack/webpack\n\n[rollup]: https://github.com/rollup/rollup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fdayjs-with-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fladjs%2Fdayjs-with-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fdayjs-with-plugins/lists"}