Skip to content

bodrovis/lokalise-node-file-exchange-samples

Repository files navigation

Lokalise file exchange samples

Samples for the lokalise-node-file-exchange. Find the usage examples under the src/ directory.

  • src/upload.ts: Samples for uploading files to Lokalise
  • src/download.ts: Samples for downloading files from Lokalise

Running sample code

  1. Check prerequisites, complete all the necessary preparations and run npm install.
  2. Copy .env.sample as .env and provide your Lokalise API token and project ID inside.
  3. Run npm run upload to upload files.
  4. Run npm run download to download files.
  5. These scripts interact with production, so ensure you're experimenting with a demo project.

License

Licensed under BSD 3 Clause.

(c) Ilya Krukowski

About

Samples for the lokalise-node-file-exchange.

Topics

Resources

Stars

Watchers

Forks