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

1.3.3 • 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
kontakt@wojtekmaj.pl
https://wojtekmaj.pl

Install

DownloadsWeekly Downloads

23

Version

1.3.3

License

MIT

Unpacked Size

7.42 kB

Total Files

10

Last publish

Collaborators

  • wojtekmaj