Socket
Socket
Sign inDemoInstall

@box/languages

Package Overview
Dependencies
0
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @box/languages

Supported languages for Box projects


Version published
Weekly downloads
68
increased by28.3%
Maintainers
6
Install size
17.2 kB
Created
Weekly downloads
 

Readme

Source

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...);

FAQs

Last updated on 30 Jan 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