ISO 11649:2009 RF creditor reference generation, validation, and parsing library for Node.js. Version 3.0.0, pure ESM with TypeScript types. No dependencies, 4 KB (1.2 KB gzipped). Key differentiators: lightweight, zero-dependency, supports pretty formatting, and includes a fallback random generation when no base reference is provided. The library handles the complete RF reference lifecycle including checksum calculation (MOD97-10) and formatting.
npm install node-iso11649No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates generating RF creditor references from an existing reference, with pretty formatting, random generation, validation, and parsing.
Switch to ESM imports: import { generate } from 'node-iso11649'In production, provide a base reference or use cryptographically secure random values as part of the input.
Sanitize input to ensure it matches the allowed characters and length.
Use ESM import syntax: import { generate } from 'node-iso11649'Correct import: import { generate } from 'node-iso11649'Ensure the reference string contains only digits 0-9 and letters A-Z (case-insensitive), max 21 characters before adding RF.
No dependency data recorded yet.