New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-dr-frankenstyle

Package Overview
Dependencies
Maintainers
9
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-dr-frankenstyle

Resolves CSS dependencies between node packages

  • 0.2.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
38
increased by1800%
Maintainers
9
Weekly downloads
 
Created
Source

gulp-dr-frankenstyle

Build Status

Dr Frankenstyle gulp plugin to resolve CSS dependencies.

Install

npm install --save-dev gulp-dr-frankenstyle

Basic Usage

Because Dr. Frankenstyle uses streams and vinyl under the hood, it's super easy to use with Gulp!

var drFrankenstyle = require('dr-frankenstyle');
var gulp = require('gulp');

gulp.task('css', function() {
  return drFrankenstyle()
    .pipe(gulp.dest('<output-dir>'));
});

Options

Rails URLs

If you have a Rails project and you're using the asset pipeline, you probably want to use Rails' asset-url helper. (I.e. your css would have rules like background: asset-url('path/to/image.png') instead of background: url('path/to/image.png').) Dr. Frankenstyle has an option that will replace all urls with asset-urls

gulp.task('css', function() {
  return drFrankenstyle()
    .pipe(drFrankenstyle.railsUrls())
    .pipe(gulp.dest('<output-dir>'));
});

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.

Keywords

FAQs

Package last updated on 11 Aug 2016

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