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

@ribajs/i18n

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribajs/i18n

Internationalization module for Riba.js

  • 2.0.0-alpha.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-76.47%
Maintainers
2
Weekly downloads
 
Created
Source

Internationalization Module

Install

npm install --save @ribajs/i18n

Regist

To regist the module import import i18nModule from '@ribajs/i18n'; and any LocalesService in your main.ts file and regist the module with riba.module.regist(i18nModule.init({ localesService }));:

import { coreModule, Riba } from '@ribajs/core';
import { LocalesService } from '@ribajs/shopify-tda';
import i18nModule from '@ribajs/i18n';
import { ready } from '@ribajs/utils/src/dom';
const riba = new Riba();
const localesService = new LocalesService();
const model = {};
riba.module.regist(coreModule.init());
riba.module.regist(i18nModule.init({ localesService }));
ready(() => {
  riba.bind(document.body, model);
});

FAQs

Package last updated on 13 Jun 2022

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

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