
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-locomigo
Advanced tools
React SDK for Locomigo localization platform.
npm install react-locomigo
import locomigo from "react-locomigo";
// Initialize with default options - automatically extracts all text from DOM
locomigo.initialize();
// Initialize with custom options
locomigo.initialize({
locale: "es-ES",
supportedLocales: ["en-US", "es-ES", "fr-FR"],
realtime: false,
});
// Access extracted texts and translation matrix
const extractedTexts = locomigo.getExtractedTexts();
const translations = locomigo.getTranslations();
console.log("Extracted texts:", extractedTexts);
console.log("Translation matrix:", translations);
When you call locomigo.initialize(), the SDK automatically:
p, h1-h6, span, button, a, label, li)locomigo.initialize(options) - Initialize SDK and auto-extract DOM textlocomigo.getExtractedTexts() - Returns array of all extracted text stringslocomigo.getTranslations() - Returns translation matrix (keys = text, values = locale translations)locale (string, default: 'en-US') - The default localesupportedLocales (string[], default: []) - Array of supported locales (will be synced from platform in future)realtime (boolean, default: true) - Enable realtime updates (will be implemented in future)This package includes TypeScript definitions.
import locomigo, { LocomigOptions } from "react-locomigo";
const options: LocomigOptions = {
locale: "en-US",
supportedLocales: ["en-US", "es-ES"],
realtime: true,
};
locomigo.initialize(options);
FAQs
React SDK for Locomigo localization
We found that react-locomigo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.