
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
@fiit/localisation
Advanced tools
This TypeScript library provides an interface to the AWS Translate service, enabling both single text and batch text translations. It supports dynamic language detection and translation into specified target languages.
Install the package using npm. Ensure you have Node.js installed before running the following command:
npm install @fiit/localisation
You must provide AWS credentials and a region to use this service. For security, it is recommended to manage credentials through environment variables or AWS IAM roles instead of hard coding them.
Import the Localisation, Language, and configuration interface from the package:
import { Localisation, Language, LocalisationConfig } from '@fiit/localisation';
const config: LocalisationConfig = {
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
region: process.env.AWS_REGION
};
const localisationService = new Localisation(config);
To translate a single piece of text:
const translation = await localisationService.translateText("Hello, world!", Language.EN);
To translate multiple texts at once:
const texts = ["Hello, world!", "How are you?"];
const translations = await localisationService.translateBatchText(texts, Language.ES);
FAQs
Localisation service by Fiit
We found that @fiit/localisation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.