Can we use any npm package(for example “moment JS”) with require keyword in the function?
No, we cant use moment.
              
              
              1 Like
            
            
          is there any way to encrypt with js code?? without npm packages
Yes we have encryption/decryption in cloud.ym
We have crypto module exposed for the same
we can use crypto in functions like this
ymLib.crypto.<crypto_utility>
e.g. ymLib.crypto.randomUUID()
              
              
              1 Like
            
            
          where I can get more info about function
ymLib.crypto.<crypto_utility>
e.g. ymLib.crypto.randomUUID()
