Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Converts Numbers (including decimal points) into words for Indian style. It also converts the numbers into words for currency, again, for Indian style.
npm install to-words --save
OR
yarn add to-words
let toWords = requier('to-words');
let words = toWords(123); // words = One Hundred Twenty Three
words = toWords(123.45); // words = One Hundred Twenty Three Point Fourty Five
To convert to currency
let toWords = requier('to-words');
let words = toWords(452); // words = Four Hundred Fifty Two Rupees Only
words = toWords(452.36); // words = Four Hundred Fifty Two Rupee And Thirty Six Paise Only
FAQs
Converts numbers (including decimal points) into words & currency.
The npm package to-words receives a total of 40,620 weekly downloads. As such, to-words popularity was classified as popular.
We found that to-words demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.