
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
react-ir-banks-logo
Advanced tools
A React component that returns logos of Iranian banks based on card number.
A React component that returns logos of Iranian banks based on card number. Demo
npm i react-ir-banks-logo
import { BankIcon } from 'react-ir-banks-logo';
function App() {
const [digits, setDigits] = useState('');
const [name, setName] = useState('');
return (
<div className="App">
<input
type="text"
value={digits}
onChange={e => setDigits(e.target.value)}
/>
<BankIcon
digits={digits}
size="200px"
margin="100px"
onFindBankName={(name: string) => setName(name)}
/>
<h1>{name}</h1>
</div>
);
}
Props | Value Type | Default Value |
---|---|---|
digits | string | number | is required |
size | string | '40px' |
margin | string | '8px' |
onFindBankName | (name: string) => void | - |
FAQs
A React component that returns logos of Iranian banks based on card number.
The npm package react-ir-banks-logo receives a total of 0 weekly downloads. As such, react-ir-banks-logo popularity was classified as not popular.
We found that react-ir-banks-logo 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.