Socket
Socket
Sign inDemoInstall

bs-react-intl

Package Overview
Dependencies
17
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bs-react-intl

BuckleScript bindings to react-intl


Version published
Maintainers
1
Install size
24.5 kB
Created

Changelog

Source

0.6.0

  • [ BREAKING ] Make compatible with React Native (#13).

Readme

Source

bs-react-intl

BuckleScript bindings to react-intl.

To extract messages from Reason source files for localization, use bs-react-intl-extractor.

Installation

# yarn
yarn add bs-react-intl

# or npm
npm install --save bs-react-intl

Examples

Clone this repo.

yarn install
yarn run build

Then open some *.html from examples folder.

Status

Despite lots of unchecked the most hard work is done. I'll add bindings to the rest of the components once I need them. Feel free to help me out and submit a PR.

  • addLocaleData
  • intlShape
  • injectIntl
  • defineMessages
  • IntlProvider
  • FormattedDate
  • FormattedDate (children-as-function)
  • FormattedTime
  • FormattedTime (children-as-function)
  • FormattedRelative
  • FormattedRelative (children-as-function)
  • FormattedNumber
  • FormattedNumber (children-as-function)
  • FormattedPlural
  • FormattedPlural (children-as-function)
  • FormattedMessage
  • FormattedMessage (children-as-function)
  • DefinedMessage
  • DefinedMessage (children-as-function)
  • FormattedHTMLMessage
  • FormattedHTMLMessage (children-as-function)

Usage

See examples folder.

Keywords

FAQs

Last updated on 15 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc