The act of converting content from its original format into a format capable of being displayed on the web
Manage Multiple WordPress Sites

Library

Library Category

A Command Line Tool For JS Projects – grunt

grunt is a Node command line tool to make some actions easier when making JavaScript projects.

gruntjs A Command Line Tool For JS Projects   grunt

The library makes doing the above actions a lot easier.

grunt features a rather useful way of doing things through tasks. Tasks can be aliased, new tasks can be created, and some globals are used in tasks as well for code shortening (the globals don’t appear too harmful for this project).

Overall, grunt is a well-documented and useful tool for node projects.

Cross-browser List Enhancing – List.js

List.js is a library for turning your same-old, same-old HTML5 lists into flexible mini monsters with superhero features.

listjs Cross browser List Enhancing   List.js

The search and sorting features are admirable, but a more interesting feature is adding new list items in a template-y way.

Adding and removing list items creates myriad possibilities and is a feature required in any modern web application: for example, tag management, creating to-do lists or user interfaces — all these tasks become easy with list.js’s effective markup.

Download Any Data From A Web Page – jQuery.Download

jQuery.Download is a library for capturing the DOM data from a given object.

jQueryDownload Download Any Data From A Web Page   jQuery.Download

In the provided example, you can download the above SVG (courtesy of data:). Any JS-generated stuff is captured as well, because DOM data is captured.

This is supported only by modern browsers, but there’s a callback in case of an error, as well as a functionality checker.

Determine If A String Can Be Answered With “That’s What She Said” – twss.js

twss.js (that’s-what-she-said.js) is a Node library for determining if a string can be answered with “that’s what she said”.

For example, the simplest use of the library goes like this:

twss.is("Nice weather we're having today"); // false
twss.is("Can you make it harder?"); // true
twss.is("You're not going fast enough!"); // true

The library offers two options: changing the algorithm that determines whether or not a string can be answered with TWSS, and changing the threshold that can allow for more obscure or less obscure jokes to pass.

What’s interesting about this, though, is that, at the moment, twss.js has more than 500 watchers on GitHub.

    HTML5 Preloading Made Easy – PxLoader

    PxLoader is an HTML5 library for pre-loading data before you open up a new UI or, for example, enter a new chapter in your game.

    pxloader HTML5 Preloading Made Easy   PxLoader

    What’s interesting about PxLoader is that it allows prioritizing data loading; e.g., for an user interface, first load the background components, or — for a game — images.

    It’s also fairly easy (has examples of) to create a loading bar for your projects with PxLoader, which is great for games.

    Overall, the library is great, except maybe for the scarce resource type support.

    A Script For Grabbing A Picture’s Dominant Colors – Color Thief

    Color Thief is a JavaScript library that can grab dominant colors from a picture.

    colorthief A Script For Grabbing A Pictures Dominant Colors   Color Thief

    Color Thief is easy to use and employs the canvas element for generating a color palette from a picture.

    The script actually works (see demos in the homepage), and can grab the main colors even from the smallest image.