{"_id":"@messageformat/runtime","_rev":"3681714","name":"@messageformat/runtime","description":"Runtime components of messageformat","dist-tags":{"latest":"3.0.1"},"maintainers":[{"name":"eemeli","email":"eemeli@gmail.com"}],"time":{"modified":"2025-02-13T05:44:07.000Z","created":"2020-11-29T17:18:22.583Z","3.0.1":"2022-02-06T17:20:46.394Z","3.0.0":"2021-05-13T12:03:16.165Z","3.0.0-beta.2":"2020-11-29T17:18:22.583Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/messageformat/messageformat.git","directory":"packages/runtime"},"versions":{"3.0.1":{"name":"@messageformat/runtime","version":"3.0.1","description":"Runtime components of messageformat","keywords":["i18n","icu","messageformat","internationalization"],"contributors":[{"name":"Eemeli Aro","email":"eemeli@gmail.com"}],"license":"MIT","homepage":"https://messageformat.github.io/","repository":{"type":"git","url":"git+https://github.com/messageformat/messageformat.git","directory":"packages/runtime"},"type":"commonjs","main":"./lib/runtime.js","exports":{".":{"import":"./esm/runtime.js","default":"./lib/runtime.js"},"./lib/cardinals":{"import":"./esm/cardinals.js","default":"./lib/cardinals.js"},"./lib/formatters":{"import":"./esm/formatters.js","default":"./lib/formatters.js"},"./lib/plurals":{"import":"./esm/plurals.js","default":"./lib/plurals.js"},"./messages":{"import":"./esm/messages.js","default":"./messages.js"}},"browser":{"./lib/runtime.js":"./esm/runtime.js","./lib/cardinals.js":"./esm/cardinals.js","./lib/formatters.js":"./esm/formatters.js","./lib/plurals.js":"./esm/plurals.js","./messages.js":"./esm/messages.js"},"sideEffects":false,"scripts":{"build:cjs":"tsc --project tsconfig.build.json --declaration --module CommonJS --outDir lib","build:esm":"tsc --project tsconfig.build.json --module ES6 --outDir esm","build":"npm run build:cjs && npm run build:esm","extract-api":"api-extractor run --local --verbose","prepublishOnly":"npm run build"},"dependencies":{"make-plural":"^7.0.0"},"browserslist":["last 1 version","> 1%","maintained node versions","not dead"],"types":"./lib/runtime.d.ts","gitHead":"65f8449f6d4b9b26b33163dceab622b356da2b75","bugs":{"url":"https://github.com/messageformat/messageformat/issues"},"_id":"@messageformat/runtime@3.0.1","_nodeVersion":"17.4.0","_npmVersion":"8.3.1","dist":{"shasum":"94d1f6c43265c28ef7aed98ecfcc0968c6c849ac","size":12351,"noattachment":false,"key":"/@messageformat/runtime/-/@messageformat/runtime-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@messageformat/runtime/download/@messageformat/runtime-3.0.1.tgz"},"_npmUser":{"name":"eemeli","email":"eemeli@gmail.com"},"directories":{},"maintainers":[{"name":"eemeli","email":"eemeli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/runtime_3.0.1_1644168046178_0.5773135853584022"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-06T17:20:52.895Z","publish_time":1644168046394,"_cnpm_publish_time":1644168046394},"3.0.0":{"name":"@messageformat/runtime","version":"3.0.0","description":"Runtime components of messageformat","keywords":["i18n","icu","messageformat","internationalization"],"contributors":[{"name":"Eemeli Aro","email":"eemeli@gmail.com"}],"license":"MIT","homepage":"https://messageformat.github.io/","repository":{"type":"git","url":"git+https://github.com/messageformat/messageformat.git","directory":"packages/runtime"},"type":"commonjs","main":"./lib/runtime.js","exports":{".":{"import":"./esm/runtime.js","default":"./lib/runtime.js"},"./lib/cardinals":{"import":"./esm/cardinals.js","default":"./lib/cardinals.js"},"./lib/formatters":{"import":"./esm/formatters.js","default":"./lib/formatters.js"},"./lib/plurals":{"import":"./esm/plurals.js","default":"./lib/plurals.js"},"./messages":{"import":"./esm/messages.js","default":"./messages.js"}},"browser":{"./lib/runtime.js":"./esm/runtime.js","./lib/cardinals.js":"./esm/cardinals.js","./lib/formatters.js":"./esm/formatters.js","./lib/plurals.js":"./esm/plurals.js","./messages.js":"./esm/messages.js"},"sideEffects":false,"scripts":{"build:cjs":"tsc --declaration --module CommonJS --outDir lib","build:esm":"tsc --module ES6 --outDir esm","build":"npm run build:cjs && npm run build:esm","extract-api":"api-extractor run --local --verbose","prepublishOnly":"npm run build"},"dependencies":{"make-plural":"^6.2.1"},"browserslist":["last 1 version","> 1%","maintained node versions","not dead"],"gitHead":"33ca9027809512d85bd7d212957afb85e7dd39c4","bugs":{"url":"https://github.com/messageformat/messageformat/issues"},"_id":"@messageformat/runtime@3.0.0","_nodeVersion":"15.11.0","_npmVersion":"lerna/3.22.1/node@v15.11.0+x64 (darwin)","dist":{"shasum":"1ab31ccd667c2128c0c024d8068c8d83d2b70252","size":14890,"noattachment":false,"key":"/@messageformat/runtime/-/@messageformat/runtime-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@messageformat/runtime/download/@messageformat/runtime-3.0.0.tgz"},"_npmUser":{"name":"eemeli","email":"eemeli@gmail.com"},"directories":{},"maintainers":[{"name":"eemeli","email":"eemeli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/runtime_3.0.0_1620907396019_0.1772443035383564"},"_hasShrinkwrap":false,"publish_time":1620907396165,"_cnpm_publish_time":1620907396165},"3.0.0-beta.2":{"name":"@messageformat/runtime","version":"3.0.0-beta.2","description":"Runtime components of messageformat","keywords":["i18n","icu","messageformat","internationalization"],"author":{"name":"Eemeli Aro","email":"eemeli@gmail.com"},"license":"MIT","homepage":"https://messageformat.github.io/messageformat/v3/","repository":{"type":"git","url":"git+https://github.com/messageformat/messageformat.git","directory":"packages/runtime"},"type":"commonjs","main":"./lib/runtime.js","exports":{".":[{"import":"./esm/runtime.js"},"./lib/runtime.js"],"./lib/cardinals":[{"import":"./esm/cardinals.js"},"./lib/cardinals.js"],"./lib/formatters":[{"import":"./esm/formatters.js"},"./lib/formatters.js"],"./lib/plurals":[{"import":"./esm/plurals.js"},"./lib/plurals.js"],"./messages":[{"import":"./esm/messages.js"},"./messages.js"]},"browser":{"./lib/runtime.js":"./esm/runtime.js","./lib/cardinals.js":"./esm/cardinals.js","./lib/formatters.js":"./esm/formatters.js","./lib/plurals.js":"./esm/plurals.js","./messages.js":"./esm/messages.js"},"sideEffects":false,"scripts":{"build:cjs":"tsc --declaration --module CommonJS --outDir lib","build:esm":"tsc --module ES6 --outDir esm","build":"npm run build:cjs && npm run build:esm","extract-api":"api-extractor run --local --verbose","prepublishOnly":"npm run build"},"dependencies":{"make-plural":"^6.2.1"},"browserslist":["last 1 version","> 1%","maintained node versions","not dead"],"gitHead":"af63ee0186c6f9ac2255da2ad476fd3d74cfa6ed","bugs":{"url":"https://github.com/messageformat/messageformat/issues"},"_id":"@messageformat/runtime@3.0.0-beta.2","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.1/node@v14.7.0+x64 (darwin)","dist":{"shasum":"d23bf1e4a0ee5264f70b5179e8c705ee30f18bbe","size":15737,"noattachment":false,"key":"/@messageformat/runtime/-/@messageformat/runtime-3.0.0-beta.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@messageformat/runtime/download/@messageformat/runtime-3.0.0-beta.2.tgz"},"_npmUser":{"name":"eemeli","email":"eemeli@gmail.com"},"directories":{},"maintainers":[{"name":"eemeli","email":"eemeli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/runtime_3.0.0-beta.2_1606670302472_0.7324695807518287"},"_hasShrinkwrap":false,"publish_time":1606670302583,"_cnpm_publish_time":1606670302583}},"readme":"# @messageformat/runtime\n\nA collection of [messageformat](http://messageformat.github.io/) runtime utility functions.\n\n```\nnpm install @messageformat/runtime\n```\n\nThis package should be marked as a dependency for any package that publishes the output of [compileModule()](http://messageformat.github.io/messageformat/api/core.compilemodule/), as the compiled ES source output may include references to it.\n\nFor applications that bundle their output using e.g. Webpack this is not necessary.\n\nThe [`Messages` accessor class](http://messageformat.github.io/messageformat/api/runtime.messages/) is a completely optional addition.\nSee also [@messageformat/react](http://messageformat.github.io/messageformat/api/react/) for a React-specific solution.\n\nThis package was previously named [messageformat-runtime](https://www.npmjs.com/package/messageformat-runtime).\n\n---\n\n[Messageformat](https://messageformat.github.io/) is an OpenJS Foundation project, and we follow its [Code of Conduct](https://github.com/openjs-foundation/cross-project-council/blob/master/CODE_OF_CONDUCT.md).\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>\n","_attachments":{},"homepage":"https://messageformat.github.io/","bugs":{"url":"https://github.com/messageformat/messageformat/issues"},"license":"MIT"}