JSPM

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

IBAN masks that can be used with Text Mask

Package Exports

  • text-mask-addon-iban
  • text-mask-addon-iban/dist/index.js

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

api

example (React)

// IbanInput.js

import React from 'react'
import MaskedInput from 'react-text-mask'
import createIBANMask from 'text-mask-addon-iban'

const ibanMask = createIBANMask('GB') // United Kingdom of Great Britain and Northern Ireland

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