0.0.4 • Published 3 years ago

dragokyun v0.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Dragokyun ~ Translator

Rob the corpos until they ban you uwu

Make sure you have puppeteer, puppeteer-extra and puppeteer-extra-plugin-stealth installed in your system before using this

Installation

> npm i dragokyun

Usage

Importing

💛 JavaScript

const dragokyun = require('dragokyun');

Functions

translate()

	translate('text to translate', 'source language', 'translate language');

Translation:

Example of Translating Texts

const dragokyun = require('dragokyun');
(async () => {
    let text = `昔の素材を切り貼りして音楽を担当してます中野さんとは @suzukitakayuki_atelier のインスタレーション以来のコラボ。映像作品もまたやりたいな`
    let output = await dragokyun.translate(text, 'ja', 'en');
    console.log(output)
  })();
  • Oii, it can translate texts without source language too, it will detect i hope uwu*