Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pixel2html/pipes

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixel2html/pipes

Plugabble pipes for a composable gulp stream

  • 2.2.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@pixel2html/pipes

Plugabble pipes for a composable gulp stream

npm install @pixel2html/pipes

Example

const gulp = require('gulp')
const styles = require('@pixel2html/pipes').styles

gulp.task('styles', () =>
  gulp.src('src/styles/**/!(_)*.scss')
    .pipe(styles({
      modules: true,
      name: 'main.css',
      production: process.env.NODE_ENV === 'production'
    })())
    .on('error', config.onError)
    .pipe(gulp.dest('dist/styles'))
)


Contents

  • critical: create critical CSS
  • html: html with replace and posthtml
  • minifyStyles: minimize, comb, groupCssMediaQueries and nano
  • pug: pug and posthtml with modules
  • purify: remove unused CSS
  • styles: sourcemaps, postCss with modules and autoprefixer

pixel2html boilerplate

We use this already on our own Frontend boilerplate, don't be shy and try it out 🎩

FAQs

Package last updated on 21 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc