Is-Valid-ACN
Check if a number is a valid Australian Company Number (ACN).
tl;dr
- Install by executing
npm install is-valid-acn
oryarn add is-valid-acn
. - Import by adding
import isValidACN from 'is-valid-acn'
. - Use it by writing
const valid = isValidACN('010499966')
See also
- is-valid-abn: Check if a number is a valid Australian Business Number (ABN).
Examples
isValidACN('010499966'); // true
isValidACN('010 499 966'); // true
isValidACN('010-499-966'); // true
License
The MIT License.
Author
Wojciech Maj |