Encrypt client local storage

Any ideas/samples/recommendations how to encrypt the local storage data?

There’s an npm package.
Disclaimer: I never used it