npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

anylanguagetranslate

v1.1.5

Published

This is a translate package that is capable to translate strings in json or normal text in async and return response in 5 seconds

Readme

This is language translate package

Translate without any api key or translationApiKey (Zero Investment)

This package can translate english language into 77 languages using language iso639_1 codes. This can translate any json(only its string) or string text and can give a response in 3 seconds. This package uses asynchronous calls to traverse and translate much father than translating each string at a time in entire json.

Getting started

To use it in node.js first install it:

npm install anylanguagetranslate

Then import it to use it:

const anylanguagetranslate = require('anylanguagetranslate'); // Older ways
import anylanguagetranslate from 'anylanguagetranslate';  // ES6

Also it can have a parameter that can ignore any key in json while translating.

Syntax:

// This package provide function
anylanguagetranslate(data, language, ignoreKeyNameArray)

Sample Code:

anylanguagetranslate(data, language, ignoreKeyNameArray):

const myFunction = async() => {
    let data = {
        id: 2,
        name: "abc",
        address: "some place",
        token: "qwertyuiopas56dgj"
    }

   data = await anylanguagetranslate(data, "es", ["name", "token"])

   console.log("translated object: ", data)
   // It will display the translate object

    /*-------------------------------------------*/

    let data2 = "Hello world"
    data2 = await anylanguagetranslate(data2, "fr")

    console.log("translated string: ", data2)
   // It will display the translate string
}

// Calling myFunction()
myFunction()

// Note: This will not translate ignoreKeyNameArray

Note: This code has a high success ratio and can translate in most of the languages.

Languages it translate

| Name | iso639_1 | | :------------------: | :------: | | Pashto | ps | | Uzbek | uz | | Swedish | sv | | Albanian | sq | | Arabic | ar | | English | en | | Catalan | ca | | Portuguese | pt | | Russian | ru | | Spanish | es | | Armenian | hy | | Dutch | nl | | Punjabi | pa | | German | de | | Azerbaijani | az | | Bengali | bn | | Belarusian | be | | French | fr | | Bosnian | bs | | Croatian | hr | | Serbian | sr | | Norwegian | no | | Malay | ms | | Bulgarian | bg | | Khmer | km | | Turkish | tr | | Chinese (Simplified) | zh | | Swahili | sw | | Greek | el | | Czech | cs | | Slovak | sk | | Danish | da | | Estonian | et | | Amharic | am | | Hindi | hi | | Urdu | ur | | Finnish | fi | | Georgian | ka | | Ukrainian | uk | | Haitian Creole | ht | | Italian | it | | Hungarian | hu | | Icelandic | is | | Indonesian | id | | Persian | fa | | Irish | ga | | Hebrew | he | | Japanese | ja | | Kazakh | kk | | Kyrgyz | ky | | Lao | lo | | Latvian | lv | | Sesotho | st | | Lithuanian | lt | | Macedonian | mk | | Malagasy | mg | | Chichewa | ny | | Maltese | mt | | Romanian | ro | | Mongolian | mn | | Myanmar (Burmese) | my | | Afrikaans | af | | Nepali | ne | | Maori | mi | | Korean | ko | | Polish | pl | | Tamil | ta | | Slovenian | sl | | Somali | so | | Xhosa | xh | | Zulu | zu | | Sinhala | si | | Tajik | tg | | Thai | th | | Vietnamese | vi | | Shona | sn |