is-valid-acn

    1.1.0 • Public • Published

    npm downloads tested with jest

    is-valid-acn

    Check if a number is a valid Australian Company Number (ACN).

    tl;dr

    • Install by executing npm install is-valid-acn or yarn add is-valid-acn.
    • Import by adding import isValidACN from 'is-valid-acn'.
    • Use it by writing const valid = isValidACN('010499966')

    Examples

    > isValidACN('010499966');
    < true
     
    > isValidACN('010 499 966');
    < true
     
    > isValidACN('010-499-966');
    < true

    License

    The MIT License.

    Author

    Wojciech Maj
    kontakt@wojtekmaj.pl
    http://wojtekmaj.pl

    Install

    npm i is-valid-acn

    DownloadsWeekly Downloads

    114

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    7.33 kB

    Total Files

    13

    Last publish

    Collaborators

    • wojtekmaj