createHmac
createHmac copied to clipboard
How use it in browser?
Its nodejs project. How I must integrate it with my frontend?
browserify or webpack
@calvinmetcalf requiring the lib consumer's module bundling solution to provide polyfills for native node modules is problematic in some cases. Eg, Angular-CLI 6+.
See: https://github.com/angular/angular-cli/issues/9827#issuecomment-369578814
Can you indicate how to convert to browser version? I constantly get the issue process is not defined
solved by setting process to 'mock'