Installation
Our node package makes it easy to write javascript and typescript scripts or applications to interact with the Lingo API.
Starter Project
To simplify setup you can copy our template starter project @lingo-app/JSDemo (opens in a new tab).
Manual Setup
In your project directory run the following command to install the package.
npm install @lingo-app/node --save-dev
// or
yarn add -D @lingo-app/node
Then in your code file, import Lingo. We will be sure to include all imports in code examples in this guide.
import Lingo from "@lingo-app/node";
The package is typed with typescript making it even easier to learn the available APIs in an IDE.