No such think as decrypting a hash. You can try to brute-force it, yes, but short of a significant weakness or vulnerability there's no way to decrypt a hash.
Cryptographic hash functions are by definition one way. That is, unlike regular encryption, a cryptographic hash is irreversible. If you want to be able to encrypt and decrypt your data, you are looking for a cipher, not a hash.
Here's an npm package that might be of interest to you:
https://www.npmjs.com/package/crypto-jsApart from various cryptographic hashes, this library also includes a handful of well known ciphers:
https://code.google.com/archive/p/crypto-js/That being said, what do you want to achieve?