Cómo usar el búfer en Angular usando Browserify

(window as any).global = window;
global.Buffer = global.Buffer || require('buffer').Buffer;
(window as any).process = {
  version: ''
};
Aamir Farooq