
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
google-input-tool
Advanced tools
Small Free library tool to transliterate words for a provided language code.
Create & PUsh Git Tag:
git tag v1.1.2 git push origin --tags
Login to Npm
npm login
userename: r******
password: ***
email: sam***.***.*****@****.com
To Verify if Logged in:
npm whoami
Modify the tag version on package.json as below:
{
"name": "google-input-tool",
"version": "1.1.1",
...
}
Publish the package in npm js
npm publish
Will Give Following output:
npm notice
npm notice 📦 google-input-tool@1.1.2
npm notice === Tarball Contents ===
npm notice 767B package.json
npm notice 2.3kB index.js
npm notice 1.4kB README.md
npm notice 16.8kB test/test.js
npm notice === Tarball Details ===
npm notice name: google-input-tool
npm notice version: 1.1.2
npm notice package size: 4.1 kB
npm notice unpacked size: 21.2 kB
npm notice shasum: 57e02d067884918d114d2ea9a1bdb3cbb19ee3db
npm notice integrity: sha512-BrDfNniAQBnB6[...]B1Lo5b05Pn71Q==
npm notice total files: 4
npm notice
+ google-input-tool@1.1.2
npm install google-input-tool
let googleTransliterate = require('google-input-tool');
let sourceText = 'hami';
let inputLanguage = 'ne-t-i0-und';
let maxResult = 8;
let request = new XMLHttpRequest();
googleTransliterate(request, sourceText, inputLanguage, maxResult)
.then(function(response) {
console.log('Transliterated Text: ', response);
});
Output:
Transliterated Text: हामी
| Language | Code |
|---|---|
| Amharic | am-t-i0-und |
| Arabic | ar-t-i0-und |
| Bengali | bn-t-i0-und |
| Chinese (Hong Kong) | yue-hant-t-i0-und |
| Chinese (Simplified, China) | zh-t-i0-pinyin |
| Chinese (Traditional, Taiwan) | zh-hant-t-i0-und |
| Greek | el-t-i0-und |
| Gujarati | gu-t-i0-und |
| Hindi | hi-t-i0-und |
| Kannada | kn-t-i0-und |
| Malayalam | ml-t-i0-und |
| Marathi | mr-t-i0-und |
| Nepali | ne-t-i0-und |
| Oriya | or-t-i0-und |
| Persian | fa-t-i0-und |
| Punjabi | pu-t-i0-und |
| Russian | ru-t-i0-und |
| Sanskrit | sa-t-i0-und |
| Serbian | sr-t-i0-und |
| Sinhalese | si-t-i0-und |
| Tamil | ta-t-i0-und |
| Telugu | te-t-i0-und |
| Thai | th-t-i0-und |
| Tigrinya | ti-t-i0-und |
| Urdu | ur-t-i0-und |
FAQs
Transliterate language based on code provided from input tool api
The npm package google-input-tool receives a total of 135 weekly downloads. As such, google-input-tool popularity was classified as not popular.
We found that google-input-tool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.