Crowdin HTTP client for node.js
npm install crowdin-client

Subset of Crowdin HTTP API.
js
import Crowdin from 'crowdin-client';const crowdin = new Crowdin({
accountKey: 'YOUR_KEY',
login: 'YOUR_USERNAME',
project: 'YOUR_PROJECT',
});
const promise = crowdin.createOrUpdateVersionedFile(
'master',
'my_project.pot',
'/path/to/my_project.pot',
'template/for/generated/po/%two_letters_code%.po',
);
`Download branched translations
`js
import Crowdin from 'crowdin-client';const crowdin = new Crowdin({
accountKey: 'YOUR_KEY',
login: 'YOUR_USERNAME',
project: 'YOUR_PROJECT',
});
crowdin.downloadTranslations('all', 'master').then(buffer => {
// there is your buffer with zipped translations
});
``