Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 393 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 393 Bytes

What is this

This is a simple helper for me to download and format translations from Lokalise.

  • ESModule supported

How to use

import fetchLokalise from 'fetch-lokalise';

await fetchLokalise({
  // Required
  projectId: 'your-lokalise-project-id',
  token: 'your-lokalise-api-token',
  outDir: 'path/to/your/locale',

  // Optional
  tags: ['tag_1', 'tag_2'],
});