Socket
Socket
Sign inDemoInstall

@allthings/cdn-intl-provider

Package Overview
Dependencies
30
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @allthings/cdn-intl-provider

## Install


Version published
Weekly downloads
134
decreased by-30.57%
Maintainers
3
Install size
566 kB
Created
Weekly downloads
 

Readme

Source

CDNIntlProvider

Install

yarn add @allthings/cdn-intl-provider

This project uses following peer dependencies, which need to be installed in your project:

  • react >= 16.8
  • react-intl >= 3.0

Description

This is a thin wrapper around react-intls IntlProvider for Allthings purposes.

Example usage

import CDNIntlProvider from '@allthings/cdn-intl-provider'

// …

const App = () => (
  <CDNIntlProvider
    resourcePath="https://static.allthings.me"
    locale="de"
    project="app"
    stage="production"
    variation="default"
  >
    <Main />
  </CDNIntlProvider>
)

FAQs

Last updated on 26 Oct 2021

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