Skip to content
Collection of my underscore.js mixns http://drews-mixins.the.tl/test/test.html
CoffeeScript JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
README.md
drews-mixins.coffee
drews-mixins.js
index.html
package.json
test.coffee
test.js

README.md

Drew's Mixins

drews-mixins is a library of underscore.js mixins. You can use it both in node.js and in the browser.

See tests at http://drews-mixins.the.tl/test/test.html

To install for node.js npm install drews-mixins

node.js example usage (in coffeescript)

_ = require "underscore"
drews = require "drews-mixins"
_.mixin drews
_.s "the s is a substring", 0, 5 #--> "the s"

I also embedded my fork of the extremely awesome nimble library

The reason why I forked: https://github.com/caolan/nimble/pull/1

(Hopefully my pull request gets accepted :). If it does, I wont include nimble in this project)

Something went wrong with that request. Please try again.