New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@softeq/mls

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@softeq/mls

Contract for locale-dependent operations

latest
Source
npmnpm
Version
1.0.0-beta.1
Version published
Maintainers
1
Created
Source

@softeq/mls

@softeq/mls defines CONTRACT for main locale-dependent operations. The primary focus of this library is other locale-dependent libraries that require multi-language support (MLS). Such libraries can rely on operations defined in @softeq/mls library and does not depend on specific MLS implementation.
It is important to note that @softeq/mls defines only contract rather than implementation.

@softeq/mls provides the following locale-dependent operations:

  • number & date formatting/parsing,
  • providing of text translation,
  • providing of current locale.

It is implementation of @softeq/mls contract that provides these operations. List of current implementations can be found here below.

Although this library was initially designed for Angular, now it does not depend on Angular core and can be used for other frameworks or core libraries (just in theory).

Implementations of @softeq/mls contract

  • @softeq/angular-mls-ri is a reference implementation for Angular that relies on
    • @ngx-translate/core to provide translations
    • embedded Angular capabilities for number & date formatting
    • and implements the simplest parsing of number & date values.

Keywords

localization

FAQs

Package last updated on 01 Aug 2019

Did you know?

Socket

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