Socket
Socket
Sign inDemoInstall

postcss-rm-imports

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-rm-imports

remove or comment out @import statements


Version published
Weekly downloads
25
increased by316.67%
Maintainers
1
Weekly downloads
 
Created
Source

postcss-rm-imports

NPM version build status Test coverage Gittip

Comments out or removes @import statements. Useful for build processes.

Installation

npm install postcss-rm-imports

Usage

var postcss = require("postcss")
var rmImports = require("postcss-rm-imports")

var css = postcss()
  .use(rmImports({
    remove: false
  }))
  .process(cssString)
  .css

Options

By default, it will simply comment-out @import statements. If you would like it to remove the @import statements, set remove: true as an option.

Keywords

FAQs

Package last updated on 11 Aug 2014

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