{"library":"react-cc-number-formatter","type":"library","category":null,"description":"A React adapter component for formatting, validating, and managing credit card form inputs. Current stable version is 0.9.1, released under MIT license. It formats card numbers with spaces every four digits, performs Luhn validation, blocks invalid input for MM/YY/CVV fields, and uses a render-prop pattern to be styling-agnostic. Unlike alternatives (e.g., react-credit-cards), it separates formatting logic from UI and provides detailed credit card info (brand, completeness per field). Depends on React only.","language":"javascript","status":"active","version":"0.9.1","tags":["javascript","typescript"],"install":[{"cmd":"npm install react-cc-number-formatter","imports":["import { CreditCardNumberFormatter } from 'react-cc-number-formatter'","import type { CreditCard } from 'react-cc-number-formatter'","import type { CreditCardInfo } from 'react-cc-number-formatter'","import type { BrandType } from 'react-cc-number-formatter'"]},{"cmd":"yarn add react-cc-number-formatter","imports":[]},{"cmd":"pnpm add react-cc-number-formatter","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"react-cc-number-formatter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 04","next_check":"Wed Sep 02","install_tag":null}}