Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

formatjs-helper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formatjs-helper - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

package.json
{
"name": "formatjs-helper",
"version": "2.0.1",
"version": "2.0.2",
"description": "FormatJSHelper is a simple wrapper for your localization message data that makes working with data in the formats needed by FormatJS easy.",

@@ -5,0 +5,0 @@ "main": "formatjs_helper.js",

@@ -7,5 +7,5 @@ # FormatJSHelper

To start, create an instance of the class with your message data (formatted according to [ICU Message Syntax](http://userguide.icu-project.org/formatparse/messages)) as the single parameter:
To start, initialize the object with your message data (formatted according to [ICU Message Syntax](http://userguide.icu-project.org/formatparse/messages)) as the single parameter:
var formatJSHelper = new FormatJSHelper({
formatJSHelper.initialize({
locales: 'en-US',

@@ -37,3 +37,3 @@ messages: {...}

jasmine
npm test

@@ -40,0 +40,0 @@ ## License

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc