Socket
Socket
Sign inDemoInstall

bs-react-intl

Package Overview
Dependencies
17
Maintainers
2
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
Weekly downloads
130
increased by41.3%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

bs-react-intl

NPM

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 start

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 29 Apr 2019

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