Socket
Socket
Sign inDemoInstall

@box/cldr-data

Package Overview
Dependencies
0
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @box/cldr-data

CLDR Data that box-ui-elements and other Box code needs


Version published
Weekly downloads
3.7K
increased by5.88%
Maintainers
5
Install size
1.38 MB
Created
Weekly downloads
 

Readme

Source

Box CLDR Data

npm latest version

Usage

This is a package that contains the subset of CLDR data that is needed for box-ui-elements and possibly other React apps within Box.

To use data for a locale:

const boxCldrData = require("@box/cldr-data");

const germanData = boxCldrData("de-DE");

If you are using webpack and do not want to get all of the locale data for all locales at once built into your package, you should directly require only the locales that you need:

const germanData = require("@box/cldr-data/locale-data/de-DE.js");

Change Log

v34.4.1

  • return the language name array sorted by the translation of those language names

v34.4.0

  • initial version that uses CLDR version 34.0.0

Copyright 2020-present Box, Inc. All Rights Reserved.

Licensed under the Box Software License Agreement v.20170516. You may not use this file except in compliance with the License. You may obtain a copy of the License at

https://developer.box.com/docs/box-sdk-license

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Keywords

FAQs

Last updated on 17 Jul 2020

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