is-valid-utr
v1.0.1
Published
Check if a number is a valid Unique Taxpayer Reference (UTR)
Downloads
4
Readme
Is-Valid-UTR
Check if a number is a valid Unique Taxpayer Reference (UTR).
tl;dr
- Install by executing
npm install is-valid-utr
oryarn add is-valid-utr
. - Import by adding
import isValidUTR from 'is-valid-utr'
. - Use it by writing
const valid = isValidUTR('1123456789')
Examples
isValidUTR('1123456789'); // true
isValidUTR('11234 56789'); // true
License
The MIT License.