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.
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
- Installation
- Authentication
- Access Token Authentication
- Setting a Custom Timeout
- Sample Usage
- Services
- Models
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 |
| BrailleService |
| StarwarsService |
| StartrekService |
| ElvishService |
| CharactersService |
| DialectService |
| PigLatinService |
| GameOfThronesService |
| EnglishService |
| InternetFadService |
Liblab Translation SDK
Project Details
- davidrojasliblab/test
- Last Updated: 4/16/2025
Recomended MCP Servers
This read-only MCP Server allows you to connect to Excel Online data from Claude Desktop through CData JDBC...
Shell and coding agent on claude desktop app
MCP (Model Context Protocol) server that utilizes the Google Gemini Vision API to interact with YouTube videos.
MCP tool to calculate TA using SSE transport layer
The Daisys mcp server
加密mcp服务器,crypto mcp
Web use, browser automation, scraping, and automation with Model Context Protocol (MCP) and Selenium.
This read-only MCP Server allows you to connect to Stripe data from Claude Desktop through CData JDBC Drivers....
AlibabaCloud CloudOps MCP Server
Forked repo to customize into Project Management purpose.





