{"id":13727374,"url":"https://github.com/lokalise/node-lokalise-api","last_synced_at":"2026-04-06T14:01:13.697Z","repository":{"id":34067747,"uuid":"153140420","full_name":"lokalise/node-lokalise-api","owner":"lokalise","description":"Lokalise API v2 Node.js client.","archived":false,"fork":false,"pushed_at":"2026-04-02T08:47:58.000Z","size":4284,"stargazers_count":67,"open_issues_count":0,"forks_count":22,"subscribers_count":17,"default_branch":"master","last_synced_at":"2026-04-02T23:36:27.687Z","etag":null,"topics":["api","client","inteface","lokalise","lokalise-api","node","sdk","sdk-node","translation-providers"],"latest_commit_sha":null,"homepage":"https://lokalise.github.io/node-lokalise-api","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lokalise.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-10-15T15:47:31.000Z","updated_at":"2026-04-02T08:48:01.000Z","dependencies_parsed_at":"2024-02-25T20:25:29.932Z","dependency_job_id":"86cfdf1c-0ea0-4fef-9564-191abface386","html_url":"https://github.com/lokalise/node-lokalise-api","commit_stats":{"total_commits":483,"total_committers":16,"mean_commits":30.1875,"dds":0.5590062111801242,"last_synced_commit":"1a9ea4ba1caf797ed09207260e17190ee86c6edf"},"previous_names":[],"tags_count":93,"template":false,"template_full_name":null,"purl":"pkg:github/lokalise/node-lokalise-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokalise%2Fnode-lokalise-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokalise%2Fnode-lokalise-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokalise%2Fnode-lokalise-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokalise%2Fnode-lokalise-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lokalise","download_url":"https://codeload.github.com/lokalise/node-lokalise-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokalise%2Fnode-lokalise-api/sbom","scorecard":{"id":597642,"data":{"date":"2025-08-11","repo":{"name":"github.com/lokalise/node-lokalise-api","commit":"635e499cfa0f63cdc8024cd693bd473b8fc3ed6a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"21 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 5/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/lokalise/node-lokalise-api/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/lokalise/node-lokalise-api/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/lokalise/node-lokalise-api/ci.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:34","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T23:33:02.427Z","repository_id":34067747,"created_at":"2025-08-20T23:33:02.427Z","updated_at":"2025-08-20T23:33:02.427Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31475202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","client","inteface","lokalise","lokalise-api","node","sdk","sdk-node","translation-providers"],"created_at":"2024-08-03T01:03:52.480Z","updated_at":"2026-04-06T14:01:13.691Z","avatar_url":"https://github.com/lokalise.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Lokalise API v2 official Node.js client\n\n![npm](https://img.shields.io/npm/v/@lokalise/node-api)\n![CI](https://github.com/lokalise/node-lokalise-api/actions/workflows/ci.yml/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/lokalise/node-lokalise-api/badge.svg?branch=master)](https://coveralls.io/github/lokalise/node-lokalise-api?branch=master)\n[![NPM Downloads][npm-downloads-image]][npm-downloads-url]\n\nOfficial Node interface for the [Lokalise API](https://developers.lokalise.com/reference/lokalise-rest-api).\n\n\u003e Looking for a simple way to upload/download translations? Try [lokalise-file-exchange](https://github.com/bodrovis/lokalise-node-file-exchange).\n\n## Quickstart\n\n**Heads up:** starting from **v9**, this SDK is **pure [ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules)** and no longer ships a CommonJS (`require`) export. Your options:\n- convert your project to ESM ([see this guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c))\n- use [dynamic import](https://v8.dev/features/dynamic-import) (example below)\n- or stay on [v8](https://github.com/lokalise/node-lokalise-api/tree/v8)\n\nInstall:\n\n```bash\nnpm install @lokalise/node-api\n```\n\n[Get a Lokalise API token from your personal profile](https://docs.lokalise.com/en/articles/1929556-api-and-ota-tokens#h_9ea8e7ff3c), then initialize and use the client:\n\n```ts\nimport { LokaliseApi } from \"@lokalise/node-api\";\n\nconst lokaliseApi = new LokaliseApi({ apiKey: \"\u003capiKey\u003e\" });\n\nconst projects = await lokaliseApi.projects().list();\nprojects.items[0].name;\n\nconst process = await lokaliseApi.files().upload(project_id, {\n  data: data_base64,\n  filename: \"test1.json\",\n  lang_iso: \"en\",\n});\n\nprocess.status; // =\u003e \"queued\"\n```\n\nAlternatively, you can use tokens obtained via [OAuth2](https://lokalise.github.io/node-lokalise-api/additional_info/oauth2_flow) (*note: OAuth tokens expire*):\n\n```ts\nimport { LokaliseApiOAuth } from \"@lokalise/node-api\";\n\nconst lokaliseApi = new LokaliseApiOAuth({ apiKey: \"\u003capiKeyObtainedViaOauth2\u003e\" });\n\nconst projects = await lokaliseApi.projects().list();\n```\n\nDynamic import example:\n\n```ts\n(async function () {\n  const LokaliseApi = await import(\"@lokalise/node-api\").then((m) =\u003e m.LokaliseApi);\n  const lokaliseApi = new LokaliseApi({ apiKey: LOKALISE_API_TOKEN });\n\n  // use lokaliseApi here as usual...\n})();\n```\n\n## Usage\n\nFull docs live at: [lokalise.github.io/node-lokalise-api](https://lokalise.github.io/node-lokalise-api/).\n\nAlso useful:\n\n- [repo containing some usage examples](https://github.com/bodrovis-learning/Lokalise-APIv2-Samples)\n- [blog post with explanations](https://lokalise.com/blog/lokalise-apiv2-in-practice/)\n- [free course \"Lokalise for developers\"](https://academy.lokalise.com/course/lokalise-for-developers) (Node SDK usage)\n\n## License\n\nThis library is licensed under the [BSD 3 Clause](https://github.com/lokalise/node-lokalise-api/blob/master/LICENSE). Prior to version 5.1.0 the license was MIT.\n\nCopyright (c) [Lokalise group](http://lokalise.com) and [Ilya Krukowski](http://bodrovis.tech)\n\n[npm-downloads-image]: https://img.shields.io/npm/dm/%40lokalise%2Fnode-api\n[npm-downloads-url]: https://npmcharts.com/compare/@lokalise/node-api?minimal=true\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokalise%2Fnode-lokalise-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flokalise%2Fnode-lokalise-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokalise%2Fnode-lokalise-api/lists"}