Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

postcss-merge-longhand

Package Overview
Dependencies
2
Maintainers
7
Versions
56
Issues
File Explorer

Advanced tools

postcss-merge-longhand

Merge longhand properties into shorthand with PostCSS.

    5.1.7latest

Version published
Maintainers
7
Weekly downloads
10,625,715
decreased by-10%

Weekly downloads

Readme

Source

postcss-merge-longhand

Merge longhand properties into shorthand with PostCSS.

Install

With npm do:

npm install postcss-merge-longhand --save

Example

Merge longhand properties into shorthand; works with margin, padding & border. For more examples see the tests.

Input

h1 { margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; }

Output

h1 { margin: 10px 20px; }

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs

Keywords

FAQs

What is postcss-merge-longhand?

Merge longhand properties into shorthand with PostCSS.

Is postcss-merge-longhand popular?

The npm package postcss-merge-longhand receives a total of 10,044,943 weekly downloads. As such, postcss-merge-longhand popularity was classified as popular.

Is postcss-merge-longhand well maintained?

We found that postcss-merge-longhand demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 7 open source maintainers collaborating on the project.

Last updated on 28 Oct 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc