Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

atom/coffee-cash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement

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')