
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@localazy/api-client
Advanced tools
Official Node.js client for the Localazy API, providing a simple and type-safe way to integrate localization features into your JavaScript and TypeScript projects.
@localazy/api-client
Node.js client for the Localazy API, providing a simple and type-safe way to integrate localization features into your JavaScript and TypeScript projects.
npm install @localazy/api-client
# or you can use yarn or pnpm
import { ApiClient } from '@localazy/api-client';
const json = { en: { tooltip: 'Elegant unicorn' } }; // Get text to translate.
const api = new ApiClient({ authToken: 'your-project-token' }); // Create Api client.
const project = await api.projects.first(); // Get Localazy project.
const file = await api.import.json({ project, json }); // Import source keys.
const fr = await api.export.json({ project, file, langs: ['fr'] }); // Export translated keys.
console.log(fr); // 🦄 { fr: { tooltip: 'Licorne élégante' } }
import { ApiClient, Project, I18nJson, Locales } from '@localazy/api-client';
const json: I18nJson = { en: { tooltip: 'Elegant unicorn' } };
const api: ApiClient = new ApiClient({ authToken: 'your-project-token' });
const project: Project = await api.projects.first();
const file: File = await api.import.json({ project, json: json });
const fr: I18nJson = await api.export.json({ project, file, langs: [Locales.FRENCH] });
You can obtain the project token at https://localazy.com/developer/tokens.
The project token is permitted to read and write to the single project.
Join the Localazy Discussion Forum to discuss all things localization.
If you encounter any problems or have questions, you can use our forum, GitHub issues or contact us at team@localazy.com.
Check out other npm packages from Localazy:
NPM package | Description | |
---|---|---|
@localazy/cli | Localazy CLI tool. | |
@localazy/api-client | Localazy API client. | |
@localazy/languages | List of all languages supported by Localazy. | |
@localazy/strapi-plugin | The official Localazy Strapi plugin. |
Discover all available integration options and localization examples.
Code released under the MIT license.
2.1.11 (2025-09-10)
FAQs
Official Node.js client for the Localazy API, providing a simple and type-safe way to integrate localization features into your JavaScript and TypeScript projects.
The npm package @localazy/api-client receives a total of 209 weekly downloads. As such, @localazy/api-client popularity was classified as not popular.
We found that @localazy/api-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.