Skip to content

tshaddix/gulp-memory-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-memory-stats

Gulp plugin for enabling memory stats using @paulirish's memory-stats.js. Appends memory-stats.js to document head and appends rendering/setup script tobody.

npm install --save-dev gulp-memory-stats

Take a look at the Usage section for Chrome setup.

Quick Example

// in your gulpfile...

var memoryStats = require('gulp-memory-stats');

gulp.task('html', function() {
  gulp.src(src.html)
    .pipe(memoryStats({ position: 'top-right' })) // can be 'bottom-right' (default), 'bottom-left', 'top-right', 'top-left'
    .pipe(gulp.dest(dest.html));
});

Testing

mocha

About

Gulp plugin for enabling memory stats using @paulirish's project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published