gulp-css-info

1.0.1 • Public • Published

CSS info for Gulp

This gulp plugin allows you to generate a static version of the CSS info app contained within a single file. The generated HTML file is a replacement for css-info.com so that you can include your functional CSS reference in your project repo.

Example usage

Import as cssInfo and pipe CSS files through cssInfo(). They will be converted to HTML files.

import gulp from 'gulp';
import cssInfo from 'gulp-css-info';
 
// Turns `css/style.css` into `docs/css/style.html`
gulp.task('default', () =>
  gulp.src('**/*.css')
    .pipe(cssInfo())
    .pipe(gulp.dest('docs'))
)
 

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-css-info

Weekly Downloads

54

Version

1.0.1

License

ISC

Last publish

Collaborators

  • jeanfredrik