logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

test

Integrate with various translation APIs to convert text into unique languages such as Morse code, Braille, Pirate Speak, and others. Provides an easy-to-use SDK for adding fun and diverse translation capabilities to applications.

Author

test logo

davidrojasliblab

No License

Quick Info

GitHub GitHub Stars 0
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

davidrojasliblabtranslationlanguagestranslation davidrojasliblabtranslation apisdavidrojasliblab test

Liblab TypeScript SDK 1.0.0

Welcome to the Liblab SDK documentation. This guide will help you get started with integrating and using the Liblab SDK in your project.

This SDK was generated by liblab

Versions

  • API version: 1.0.0
  • SDK version: 1.0.0

About the API

Funtranslations API gives access to the full set of translations available at funtranslations.com so that you can integrate them in your workflow or an app. Click here to get details and subscribe . Here are the individual API links:

Morse code API

Morse code conversion API on the cloud. Translate to and from Morse Code.Click here to subscribe

Braille API

Braille conversion API on the cloud. Translate to Braille and get Braille results suitable for many display types.Click here to subscribe

Starwars Translation API

Ever wonder how to talk like Yoda? Well, use our API and let your APP/webpage speak like Yoda too.Click here to subscribe

Sith Translator API. Click here to subscribe

Cheunh Translator API. Click here to subscribe

Huttese Translator API. Click here to subscribe

Mandalorian Translator API. Click here to subscribe

Gungan Translator API. Click here to subscribe

Pirate Speak Translation API

Ahoy, matey. Let's get those land lubbers speak our tounge too! Our evergreen pirate speak tranlsator API.Click here to subscribe

Valley Speak Translation API

Our throwback Valspeak translations API.Click here to subscribe

Minion Speak Translation API

Our evil master following minion speak translations API.Click here to subscribe

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: TypeScript >= 4.8.4

Installation

To get started with the SDK, we recommend installing using npm:

npm install liblab

Authentication

Access Token Authentication

The Liblab API uses an Access Token for authentication.

This token must be provided to authenticate your requests to the API.

Setting the Access Token

When you initialize the SDK, you can set the access token as follows:

const sdk = new Liblab({ token: 'YOUR_TOKEN' });

If you need to set or update the access token after initializing the SDK, you can use:

const sdk = new Liblab();
sdk.token = 'YOUR_TOKEN';

Setting a Custom Timeout

You can set a custom timeout for the SDK's HTTP requests as follows:

const liblab = new Liblab({ timeout: 10000 });

Sample Usage

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

import { Liblab } from 'liblab';

(async () => {
  const liblab = new Liblab({
    token: 'YOUR_TOKEN',
  });

  const { data } = await liblab.morse.getTranslateMorse({
    text: 'text',
  });

  console.log(data);
})();

Services

The SDK provides various services to interact with the API.

Below is a list of all available services with links to their detailed documentation: | Name | | :--------------------------------------------------------------------- | | [MorseService](documentation/services/MorseService.md) | | [BrailleService](documentation/services/BrailleService.md) | | [StarwarsService](documentation/services/StarwarsService.md) | | [StartrekService](documentation/services/StartrekService.md) | | [ElvishService](documentation/services/ElvishService.md) | | [CharactersService](documentation/services/CharactersService.md) | | [DialectService](documentation/services/DialectService.md) | | [PigLatinService](documentation/services/PigLatinService.md) | | [GameOfThronesService](documentation/services/GameOfThronesService.md) | | [EnglishService](documentation/services/EnglishService.md) | | [InternetFadService](documentation/services/InternetFadService.md) |

See Also

`