Wrench.js

Wrench.js is a JavaScript environment which bridges across server-side and browser-side JavaScript, it serves as the base for MonkeyScript's stdlib.

The project provides Array and String prototypes which fill in the gap of missing array and string manipulation methods in JavaScript, as well as a few extra helpers.

Go ahead and try it out, if you're on a desktop (this doesn't work for mobile browsers) just open up a console on this page, and try to .shuffle() an array, covert a "dash-separated-string".toCamelCase(), take a word and only captialize the first character using .toFirstUpperCase(), .trim() (whitespace) or .strip('characters') (a list of characters) from the ends of a string, reverse it, or .repeat(n) it a number of times.

Latest release is v1.0.0 built on September 2nd, 2009.

Download (v1.0.0)

What do I download?