Tag: javascript

  1. Handy script to get time difference in Javascript

    When I was writing my fabricator.js library, I had to write some unit tests where I was thinking about measuring the time between two-time points. It's a quite easy task, but when it comes to calculating every time in your mind and convert from milliseconds to seconds and then…

    on javascript time difference time milliseconds minutes hours convert

  2. Javascript linting in "hot reload" mode

    When I started to work with Javascript, I found such thing as Javascript lint. it's quite useful since it allows for teams to use same code standards and agreements. That's why I decided to add linting to my project as well. For that I had to : Install Eslint npm install…

    on javascript eslint watch eslint-watch hot-reload

  3. Pretty printing of JSON in javascript

    I like JSON very much. It's easy to read, easy to work with, but when you get a big structure, it's handy to have some quick way for print it out in a nice readable format. Before i was using Sublime Text editor with PrettyJson plugin. But now i started…

    on json javascript prettyprint

  4. Nice sample table of new features in ECMAScript 6

    Just yesterday found by accident this nice page where described in a small and clear examples new features from ES6. Pretty handy to have this table close to peak from time to time, if you forget something. Since we have Babel, it should be super fun and easy to write…

    on javascript es6 new_features cheatsheet

  5. How to crazy easily speed up your npm install speed

    Thanks to Gavin Joyce i recently found out how easily you could speed up your npm install - just do npm set progress=false and you're done! That's so sweet :) Thanks Gavin.…

    on javascript npm speed performance improvement

  6. Getting Javascript-Garden as epub

    Recently i started to look into Javascript world and one of the nice starters was mentiond Javascript-Garden . I like to read books on my phone or iPad and therefore online versions are not so nice, because you can't put bookmark on where you stopped reading. Thanks to pandoc, this book…

    on gist javascript javascript-garden epub