Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Cleanse your node.js program of require.cache malarky so that compile-to-js languages have to actually be compiled to js.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 cleanse.js
Octocat-spinner-32 foo.coffee
Octocat-spinner-32 package.json
Octocat-spinner-32 test.js
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.