Simple money mask use a semver (semantic version) please read the docs equivalent to your version.
First, install it.
npm i simple-mask-money --save
Or use direct of github release
<script src="https://github.com/codermarcos/simple-mask-money/releases/download/<RELEASE_VERSION_HERE>/simple-mask-money.js"></script>
remember change <RELEASE_VERSION_HERE> by the last version
These are examples of version 2.x.x choose your implementation: