🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@robinpath/translate

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robinpath/translate

Multi-provider translation — MyMemory (free), LibreTranslate (optional key), or Google Cloud Translate. Uses the encrypted credential vault.

latest
npmnpm
Version
0.3.0
Version published
Maintainers
4
Created
Source

@robinpath/translate

Translate module for RobinPath.

Category Functions Auth License

Why use this module?

The translate module lets you:

  • translateText
  • translateBatch
  • detectLanguage
  • listLanguages
  • getSupportedLanguagePairs

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

robinpath add @robinpath/translate

Quick Start

No credentials needed — start using it right away:

translate.translateBatch

Available Functions

FunctionDescription
translate.translateTexttranslateText
translate.translateBatchtranslateBatch
translate.detectLanguagedetectLanguage
translate.listLanguageslistLanguages
translate.getSupportedLanguagePairsgetSupportedLanguagePairs
translate.translateHtmltranslateHtml
translate.suggestTranslationsuggestTranslation
translate.getTranslationMemorygetTranslationMemory
translate.autoTranslateautoTranslate
translate.setProvidersetProvider

Examples

translateBatch

translate.translateBatch

detectLanguage

translate.detectLanguage

listLanguages

translate.listLanguages

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/translate";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  translate.translateBatch
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

License

MIT

Keywords

translate

FAQs

Package last updated on 06 May 2026

Did you know?

Socket

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.

Install

Related posts