Socket
Book a DemoInstallSign in
Socket

@hi18n/connector-i18n-js

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi18n/connector-i18n-js

Converter between i18n-js and @hi18n/core

latest
Source
npmnpm
Version
0.1.8
Version published
Maintainers
1
Created
Source

@hi18n/connector-i18n-js

This is a converter between hi18n (@hi18n/*) and i18n-js.

Currently, only the importer is implemented.

Configuration

// .hi18nrc.js
module.exports = {
  connector: "@hi18n/connector-i18n-js",
  connectorOptions: {
    root: ".",
    include: ["config/locales/*.yml"],
  },
};
  • root ... a path to the i18n-js's project root, relative to hi18n's configuration file. Defaults to ..
  • include ... An array of glob paths to YAML files containing the translations. Defaults to ["config/locales/*.yml"].

Keywords

intl

FAQs

Package last updated on 08 Sep 2025

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