News for hackers. Stuff that matters.
Re:Show HN: AspectRat.io – Aspect ratio calculator and devic... by stephenr on Friday November 17, 2017 @11:40AM (#15723502)
The upvote was for `sd8dgf8ds8g8dsg`

> just a reference tool, along with an NPM module you can use.

Why does ~6 lines of basic logic need an NPM module?

Re:Show HN: AspectRat.io – Aspect ratio calculator and devic... by ryanhefner on Friday November 17, 2017 @11:50AM (#15723600)
Yeah, probably doesn't. I just found myself using it across a couple different projects and seemed like it would be easier than having to copy and paste it everywhere.

Also, it has a command line tool that you can use to get the aspect ratio from width/height. So, not just the code.