Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 604 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 604 Bytes

This Repo is archived under Pulsar-Edit since it is not used.

Coffee Cash Build Status

Simple CoffeeScript caching based on a SHA-1 of the contents.

Installing

npm install coffee-cash

Usage

CoffeeCache = require 'coffee-cash'
CoffeeCache.setCacheDirectory('/tmp/cache/coffee')
CoffeeCache.register()

# CoffeeScript is now registered so you can require .coffee files
# and they will be automatically use cached JavaScript when available
require('./foo.coffee')