Como usar o buffer no Angular usando o BrowSerify
(window as any).global = window;
global.Buffer = global.Buffer || require('buffer').Buffer;
(window as any).process = {
version: ''
};
Aamir Farooq