
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.
atm-card-react
Advanced tools
| Card usage samples | Card usage samples |
|---|---|
![]() | ![]() |
![]() | ![]() |
# Install package from NPM
% npm install atm-card-react
# or
# Install package from NPM
% yarn add atm-card-react
// Functional component example
import React, { useState } from 'react';
import { ATMCard } from 'atm-card-react';
function App() {
const [number, setNumber] = useState<string>('');
const [month, setMonth] = useState<number>(2);
const [year, setYear] = useState<number>(22);
const [holder, setHolder] = useState<string>('');
const [cvv, setCvv] = useState<string>('');
return (
<>
<ATMCard
year={year}
month={month}
cvv={cvv}
number={number}
holderName={holder}
bankLogo={
<h1 style={{
fontFamily: 'Arial',
fontSize: 30 * scale,
color: 'white'
}}>Cool Bank Logo</h1>
}
lifted
system={system}
scale={scale}
onChange={(data) => {
setNumber(data.number);
setCvv(data.cvv);
setMonth(data.month);
setYear(data.year);
setHolder(data.holder);
}}/>
</>
);
}
export default App;
| Prop | Type | Value | Description |
|---|---|---|---|
| number | string | 1234123412341234 | ATM Card number (PAN) (16 digits) |
| month | number | 1 | ATM Card expired month (2 digits) |
| year | number | 22 | ATM Card expired year (2 digits) |
| holderName | string | John Doe | ATM Card holder name |
| cvv | string | 000 | ATM Card cvv/cvv2 code (3 digits) |
| bankLogo | ReactNode | ATM Card bank issuer data | |
| system | string | ENUM | mastercard, visa, maestro, americanexpress, jcb, dinnersclub, mir |
| hideDigits | boolean | true/false | Hide ATM Card number |
| onChange | function | return { cvv, holder, month, number, year } | |
| fontFamily | string | Set custom Font (as default used CREDITCARD font, see below about usage license) | |
| numberFontSize | number | Set ATM Card number (PAN) custom font size | |
| scale | number | 0 - 1 | Set ATM Card scale |
| dark | boolean | true/false | Dark mode (applied only for back side magnet) |
| dataColor | string | hex, rgb(-a) | Data text color |
| bgColor | string | hex, rgb(-a) | Background color |
| bgImage | string | base64/url | Background image |
| lifted | boolean | true/false | Elevate ATM Card |
Component usage: MIT Licensed Copyright (c) 2020 Asset Sultanov
FAQs
ATM Card React component
The npm package atm-card-react receives a total of 6 weekly downloads. As such, atm-card-react popularity was classified as not popular.
We found that atm-card-react 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.