Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daliborgogic/merge-media-queries-stylus
Merge Media Queries Stylus Plugin
https://github.com/daliborgogic/merge-media-queries-stylus
Last synced: 9 days ago
JSON representation
Merge Media Queries Stylus Plugin
- Host: GitHub
- URL: https://github.com/daliborgogic/merge-media-queries-stylus
- Owner: daliborgogic
- License: mit
- Created: 2016-12-14T13:59:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-14T14:00:44.000Z (almost 8 years ago)
- Last Synced: 2024-10-10T16:41:51.754Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CSS MQPacker Stylus
-------------------An [node-css-mqpacker](https://github.com/hail2u/node-css-mqpacker) plugin for stylus.
### Installation
You can install through npm as such: `npm i daliborgogic/merge-media-queries-stylus`
### Usage
You can include merge-media-queries-stylus as a normal stylus plugin. Basic example below:
```js
var stylus = require('stylus');
var mergeMediaQueries = require('merge-media-queries-stylus');stylus(css)
.use(mergeMediaQueries())
.render(function(err, output) {
console.log(output);
});
```If you'd like to install globally and run from the command line, you can do it like this:
```js
npm i -g daliborgogic/merge-media-queries-stylus
stylus -u merge-media-queries-stylus -c foo.styl
```