2.0.5 • Published 7 years ago

strong-cached-install v2.0.5

Weekly downloads
22
License
Artistic-2.0
Repository
github
Last release
7 years ago

strong-cached-install Build Status

NPM badge

Overview

Strong-cached-install speeds up npm install in your tests by caching the content of node_modules and using plain cp -r on subsequent runs.

Installation

$ npm install strong-cached-install

Usage

var path = require('path');
var install = require('strong-cached-install');

describe('my yo generator', function() {
  before(resetSandbox);
  before(runGeneratorInSandbox);

  before(function installDependencies(done) {
    var appDir = SANDBOX;
    var cacheDir = path.resolve(__dirname, '.pkgcache');
    install(appDir, cacheDir, done);
  }

  // and the tests
});
2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

9 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago