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

@puzzlet/locales

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@puzzlet/locales

To start using it do the following

latest
npmnpm
Version
0.1.3
Version published
Maintainers
1
Created
Source

To start using it do the following

  • Create i18n file e.g i18nInit
  • Initialize i18n by using the exported method init
  • Add translation files as param
  • import the created file (i18Init) to entry point of you app.

Note: Make sure you use "use client" at the top of file in your next app.

Exmaple

"use client"; import { init } from "@puzzlet/locales"; import translationEn from "./langs/en.json";

init({ translations: { en: translationEn } });

FAQs

Package last updated on 06 Dec 2024

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