yaorg / node-measured

A Node metrics library for measuring and reporting application-level metrics, inspired by Coda Hale, Yammer Inc's Dropwizard Metrics Libraries
https://yaorg.github.io/node-measured/
MIT License
517 stars 52 forks source link

Feature/general updates #34

Closed fieldju closed 6 years ago

fieldju commented 6 years ago

@csabapalfi the crux of what I am trying to do here, is make things a little more modern and fully annotate the code so that this can be generated every time a commit to master is made.

https://yaorg.github.io/node-measured/

That static site which is deployed to the gh-pages branch via

npm run jsdoc
npm run deploy-js-doc-to-github

is 100% generated from code annotations.

This PR looks really big because I converted classes to the ES6 format and used prettier and eslint with a slightly tweaked AirBnB ruleset to reformat the code. All the unit tests are still passing and no apis have changed.

Normally I would do something like this in a bunch of small PR's but I had this queued up awaiting legal approval for my public contributions of work I did on company time.