
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
mod10-check-digit
Advanced tools
$ npm install --save mod10-check-digit
# OR
$ yarn add mod10-check-digit
Module exports a single function that takes a number string as argument and returns the check digit number.
const mod10CheckDigit = require('mod10-check-digit')
console.log(mod10CheckDigit('9202204720082')) // 2
console.log(mod10CheckDigit('7992739871')) // 3
console.log(mod10CheckDigit('7240157335352')) // 4
$ npm install --global mod10-check-digit
# OR
$ yarn global add mod10-check-digit
Then:
$ mod10-check-digit 9202204720082
# 2
Contributions are welcome. Please open up an issue or create PR if you would like to help out.
Note: If editing the README, please conform to the standard-readme specification.
Licensed under the MIT License.
FAQs
Calculate the check digit(mod10 algorithm)
The npm package mod10-check-digit receives a total of 88 weekly downloads. As such, mod10-check-digit popularity was classified as not popular.
We found that mod10-check-digit 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.