Intlayer is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like React, React, and Express.js.
The intlayer-cli
package is a NPM package that consume the @intlayer/cli
package and make it available to the intlayer
commands line interfaces.
Note that this package is not needed if the
intlayer
package is installed. In comparison to theintlayer
package, theintlayer-cli
package is a lighter package that only contains the CLI tool, without@intlayer/core
dependencies.
Install the necessary package using your preferred package manager:
npm install intlayer-cli -g
pnpm add intlayer-cli -g
yarn add intlayer-cli -g
Here an example of how to use the intlayer-cli
package:
npx intlayer dictionaries build
Intlayer provides a CLI tool to:
- audit your content declarations and complete missing translations
- build dictionaries from your content declarations
- push and pull distant dictionaries from your CMS to your locale project
Consult intlayer-cli for more information.