is-valid-acn
TypeScript icon, indicating that this package has built-in type declarations

1.3.4 • Public • Published

npm downloads CI

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')

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 Wojciech Maj

/is-valid-acn/

    Package Sidebar

    Install

    npm i is-valid-acn

    Weekly Downloads

    375

    Version

    1.3.4

    License

    MIT

    Unpacked Size

    7.51 kB

    Total Files

    10

    Last publish

    Collaborators

    • wojtekmaj