Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use buffer in angular by using browserify

(window as any).global = window;
global.Buffer = global.Buffer || require('buffer').Buffer;
(window as any).process = {
  version: ''
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #buffer #angular #browserify
ADD COMMENT
Topic
Name
6+9 =