benchmark ram usage angular

JavaScript
$ npm install --save js-meter
Source

Also in JavaScript: