Modules@robinpath/deepl

@robinpath/deepl

0.1.0Public

DeepL module for RobinPath.

@robinpath/deepl

DeepL module for RobinPath.

Category Functions Auth License

Why use this module?

The deepl module lets you:

  • translateText
  • translateBatch
  • getUsage
  • listSourceLanguages
  • listTargetLanguages

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

Installation

npm install @robinpath/deepl

Quick Start

1. Set up credentials

deepl.setCredentials "your-credentials"

2. translateText

deepl.translateText

Available Functions

FunctionDescription
deepl.setCredentialsConfigure deepl credentials.
deepl.translateTexttranslateText
deepl.translateBatchtranslateBatch
deepl.getUsagegetUsage
deepl.listSourceLanguageslistSourceLanguages
deepl.listTargetLanguageslistTargetLanguages
deepl.listGlossaryLanguagePairslistGlossaryLanguagePairs
deepl.createGlossarycreateGlossary
deepl.getGlossarygetGlossary
deepl.listGlossarieslistGlossaries
deepl.deleteGlossarydeleteGlossary
deepl.getGlossaryEntriesgetGlossaryEntries
deepl.translateDocumenttranslateDocument

Examples

translateText

deepl.translateText

translateBatch

deepl.translateBatch

getUsage

deepl.getUsage

Integration with RobinPath

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

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

const result = await rp.executeScript(`
  deepl.setCredentials "your-credentials"
  deepl.translateText
`);

Full API Reference

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

Related Modules

License

MIT

Versions (1)

VersionTagPublished
0.1.0latestyesterday
Install
$ robinpath install @robinpath/deepl
Version0.1.0
LicenseMIT
Unpacked Size4.1 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

ai