JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 395
  • Score
    100M100P100Q98107F
  • License Unlicense

IBAN masks that can be used with Text Mask

Package Exports

  • text-mask-addon-iban

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (text-mask-addon-iban) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

install

npm i text-mask-addon-iban

example (React)

// ibanMask.js
import createIBANMask from 'text-mask-addon-iban'

const country = 'GB' // Great Britain
export default createIBANMask(country)
// IbanInput.js
import React from 'react'
import MaskedInput from 'react-text-mask'

import ibanMask from './ibanMask.js'

export default (props) => (
  <MaskedInput mask={ibanMask} {...props} />
)