Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Cleanse your node.js program of require.cache malarky so that compile-to-js languages have to actually be compiled to js.
JavaScript CoffeeScript
branch: master

Big Silly Dog license

j/k, it's a normal BSD.

Fixes #1
latest commit 049d92b908
@isaacs authored
Failed to load latest commit information.
LICENSE Big Silly Dog license
README.md Updated README.md
cleanse.js 1.2.5
foo.coffee 1.2.5
package.json Big Silly Dog license
test.js 1.2.5

README.md

coffee-cleanse

This is a nice linty-type thing to throw in your program, to make sure that you're remembering to compile your compiled-to-js language modules into js, as god intended.

Usage:

require('coffee-cleanse')

All modules that aren't .js/.json/.node-type modules are now out of the require.cache, and require.extensions is frozen solid.

Something went wrong with that request. Please try again.