Node interface for the Lokalise APIv2.
View the Project on GitHub lokalise/node-lokalise-api
const projects = await lokaliseApi.projects().list({ page: 3, limit: 2 });
projects.items[0].name;
const project = await lokaliseApi.projects().get(project_id);
project.project_type;
const project = await lokaliseApi.projects().create({ name: "Project name", description: "Project description" });
project.project_id;
const project = await lokaliseApi.projects().update(project_id,
{ name: "New name", description: "New description"}
);
project.name;
Deletes all keys and translations from the project.
const response = await lokaliseApi.projects().empty(project_id);
response.project_id;
const response = await lokaliseApi.projects().delete(project_id);
response.project_deleted;