{"versions":{"1.0.0-beta.1":{"name":"@messageformat/date-skeleton","version":"1.0.0-beta.1","description":"A parser & formatter for ICU DateFormat skeleton strings","keywords":["icu","messageformat","dateformat","skeleton","parser","formatter"],"author":{"name":"Eemeli Aro","email":"eemeli@gmail.com"},"license":"MIT","homepage":"https://github.com/messageformat/messageformat/tree/master/packages/date-skeleton#readme","repository":{"type":"git","url":"git+https://github.com/messageformat/messageformat.git","directory":"packages/date-skeleton"},"type":"module","main":"lib/index.js","scripts":{"build":"tsc","extract-api":"api-extractor run --local --verbose"},"gitHead":"af63ee0186c6f9ac2255da2ad476fd3d74cfa6ed","bugs":{"url":"https://github.com/messageformat/messageformat/issues"},"_id":"@messageformat/date-skeleton@1.0.0-beta.1","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.1/node@v14.7.0+x64 (darwin)","dist":{"integrity":"sha512-W64xKBMSJHwuKrNM4/URtqtXFnCKxdZW8WTTUnfCGzYl1ZcAiWfcMYcZOUmqo6niVBOyPBiMIzKXCc8+zZ1vGQ==","shasum":"7e01df7dae626d38004966591e9d4d2e4b90fd63","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@messageformat/date-skeleton/-/date-skeleton-1.0.0-beta.1.tgz","fileCount":12,"unpackedSize":27668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfw9feCRA9TVsSAnZWagAAg6gQAJRSdQ7/s2MmiQRaZohx\n7Kjr2oKHi5SzGPI6eO1E8mmpUmh7cWDLQPWv++us6BFX+wBn+IQsqbOQ3U8z\nzZzsX3IIWeKiG0oi+nJrmB4wtPdetzgY7vtEnfu4/4wk4YR74zgvwV+Ft+90\n5Sxvzq9XcGkoohDPFNZ76/Weh+6gQUnsAKDP6y/tnjBJ7IuhYc0oxaU1H3X5\nqb4czZVxGbxZRzsSWWZQux79TNOqzxfULgMfe60FJUwyDZd31eifSA1XDmwV\nyr+O2NV0onZdTMDmRfQ2+DhRnaojiHk0cQdX8dzGBoruSjKJRFjU6zuhxzSL\nLZwCfeeP2H8r3iBaP6mCEos4KEWinmb/m5jF9Kj70bffTh4oJYvqMSgMWy/9\nHMYdG6NTvKc1vE66P22sk/qjVcxTs0uP9Y3Ak2cvSLFoeSGTKKy6ZV46QZOK\nPkLt/1LxxslUXOB37JDQPEPyNOXSVp+XVyuQPNKyVzw5s9BYmJD2vXzTLoTl\ngTlx2GaLhLohHBc5Qjc2Sb+NJbprejyhl8uGW9HTpGD/oJP3xBU5fTSTDwQG\nkur6tONEJ7DDzje7PEzyga6vY52TigAEHBW7mghmqn5lNnDx3Frbx4204bcu\nxauoucC/6Oxhl8EuJbISDi+J4hpkVC+Ci9wHd26FtmQl2YfW61z0OE2OAepZ\nG+qg\r\n=mHQc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHp6odEI+yRUPRiMqaYXAOX7NUnGZXNAhl/9VZ1eA+xiAiAWDaVY60mxKSDYBhvV4rVK9iUgBhawIrZUQ3j53rl61g=="}]},"_npmUser":{"name":"anonymous","email":"eemeli@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"eemeli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-skeleton_1.0.0-beta.1_1606670302006_0.505944296126426"},"_hasShrinkwrap":false,"contributors":[]},"1.0.0":{"name":"@messageformat/date-skeleton","version":"1.0.0","description":"A parser & formatter for ICU DateFormat skeleton strings","keywords":["icu","messageformat","dateformat","skeleton","parser","formatter"],"contributors":[{"name":"Eemeli Aro","email":"eemeli@gmail.com"}],"license":"MIT","homepage":"http://messageformat.github.io/messageformat/api/date-skeleton/","repository":{"type":"git","url":"git+https://github.com/messageformat/messageformat.git","directory":"packages/date-skeleton"},"type":"module","main":"lib/index.js","scripts":{"build":"tsc","extract-api":"api-extractor run --local --verbose"},"gitHead":"33ca9027809512d85bd7d212957afb85e7dd39c4","bugs":{"url":"https://github.com/messageformat/messageformat/issues"},"_id":"@messageformat/date-skeleton@1.0.0","_nodeVersion":"15.11.0","_npmVersion":"lerna/3.22.1/node@v15.11.0+x64 (darwin)","dist":{"integrity":"sha512-vvj5Sd3VyXUHGbYpiFsPsSQ8pkdUM9vrR/NUbyP6ga3UqJH4p9eCwzfwaCAZatZMYMTyiKG/8QbUyGKHeTZ5kw==","shasum":"a3bc22f0943b7f2871980cf2d7aa870195f19b06","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@messageformat/date-skeleton/-/date-skeleton-1.0.0.tgz","fileCount":12,"unpackedSize":27796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnRWECRA9TVsSAnZWagAAEO4P/02fx9hyI2c3PGy0szO+\nhjdurXISokvyzNakWbYgXyaEOXDCfBUTrAFbaQayDN6psNklb+85XQEOu7Xn\nYXpr22TqnKBzZ4ZcW18WzKi2VNvglxv/J89nc+ZblKzpl8dxelHxkEVnb4Yx\nhJZHwdmKwqGFrmakEHwK6cBsWxH4qJnnSb6uoYddZ8OE/HhuH6GMb59G7R3T\nfTA9Sq/3c3AMj4JsdL5sIDUnkLbbQHS6mAZolOS7PjEkxPENRJZ4V3HrE2pP\n2Ys0FXkRkoIY9RpdwVqlmCee4To/WBZPhVnfbnymRdllSHmeRmox3j3UDTxO\nivp0Zz2J+LSM8w2qxYI1OWtpwZ0Ie/3ykRN/8zBxK2PuHAqZMSFmZzWkXhXx\nd++0xObKAGQbn+PXXFkA/0hlmmWewNEIFYSOBU+wJ8rzCQ7SsuTJYZTQLeXA\nqfw6fiUIGgJmO1IDnDEfHHSlbDiOGwDjxw96aG5SPjGaEkMhRb0I4prF4j6n\naCioHYzXehba3e2WnnUXc6UlLeuqLYmU52v0N7bwTakvydGOXtj37rjzoLAC\nQNRwqrZ0My0EIBC0ug3hacFZ+LNhU+mCWuKaatdLUksmTKRN9oZjtm7HsjFo\nSw1A+vkcTb9Cyp8woOVNli/y2PhItN+xgBIffHSbSkEqOJthyXVoFXUO8xxK\nf6rF\r\n=QCyF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqKGzcKNB5D1vIZm9y7TUVssQqxCLh9zxBAFf6jTQvwAiA1favwKjBhFTYUGgFQDL3tfcjTmq8ezj3rtuL3rRVH4w=="}]},"_npmUser":{"name":"anonymous","email":"eemeli@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"eemeli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-skeleton_1.0.0_1620907395989_0.1825535850084501"},"_hasShrinkwrap":false},"1.0.1":{"name":"@messageformat/date-skeleton","version":"1.0.1","description":"A parser & formatter for ICU DateFormat skeleton strings","keywords":["icu","messageformat","dateformat","skeleton","parser","formatter"],"contributors":[{"name":"Eemeli Aro","email":"eemeli@gmail.com"}],"license":"MIT","homepage":"http://messageformat.github.io/messageformat/api/date-skeleton/","repository":{"type":"git","url":"git+https://github.com/messageformat/messageformat.git","directory":"packages/date-skeleton"},"type":"module","main":"lib/index.js","scripts":{"build":"tsc --project tsconfig.build.json","extract-api":"api-extractor run --verbose"},"types":"./lib/index.d.ts","gitHead":"ccc54e801761fcb1796d0b283cc3036e4f539d21","bugs":{"url":"https://github.com/messageformat/messageformat/issues"},"_id":"@messageformat/date-skeleton@1.0.1","_nodeVersion":"18.3.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-jPXy8fg+WMPIgmGjxSlnGJn68h/2InfT0TNSkVx0IGXgp4ynnvYkbZ51dGWmGySEK+pBiYUttbQdu5XEqX5CRg==","shasum":"980b8babe21a11433b6e1e8f6dc8c4cae4f5f56b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@messageformat/date-skeleton/-/date-skeleton-1.0.1.tgz","fileCount":11,"unpackedSize":26973,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHs0Lcn4HsnVJPuCgvjwNuUgyxsMOM2XjdwioWX4FINjAiAKSoZg9pO57eZTqHqgwk6lVCBZuKpxlI7dMOghlvRuTA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0wZoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2BQ/9GafoJTYt7bDgI39mXzZ+Dbx2SB+Tvu/OYHC52h/3WVdakt0Q\r\ncAW0hRxbjBQNju1nIsK7ChBSp+dVviAJErL58gWZUZZ453QaMvHy92IVQGaD\r\nG2VAgTFKRGVxqOqgXTjC8cEucySu0Idpg1wYdzVbRgcrYYp4zMeuYZaSYzoJ\r\nnzaChwa65rm4noypIKk9nEZDMNTIXiLkdNfQMW0WHHvAiC6Ri14Ka48ZJDAh\r\nuDXXP0/Mrowao32wa5WLHhFAtJqSvrIOs2392MTwu8FlhwN4vlQjk1XBbRbS\r\nBPXchHCNI6LTL909Fso63fe+tRpdYlEw1JIQgvpeSiCX4YzK/wU0jJUbHVQ9\r\nrFhbte4nvb8M/MZVnPm8TgWk5O+NKwg0smeAvlBpErEWO6p3aG4DoavzFIx6\r\nHjJH8dmnBtiURl84SnxLXdmBEoixmSaAIaGZQkqPSn5OCDJXOJPQpxg/eI63\r\nyWmr5ldwwHELmAgfGHRRZJvu1LmhpLyh9vbitTBL2dwjN/hmUXLjUVgX6b34\r\n3RIjMcSyCwAk5WLmu/oNeoJshh5jqzjWiJOEXD2AW2wW5rTxudmIgNNBP14E\r\nGtnYlQ7KQFdxKIOy2wZiorB0o9ZjsFtRJDrJbAZLEB0U0KaYOeTkqtLWurZY\r\nk/hLbpHEl9CE8CyDwXs/t5/58AZmgp5G/9E=\r\n=9mFx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anonymous","email":"eemeli@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"eemeli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-skeleton_1.0.1_1657996903884_0.9572232860347709"},"_hasShrinkwrap":false},"1.1.0":{"name":"@messageformat/date-skeleton","version":"1.1.0","description":"A parser & formatter for ICU DateFormat skeleton strings","keywords":["icu","messageformat","dateformat","skeleton","parser","formatter"],"contributors":[{"name":"Eemeli Aro","email":"eemeli@gmail.com"}],"license":"MIT","homepage":"http://messageformat.github.io/messageformat/api/date-skeleton/","repository":{"type":"git","url":"git+https://github.com/messageformat/messageformat.git","directory":"packages/date-skeleton"},"type":"module","main":"lib/index.js","scripts":{"build":"tsc --project tsconfig.build.json","extract-api":"api-extractor run --verbose"},"_id":"@messageformat/date-skeleton@1.1.0","gitHead":"97dbedbbe91e192ab616dc09595f11f2e4e56fb6","types":"./lib/index.d.ts","bugs":{"url":"https://github.com/messageformat/messageformat/issues"},"_nodeVersion":"22.8.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-rmGAfB1tIPER+gh3p/RgA+PVeRE/gxuQ2w4snFWPF5xtb5mbWR7Cbw7wCOftcUypbD6HVoxrVdyyghPm3WzP5A==","shasum":"3bad068cbf5873d14592cfc7a73dd4d8615e2739","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@messageformat/date-skeleton/-/date-skeleton-1.1.0.tgz","fileCount":11,"unpackedSize":28176,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRscHs1yxPU4PoBGRBJUXZI4mtPwQtbgGtOBGWx47I6AiEA5CqYaqtfLzmUZBeglmzUz1VYs2Z5L1BRkdDraiZE3Gs="}],"size":6226},"_npmUser":{"name":"anonymous","email":"eemeli@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"eemeli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/date-skeleton_1.1.0_1727891824652_0.668430840986564"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-02T17:57:04.823Z","publish_time":1727891824823,"_source_registry_name":"default"},"2.0.0-0":{"name":"@messageformat/date-skeleton","version":"2.0.0-0","description":"A parser & formatter for ICU DateFormat skeleton strings","keywords":["icu","messageformat","dateformat","skeleton","parser","formatter"],"contributors":[{"name":"Eemeli Aro","email":"eemeli@gmail.com"}],"license":"MIT","homepage":"http://messageformat.github.io/messageformat/api/date-skeleton/","repository":{"type":"git","url":"git+https://github.com/messageformat/messageformat.git","directory":"packages/date-skeleton"},"type":"module","main":"lib/index.js","scripts":{"build":"tsc --project tsconfig.build.json","extract-api":"api-extractor run --verbose"},"_id":"@messageformat/date-skeleton@2.0.0-0","readmeFilename":"README.md","gitHead":"807f10b1ad34498658ff32717f603c592daff26c","types":"./lib/index.d.ts","bugs":{"url":"https://github.com/messageformat/messageformat/issues"},"_nodeVersion":"23.7.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-gkCatAK4MYlhjKYWxkfRM6Ql0M1VmA1DK6A9rszUBprZpQox/XqX987AI2w7YoEz0p5DgkPOpI6PK1mW08yNqQ==","shasum":"a2b2038b49d7c5c1972bd56d3deca10ec739e3d4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@messageformat/date-skeleton/-/date-skeleton-2.0.0-0.tgz","fileCount":11,"unpackedSize":28166,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH70r8yIKlmBkn7VcIE7xdZtBCnZqZ2O31o/4egYtBbBAiEAxwcvtUULGfkLcpDc6v1uZf7fMRa0yQ4CQaEXbUeWrjk="}],"size":5528},"_npmUser":{"name":"anonymous","email":"eemeli@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"eemeli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/date-skeleton_2.0.0-0_1742822994243_0.7450396793891383"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-24T13:29:54.437Z","publish_time":1742822994437,"_source_registry_name":"default"}},"dist-tags":{"latest":"1.1.0","next":"2.0.0-0"},"name":"@messageformat/date-skeleton","time":{"created":"2022-01-27T10:43:41.620Z","1.0.0-beta.1":"2020-11-29T17:18:22.153Z","modified":"2025-03-24T14:20:13.492Z","1.0.0":"2021-05-13T12:03:16.147Z","1.0.1":"2022-07-16T18:41:44.045Z","1.1.0":"2024-10-02T17:57:04.823Z","2.0.0-0":"2025-03-24T13:29:54.437Z"},"readme":"# @messageformat/date-skeleton\n\nTools for working with [ICU DateFormat skeletons](http://userguide.icu-project.org/formatparse/datetime)<!-- -->.\n\n```js\nimport {\n  DateFormatError,\n  DateToken, // TS only\n  getDateFormatter,\n  getDateFormatterSource,\n  parseDateTokens\n} from '@messageformat/date-skeleton';\n```\n\nThe package is released as an ES module only. If using from a CommonJS context, you may need to `import()` it, or use a module loader like [esm](https://www.npmjs.com/package/esm)<!-- -->.\n\nUses [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat) internally. Position-dependent ICU DateFormat [patterns](https://unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns) are not supported, as they cannot be represented with Intl.DateTimeFormat options.\n\n## Classes\n\n| Class                                                                                               | Description              |\n| --------------------------------------------------------------------------------------------------- | ------------------------ |\n| [DateFormatError](https://messageformat.github.io/messageformat/api/date-skeleton.dateformaterror/) | Parent class for errors. |\n\n## Functions\n\n| Function                                                                                                                                              | Description                                                                                                                                                                                                                                                                                                                                            |\n| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| [getDateFormatter(locales, tokens, onError)](https://messageformat.github.io/messageformat/api/date-skeleton.getdateformatter/)                       | Returns a date formatter function for the given locales and date skeleton                                                                                                                                                                                                                                                                              |\n| [getDateFormatter(locales, tokens, timeZone, onError)](https://messageformat.github.io/messageformat/api/date-skeleton.getdateformatter/)             | Returns a date formatter function for the given locales and date skeleton with time zone overrride.                                                                                                                                                                                                                                                    |\n| [getDateFormatterSource(locales, tokens, onError)](https://messageformat.github.io/messageformat/api/date-skeleton.getdateformattersource/)           | Returns a string of JavaScript source that evaluates to a date formatter function with the same <code>(date: Date &#124; number) =&gt; string</code> signature as the function returned by [getDateFormatter()](https://github.com/messageformat/messageformat/blob/main/docs/api/date-skeleton.getdateformatter.md)<!-- -->.                          |\n| [getDateFormatterSource(locales, tokens, timeZone, onError)](https://messageformat.github.io/messageformat/api/date-skeleton.getdateformattersource/) | Returns a string of JavaScript source that evaluates to a date formatter function with the same <code>(date: Date &#124; number) =&gt; string</code> signature as the function returned by [getDateFormatter()](https://github.com/messageformat/messageformat/blob/main/docs/api/date-skeleton.getdateformatter.md) with time zone override <!-- -->. |\n| [parseDateTokens(src)](https://messageformat.github.io/messageformat/api/date-skeleton.parsedatetokens/)                                              | Parse an [ICU DateFormat skeleton](http://userguide.icu-project.org/formatparse/datetime) string into a [DateToken](https://github.com/messageformat/messageformat/blob/main/docs/api/date-skeleton.datetoken.md) array.                                                                                                                               |\n\n## Type Aliases\n\n| Type Alias                                                                              | Description                                              |\n| --------------------------------------------------------------------------------------- | -------------------------------------------------------- |\n| [DateToken](https://messageformat.github.io/messageformat/api/date-skeleton.datetoken/) | An object representation of a parsed date skeleton token |\n\n---\n\n[Messageformat] is an OpenJS Foundation project, and we follow its [Code of Conduct].\n\n[messageformat]: https://messageformat.github.io/\n[code of conduct]: https://code-of-conduct.openjsf.org/\n\n<a href=\"https://openjsf.org\">\n<img width=200 alt=\"OpenJS Foundation\" src=\"https://messageformat.github.io/messageformat/logo/openjsf.svg\" />\n</a>","users":{}}