{"name":"@intlify/core","version":"9.3.0-beta.11-9f8a318","description":"@intlify/core","keywords":["core","fundamental","i18n","internationalization","intlify"],"license":"MIT","author":{"name":"kazuya kawaguchi","email":"kawakazu80@gmail.com"},"homepage":"https://github.com/intlify/vue-i18n-next/tree/master/packages/core#readme","repository":{"type":"git","url":"git+https://github.com/intlify/vue-i18n-next.git","directory":"packages/core"},"bugs":{"url":"https://github.com/intlify/vue-i18n-next/issues"},"main":"index.js","module":"dist/core.runtime.mjs","unpkg":"dist/core.global.js","jsdelivr":"dist/core.global.js","types":"dist/core.d.ts","dependencies":{"@intlify/core-base":"9.3.0-beta.11-9f8a318"},"engines":{"node":">= 14"},"buildOptions":{"name":"IntlifyCore","formats":["mjs","mjs-runtime","browser","browser-runtime","cjs","global","global-runtime"]},"exports":{".":{"types":"./dist/core.d.ts","import":"./dist/core.runtime.mjs","browser":"./dist/core.esm-browser.js","node":{"import":{"production":"./dist/core.prod.cjs","development":"./dist/core.mjs","default":"./dist/core.mjs"},"require":{"production":"./dist/core.prod.cjs","development":"./dist/core.cjs","default":"./index.js"}}},"./dist/*":"./dist/*","./package.json":"./package.json"},"funding":"https://github.com/sponsors/kazupon","publishConfig":{"access":"public"},"sideEffects":false,"readme":"# @intlify/core\n\nThe intlify core module for i18n\n\n## Which dist file to use?\n\n### From CDN or without a Bundler\n\n- **`core(.runtime).global(.prod).js`**:\n  - For direct use via `<script src=\"...\">` in the browser. Exposes the `IntlifyCore` global\n  - Note that global builds are not [UMD](https://github.com/umdjs/umd) builds.  They are built as [IIFEs](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) and is only meant for direct use via `<script src=\"...\">`\n  - In-browser locale messages compilation:\n    - **`core.global.js`** is the \"full\" build that includes both the compiler and the runtime so it supports compiling locale messages on the fly\n    - **`core.runtime.global.js`** contains only the runtime and requires locale messages to be pre-compiled during a build step\n  - Inlines internal the bellow packages - i.e. it’s a single file with no dependencies on other files. This means you **must** import everything from this file and this file only to ensure you are getting the same instance of code\n    - `@intlify/shared`\n    - `@intlify/message-compiler`\n  - Contains hard-coded prod/dev branches, and the prod build is pre-minified. Use the `*.prod.js` files for production\n\n- **`core(.runtime).esm-browser(.prod).js`**:\n  - For usage via native ES modules imports (in browser via `<script type=\"module\">`)\n  - Shares the same runtime compilation, dependency inlining and hard-coded prod/dev behavior with the global build\n\n### With a Bundler\n\n- **`core(.runtime).esm-bundler.js`**:\n  - For use with bundlers like `webpack`, `rollup` and `parcel`\n  - Leaves prod/dev branches with `process.env.NODE_ENV` guards (must be replaced by bundler)\n  - Does not ship minified builds (to be done together with the rest of the code after bundling)\n  - Imports dependencies (e.g. `@intlify/message-compiler`)\n    - Imported dependencies are also `esm-bundler` builds and will in turn import their dependencies (e.g. `@intlify/message-compiler` imports `@intlify/shared`)\n    - This means you **can** install/import these deps individually without ending up with different instances of these dependencies, but you must make sure they all resolve to the same version\n  - In-browser locale messages compilation:\n    - **`core.runtime.esm-bundler.js` (default)** is runtime only, and requires all locale messages to be pre-compiled. This is the default entry for bundlers (via `module` field in `package.json`) because when using a bundler templates are typically pre-compiled (e.g. in `*.json` files)\n    - **`core.esm-bundler.js`**: includes the runtime compiler. Use this if you are using a bundler but still want locale messages compilation (e.g. templates via inline JavaScript strings)\n\n### For Node.js (Server-Side)\n\n- **`core.cjs(.prod).js`**:\n  - For use in Node.js via `require()`\n  - If you bundle your app with webpack with `target: 'node'` and properly externalize `@intlify/core`, this is the build that will be loaded\n  - The dev/prod files are pre-built, but the appropriate file is automatically required based on `process.env.NODE_ENV`\n\n## :copyright: License\n\n[MIT](http://opensource.org/licenses/MIT)\n","readmeFilename":"README.md","_id":"@intlify/core@9.3.0-beta.11-9f8a318","_integrity":"sha512-xN4YMDfmSZFmOlH3AJ2jW9F2o5qiXFNjYCP2iHPsyI7m8YNnEMPoT8nKOXweOWSav1GOaK7GCQwUS5HvscnNNQ==","_resolved":"/tmp/e38c15b831f5ba6ca8c26ae0441be92c/intlify-core-9.3.0-beta.11-9f8a318.tgz","_from":"file:intlify-core-9.3.0-beta.11-9f8a318.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-xN4YMDfmSZFmOlH3AJ2jW9F2o5qiXFNjYCP2iHPsyI7m8YNnEMPoT8nKOXweOWSav1GOaK7GCQwUS5HvscnNNQ==","shasum":"aaefa8e327a3cfbe2d4392a67cf529db36780d48","tarball":"http://registry-npm.ywwl.com/@intlify/core/download/@intlify/core-9.3.0-beta.11-9f8a318.tgz","fileCount":21,"unpackedSize":465667,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQJkuSC3DkC2vQQUBJ8EySDy5bT6tNBbqkAKo28HksnAiEA/yCTkysLNLpgVtAc9/RaoefU9eeAO+8K4/0PAv6+Z5o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrVxoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSEg//RUFzuArY0MLbhXuGM+Ccx6Ly0Bmztje5LJvvS2MXgvZBPkEl\r\nqCL+t3zgXIPnEZD0TrtV4P58RNZpbHF8Lys/OfZHSYRbMKSaRI30lvsoiOtH\r\nkXISCvJSeJZdL7LZTZ4YciPYXEy7bNpjpbX0N2FOV1tiD/QZFv8UwuXjdBT6\r\nLVQxrEn41Pxl9L2XhsKg1dBfrfiK5fTGkQbHAx+0BKDvkcs17X+QTlXV3wKj\r\nM5EIWmUwN+JR5hc4mhKRYWSJFcVkJ5/tRYO87+5p9vJOQQ5UHss/KTe47F4y\r\ne+h62l+k+MxHJmqNThvEQeroW16GrosJXUh8Cw4nWp4jbWnDEC8jmux0cIi5\r\n1bG2ZerQ+eIjNUOTun20VNBQuZLFZ+3EaqhEdOGfbMqv0KuXN7yjv3OqK4EM\r\n3cs21pPZciDnFktHOaVleDVGvAU2Y49MBO9CIpNYoJDusmF4b3BsUnMgLecE\r\nz5g2HkShLZJGAjBNXsp/xe2vy0Z8vH8HhdUGYiTUyy947N8Oq2h52N/ZBYhN\r\nL7rSuUcaWcVgr998cuocdeeT9s6YhBeyJBrRhUQ4FR17xEo6kyzaiuzChdIJ\r\nJ94ttIZr4kWe6EBd004zRTn3SNsCJH6cBRYOvHMA0ILR3Hlqp5nuc+Qr6D5r\r\nWRvjWhumCGnywK/Meezgbwygna+pAS6jWGU=\r\n=GMKQ\r\n-----END PGP SIGNATURE-----\r\n","size":101754,"noattachment":false,"key":"/@intlify/core/-/@intlify/core-9.3.0-beta.11-9f8a318.tgz"},"_npmUser":{"name":"kazupon","email":"kawakazu80@gmail.com"},"directories":{},"maintainers":[{"name":"kazupon","email":"kawakazu80@gmail.com"},{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_9.3.0-beta.11-9f8a318_1672305768020_0.7510592301210082"},"_hasShrinkwrap":false,"publish_time":1672305768189,"_cnpm_publish_time":1672305768189,"dist-tags":{"alpha":"9.2.0-alpha.9","beta":"9.3.0-beta.27","edge":"9.3.0-beta.14-77e850b","latest":"11.4.18","legacy10":"10.0.8","legacy9":"9.14.5","next":"12.0.0-alpha.9","rc":"9.0.0-rc.9","stable":"11.1.2"}}