Socket
Socket
Sign inDemoInstall

postcss-minify-font-weight

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-minify-font-weight

Minimise font weight values in your CSS.


Version published
Maintainers
2
Created
Source

postcss-minify-font-weight Build Status NPM version Dependency Status

Minimise font-weight values in your CSS.

Install

With npm do:

npm install postcss-minify-font-weight --save

Example

Input

h1 {
    font-weight: bold;
    font-weight: normal;
}

Output

h1 {
    font-weight: 700;
    font-weight: 400;
}

Usage

See the PostCSS documentation for examples for your environment.

Contributing

Pull requests are welcome. If you add functionality, then please add unit tests to cover it.

License

MIT © Ben Briggs

Keywords

FAQs

Package last updated on 04 Sep 2015

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