Busca pela tag "javascript"


appmetrics.js A small (1.5KB gzip) library for measuring things in your web app, annotating the DevTools timeline, and reporting the results to Google Analytics. This library is a small wrapper around the the User Timing API. It makes it easier to use. appmetrics.


Go ahead and try it by clicking the "Demo" button above! For more documentation, checkout the official repo. If you're really feeling fiesty, you can check out the kid who made this.


JustGage is a handy JavaScript plugin for generating and animating nice & clean gauges. It is based on Raphaël library for vector drawing, so it’s completely resolution independent and self-adjusting.

12 Extremely Useful Hacks for JavaScript

In this post I will share 12 extremely useful hacks for JavaScript. These hacks reduce the code and will help you to run optimized code. So let’s start hacking! Sometimes we need to check if some variable exists or if it has a valid value, to consider them as true value.

Introduction to jCanvas: jQuery Meets HTML5 Canvas

HTML5 lets you draw graphics straight into your web page using the <canvas> element and its related JavaScript API. In this post, I’m going to introduce you to jCanvas, a free and open source jQuery-based library for the HTML5 Canvas API.


Library to detect when DOM elements become visible and disappear on scroll. You can download the code from the github repository or install the npm package as huntjs.


Smartcrop.js implements an algorithm to find good crops for images. Image: https://www.flickr.com/photos/endogamia/5682480447/ by N. Feans