Samples for the lokalise-node-file-exchange. Find the usage examples under the src/
directory.
src/upload.ts
: Samples for uploading files to Lokalisesrc/download.ts
: Samples for downloading files from Lokalise
- Check prerequisites, complete all the necessary preparations and run
npm install
. - Copy
.env.sample
as.env
and provide your Lokalise API token and project ID inside. - Run
npm run upload
to upload files. - Run
npm run download
to download files. - These scripts interact with production, so ensure you're experimenting with a demo project.
Licensed under BSD 3 Clause.
(c) Ilya Krukowski