
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@phuocng/fake-numbers
Advanced tools
Generate fake, valid numbers. Check if a given number is valid.
The following piece of code generates a fake, valid credit card number.
import { creditCard } from '@phuocng/fake-numbers';
// Generate a fake credit card number
const creditCardNumber = creditCard.fake();
// Check if a given value is a valid credit card nunber
creditCard.check(creditCardNumber).valid; // returns `true`
<script src="https://unpkg.com/@phuocng/fake-numbers@1.0.0/umd/fake-numbers.min.js"></script>
<script>
// Fake a credit card number
const number = FakeNumbers.creditCard.fake();
// Check a credit card number
const isValid = FakeNumbers.creditCard.check('given number').valid;
</script>
Purchase a Commercial License at the official website
This project is developed by Nguyen Huu Phuoc. You might be interesting in my projects:
Product | Description |
---|---|
Blur Page | A browser extension to hide sensitive information on a web page |
CSS Layout | A collection of popular layouts and patterns made with CSS |
Fake Numbers | Generate fake and valid numbers |
Form Validation | The best validation library for JavaScript |
React PDF Viewer | A React component to view a PDF document |
FAQs
Generate fake, valid numbers
We found that @phuocng/fake-numbers 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.