New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

free-translate

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

free-translate

A free and unlimited translator for Node.js.

latest
Source
npmnpm
Version
0.6.1
Version published
Weekly downloads
218
71.65%
Maintainers
1
Weekly downloads
 
Created
Source

free translate

A free and unlimited translator for Node.js

🈂️ ⠀free text translator for Node.js.

Install

To install free-translate, you can use NPM:

npm install free-translate

Quick examples

const { translate } = require('free-translate');

(async () => {
  const translatedText = await translate('Hello World', { from: 'en', to: 'ja' });

  console.log(translatedText); // こんにちは世界
})();

Automatic language recognition

If the language informed in the from is dynamic, just do not send it and the translator will automatically recognize it:

const { translate } = require('free-translate');

(async () => {
  const translatedText = await translate('This is cool!', { to: 'ja' });

  console.log(translatedText); // これはカッコいい!
})();

Support

Contact me!

  • E-mail ribeirogabx@gmail.com

Licensa

License

Keywords

translate

FAQs

Package last updated on 13 Feb 2022

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