Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remirror/i18n

Package Overview
Dependencies
Maintainers
2
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/i18n - npm Package Compare versions

Comparing version 0.0.0-pr1801.2 to 0.0.0-pr1801.3

7

package.json
{
"name": "@remirror/i18n",
"version": "0.0.0-pr1801.2",
"version": "0.0.0-pr1801.3",
"description": "Supported internationalization and locales for the remirror editor.",

@@ -52,3 +52,3 @@ "keywords": [

"@lingui/detect-locale": "^3.14.0",
"@remirror/core-helpers": "0.0.0-pr1801.2",
"@remirror/core-helpers": "0.0.0-pr1801.3",
"make-plural": "^6.2.1"

@@ -68,3 +68,4 @@ },

]
}
},
"readme": "# @remirror/i18n\n\n> Supported internationalization and locales for the remirror editor.\n\n[![Version][version]][npm] [![Weekly Downloads][downloads-badge]][npm] [![Bundled size][size-badge]][size] [![Typed Codebase][typescript]](#) [![MIT License][license]](#)\n\n[version]: https://flat.badgen.net/npm/v/@remirror/i18n\n[npm]: https://npmjs.com/package/@remirror/i18n\n[license]: https://flat.badgen.net/badge/license/MIT/purple\n[size]: https://bundlephobia.com/result?p=@remirror/i18n\n[size-badge]: https://flat.badgen.net/bundlephobia/minzip/@remirror/i18n\n[typescript]: https://flat.badgen.net/badge/icon/TypeScript?icon=typescript&label\n[downloads-badge]: https://badgen.net/npm/dw/@remirror/i18n/red?icon=npm\n\n## Installation\n\n```bash\n# yarn\nyarn add @remirror/i18n\n\n# pnpm\npnpm add @remirror/i18n\n\n# npm\nnpm install @remirror/i18n\n```\n\n## Usage\n\nThe following code creates adds an `en` translation to your social editor.\n\n```tsx\nimport { en as enPlurals } from 'make-plural/plurals';\nimport React from 'react';\nimport { i18n } from '@remirror/i18n';\nimport en from '@remirror/i18n/en/messages';\nimport { SocialEditor } from '@remirror/react';\n\ni18n.loadLocaleData('en', { plurals: anPlurals });\n\ni18n.load({\n en: en.messages,\n});\n\nconst Editor = () => {\n <SocialEditor i18n={i18n} locale='en' />;\n};\n```\n"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc