Nighttime Possum Meandering

    @hi18n/connector-i18n-js
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.1 • Public • Published

    @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"].

    Install

    npm i @hi18n/connector-i18n-js

    DownloadsWeekly Downloads

    5

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    23.3 kB

    Total Files

    14

    Last publish

    Collaborators

    • qnighy