eflex-coffeescript-register-cache

1.1.2 • Public • Published

coffeescript-register-cache

require() cache for CoffeeScript 2 inspired by git://github.com/guillaume86/coffee-register-cache

usage

  require('coffeescript2-register-cache')('/usr/me/cache')

The exported function takes a cachePath parameter.

Alternatively the path can be set with an env var: COFFEE_REGISTER_CACHE_CACHE_DIR.

If not set the path will default to "PROJECT-ROOT/.coffee-cache".

/eflex-coffeescript-register-cache/

    Package Sidebar

    Install

    npm i eflex-coffeescript-register-cache

    Weekly Downloads

    2

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    8.13 kB

    Total Files

    7

    Last publish

    Collaborators

    • josephdickens87
    • nevans54
    • rrglomsk
    • jakesjews
    • eflex