🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

yp-css

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

yp-css

minify css

npmnpm
Version
1.0.0
Version published
Weekly downloads
41
57.69%
Maintainers
1
Weekly downloads
 
Created
Source

自己造的压缩css的轮子

const minifyCss = require('yp-minify-css'),
      fs = require('fs');
const content = fs.readFileSync('a.css').toString();

let output = minifyCss(content);

Keywords

minify

FAQs

Package last updated on 09 Feb 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