Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

@box/languages

1.1.0 • Public • Published

Project for listing the locales that other box frontend projects are using when building. When adding a new locale, please bump up the version in package.json before publishing to npmjs.

To add a new locale

  1. Add the new locale in index.js.
  2. Bump the version in package.json.
  3. Run npm publish to publish to npmjs.

Usage examples:

To get the list of BCP-47 language tags that are officially supported by Box:

const languages = require('@box/languages');
languages.forEach(...do something...);

To get the full languages object that are officially supported by Box:

const { boxLanguages } = require('@box/languages');
boxLanguages.forEach(...do something...);

Keywords

none

Install

npm i @box/languages

DownloadsWeekly Downloads

23

Version

1.1.0

License

Apache-2.0

Unpacked Size

16.7 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar