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

@ludens-reklame/vasadu

Package Overview
Dependencies
Maintainers
9
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ludens-reklame/vasadu

Makes your localization life a breeze

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
9
Weekly downloads
 
Created
Source

Vasadu

Makes your localization life a breeze!

Install

yarn add @ludens-reklame/vasadu

Usage

import Vasadu from '@ludens-reklame/vasadu';

// Define your translation tree
const myLocalizationTheme = {
  buttonText: {
    publish: {
      en: 'Publish',
      no: 'Publiser'
    }
  },
  intro: {
    en: 'Welcome to our site',
    no: 'Velkommen til vår side'
  }
};

// Initialize Vasadu class, and giving it our theme and wanted locale.
const localization = new Vasadu(myLocalizationTheme, 'no');

// Now we can access deep nested values with completed translations:
localization.si('buttonText.publish'); // Publiser

Contribute

If you want to contribute in any way, feel free to create issues, or send pull requests!

vasadu

FAQs

Package last updated on 05 Sep 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

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