{"name":"dayjs","version":"1.5.24","description":"2KB immutable date library alternative to Moment.js with the same modern API ","main":"dist/dayjs.min.js","types":"index.d.ts","scripts":{"test":"jest","lint":"eslint src/* test/*","build":"BABEL_ENV=build rollup -c","sauce":"npx karma start karma.sauce.conf.js","test:sauce":"npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2  && npm run sauce -- 3","gzip-size":"gzip-size ./dist/*.min.js"},"pre-commit":["lint"],"jest":{"testRegex":"test/.*test.js$","coverageDirectory":"./coverage/","collectCoverage":true,"collectCoverageFrom":["src/*"]},"keywords":["dayjs","date","time","immutable","moment"],"author":{"name":"iamkun"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/xx45/dayjs.git"},"devDependencies":{"@babel/cli":"^7.0.0-beta.44","@babel/core":"^7.0.0-beta.44","@babel/node":"^7.0.0-beta.44","@babel/preset-env":"^7.0.0-beta.44","babel-core":"^7.0.0-bridge.0","babel-jest":"^22.4.3","babel-plugin-external-helpers":"^6.22.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.10.0","eslint-plugin-jest":"^21.15.0","gzip-size-cli":"^2.1.0","jasmine-core":"^2.99.1","jest":"^22.4.3","karma":"^2.0.2","karma-jasmine":"^1.1.2","karma-sauce-launcher":"^1.1.0","mockdate":"^2.0.2","moment":"^2.22.0","pre-commit":"^1.2.2","rollup":"^0.57.1","rollup-plugin-babel":"^4.0.0-beta.4","rollup-plugin-uglify":"^3.0.0"},"gitHead":"e00b9432951b434331c0e04309cf4e59d8cbce71","bugs":{"url":"https://github.com/xx45/dayjs/issues"},"homepage":"https://github.com/xx45/dayjs#readme","_id":"dayjs@1.5.24","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"iamkun","email":"kunhello@outlook.com"},"dist":{"integrity":"sha512-XkasRNJN1GxVUovqt7Eypj9tWdIOwy286HCzDLHn4KGhPfEqHWWdKy3c0pjWCIf6Xf89h0NLvKQysMyyA2i8Lw==","shasum":"840e8dce359a552beacc0ba38fb819153929833b","tarball":"http://registry-npm.ywwl.com/dayjs/download/dayjs-1.5.24.tgz","fileCount":23,"unpackedSize":62425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa89wFCRA9TVsSAnZWagAA4IgP/RMj+XTo75aIRTAeiIYY\nyCfV9dQD9b6KFjlV1jAccstQW1yxZwJJVWpaL5IUVuT2Bs5DzgvZBxu5Sumo\nGQG7pcPdNCBHcwhSWnGEjs9mu3lzX1v/pQN3Q0V1rA9s9dUzmilHKy7JQaPW\nvJ/wVbXNQmK/upUzxRZIOGHScfjAezb8gO3myoNHrImHo6AHjbj7AMqs7IZM\n2IAZX4XxJcojCmmbN+3A0OlZTypq7P2XU06E7yMhUvxZbPMsiTzPoOxEkZDJ\n7wIIRM+J43UYg1hHGnakgbzw6V9kNNyS622pqIIeH8CMu8LP6pFlznl61zt8\nX6+C7Q6iRO4TO7ASNQajlOTtNES9Vvc2oJ8sYWJ31ZmhLQum7QC13JT05/fJ\nNJjg6YpLZp71d+1hsfecefH1XWrzVQWUpksBtJP4XYBi3eatVl1rcWoOuo1f\nrjCk2xF0MpxYEtJrSdd7wO7CEQABURAdeZmkJmSNLSjuazkFFRx24IBbHk0q\nARBWtbSbFgo2k9Q/GoZc/vfyUqgtEJy9fgiZgDoA9IyvnaKyJJBytEdr3pwa\nSr4xE/K+6e2hSkpRo0jaMa8DthphXXDEztTC8WU8DHB2Zh2beGlxEwUUPlS/\nh0n6pLymFvdttofWv7/X6z2AjgDbKGXMg1FJVmw5Gn/l12xG5TfR6uZ9Ku/X\nskpP\r\n=YAC1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5KrIQYjzvpkSmDWs0b8/hjic02IktYWTJWnvhtriwoQIhAITQEFSLKkGZWTSj13rRaR5Cp5kfDNmcS6M5BRjwdig0"}],"size":17866,"noattachment":false,"key":"/dayjs/-/dayjs-1.5.24.tgz"},"maintainers":[{"name":"iamkun","email":"kunhello@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dayjs_1.5.24_1525931011939_0.25065775916101574"},"_hasShrinkwrap":false,"readme":"English | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/README-pt-br.md) | [한국어](./docs/ko/README-ko.md) | [Español (España)](./docs/es-es/README-es-es.md) | [Русский](./docs/ru/README-ru.md) | [Türkçe](./docs/tr/README-tr.md) | [සිංහල](./docs/si/README-si.md) | [עברית](./docs/he/README-he.md)\n\n<p align=\"center\"><a href=\"https://day.js.org/\" target=\"_blank\" rel=\"noopener noreferrer\"><img width=\"550\"\n                                                                             src=\"https://user-images.githubusercontent.com/17680888/39081119-3057bbe2-456e-11e8-862c-646133ad4b43.png\"\n                                                                             alt=\"Day.js\" /></a></p>\n<p align=\"center\">Fast <b>2kB</b> alternative to Moment.js with the same modern API</p>\n<p align=\"center\">\n    <a href=\"https://unpkg.com/dayjs/dayjs.min.js\"><img\n            src=\"https://img.badgesize.io/https://unpkg.com/dayjs/dayjs.min.js?compression=gzip&style=flat-square\"\n            alt=\"Gzip Size\"></a>\n    <a href=\"https://www.npmjs.com/package/dayjs\"><img src=\"https://img.shields.io/npm/v/dayjs.svg?style=flat-square&colorB=51C838\"\n                                                       alt=\"NPM Version\"></a>\n    <a href=\"https://github.com/iamkun/dayjs/actions/workflows/check.yml\"><img\n            src=\"https://img.shields.io/github/actions/workflow/status/iamkun/dayjs/check.yml?style=flat-square\" alt=\"Build Status\"></a>\n    <a href=\"https://codecov.io/gh/iamkun/dayjs\"><img\n            src=\"https://img.shields.io/codecov/c/github/iamkun/dayjs/master.svg?style=flat-square\" alt=\"Codecov\"></a>\n    <a href=\"https://github.com/iamkun/dayjs/blob/master/LICENSE\"><img\n            src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\" alt=\"License\"></a>\n    <br>\n    <a href=\"https://saucelabs.com/u/dayjs\">\n        <img width=\"750\" src=\"https://user-images.githubusercontent.com/17680888/40040137-8e3323a6-584b-11e8-9dba-bbe577ee8a7b.png\" alt=\"Sauce Test Status\">\n    </a>\n</p>\n\n> Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API. If you use Moment.js, you already know how to use Day.js.\n\n```js\ndayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');\n```\n\n* 🕒 Familiar Moment.js API & patterns\n* 💪 Immutable\n* 🔥 Chainable\n* 🌐 I18n support\n* 📦 2kb mini library\n* 👫 All browsers supported\n\n---\n\n## Getting Started\n\n### Documentation\n\nYou can find more details, API, and other docs on [day.js.org](https://day.js.org/) website.\n\n### Installation\n\n```console\nnpm install dayjs --save\n```\n\n📚[Installation Guide](https://day.js.org/docs/en/installation/installation)\n\n### API\n\nIt's easy to use Day.js APIs to parse, validate, manipulate, and display dates and times.\n\n```javascript\ndayjs('2018-08-08') // parse\n\ndayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display\n\ndayjs().set('month', 3).month() // get & set\n\ndayjs().add(1, 'year') // manipulate\n\ndayjs().isBefore(dayjs()) // query\n```\n\n📚[API Reference](https://day.js.org/docs/en/parse/parse)\n\n### I18n\n\nDay.js has great support for internationalization.\n\nBut none of them will be included in your build unless you use it.\n\n```javascript\nimport 'dayjs/locale/es' // load on demand\n\ndayjs.locale('es') // use Spanish locale globally\n\ndayjs('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance\n```\n\n📚[Internationalization](https://day.js.org/docs/en/i18n/i18n)\n\n### Plugin\n\nA plugin is an independent module that can be added to Day.js to extend functionality or add new features.\n\n```javascript\nimport advancedFormat from 'dayjs/plugin/advancedFormat' // load on demand\n\ndayjs.extend(advancedFormat) // use plugin\n\ndayjs().format('Q Do k kk X x') // more available formats\n```\n\n📚[Plugin List](https://day.js.org/docs/en/plugin/plugin)\n\n### Usage Trend\n\n<a href=\"https://npm-compare.com/moment,dayjs/#timeRange=THREE_YEARS\" target=\"_blank\">\n  <img src=\"https://user-images.githubusercontent.com/3455798/270162667-c7bd2ebe-675e-45c6-a2c9-dc67f3b65d6e.png\">\n</a>\n\n## Sponsors\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website.\n\n[[Become a sponsor via Github](https://github.com/sponsors/iamkun/)] [[Become a sponsor via OpenCollective](https://opencollective.com/dayjs#sponsor)]\n\n<a href=\"https://toyokumo.co.jp\" target=\"_blank\">\n  <img width=\"70\" src=\"https://user-images.githubusercontent.com/17680888/197092231-2367b5eb-1e43-467e-a311-23f7cd97b086.png\">\n</a>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://github.com/alan-eu\" target=\"_blank\">\n  <img width=\"70\" src=\"https://avatars.githubusercontent.com/u/18175329?s=52&v=4\">\n</a>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://opencollective.com/sight-and-sound-ministries\" target=\"_blank\">\n  <img width=\"70\" src=\"https://user-images.githubusercontent.com/17680888/232316426-cb99b4cf-0ccb-4e73-a6ce-e16dba6aadf4.png\">\n</a>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://chudovo.com/\" target=\"_blank\">\n  <img width=\"70\" src=\"https://images.opencollective.com/chudovo/3c866f5/logo/256.png?height=256\">\n</a>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://github.com/ken-swyfft\" target=\"_blank\">\n  <img width=\"70\" src=\"https://avatars.githubusercontent.com/u/65305317?v=4\">\n</a>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://github.com/storyblok\" target=\"_blank\">\n  <img width=\"70\" src=\"https://avatars.githubusercontent.com/u/13880908?s=200&v=4\">\n</a>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://www.exoflare.com/open-source/?utm_source=dayjs&utm_campaign=open_source\" target=\"_blank\">\n  <img width=\"70\" src=\"https://user-images.githubusercontent.com/17680888/162761622-1407a849-0c41-4591-8aa9-f98114ec2092.png\">\n</a>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://bestkru.com/\" target=\"_blank\">\n  <img width=\"70\" src=\"https://avatars.githubusercontent.com/u/159320286\" alt=\"BestKru\">\n</a>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://opencollective.com/anonstories\" target=\"_blank\"><img width=\"70\" src=\"https://images.opencollective.com/anonstories/7e826c0/avatar/256.png\"></a>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<a href=\"https://opencollective.com/datawrapper\" target=\"_blank\"><img width=\"70\" src=\"https://images.opencollective.com/datawrapper/c13e229/logo.png\"></a>\n\n## Contributors\n\nThis project exists thanks to all the people who contribute.\n\nPlease give us a 💖 star 💖 to support us. Thank you.\n\nAnd thank you to all our backers! 🙏\n\n<a href=\"https://opencollective.com/dayjs/backer/0/website?requireActive=false\" target=\"_blank\"><img width=\"35\" src=\"https://opencollective.com/dayjs/backer/0/avatar.svg?requireActive=false\"></a>\n<a href=\"https://opencollective.com/dayjs/backer/1/website?requireActive=false\" target=\"_blank\"><img width=\"35\" src=\"https://opencollective.com/dayjs/backer/1/avatar.svg?requireActive=false\"></a>\n<a href=\"https://opencollective.com/dayjs/backer/2/website?requireActive=false\" target=\"_blank\"><img width=\"35\" src=\"https://opencollective.com/dayjs/backer/2/avatar.svg?requireActive=false\"></a>\n<a href=\"https://opencollective.com/dayjs/backer/3/website?requireActive=false\" target=\"_blank\"><img width=\"35\" src=\"https://opencollective.com/dayjs/backer/3/avatar.svg?requireActive=false\"></a>\n<br />\n<a href=\"https://opencollective.com/dayjs#backers\" target=\"_blank\"><img src=\"https://opencollective.com/dayjs/contributors.svg?width=890\" /></a>\n\n## License\n\nDay.js is licensed under a [MIT License](./LICENSE).\n","publish_time":1525931012001,"_cnpm_publish_time":1525931012001,"dist-tags":{"alpha":"2.0.0-alpha.4","latest":"1.11.23"}}