# postcss-jongleberry

> My personal bundle of PostCSS middleware

Latest version **1.2.0** (published 2016-11-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install postcss-jongleberry
pnpm add postcss-jongleberry
yarn add postcss-jongleberry
bun add postcss-jongleberry
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2016-11-26 |
| First published | 2016-01-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Jonathan Ong |
| Maintainers | jongleberry |
| Keywords | css, postcss, css-modules, cssnext, rucksack |

## Links

- npm: https://www.npmjs.com/package/postcss-jongleberry
- Repository: https://github.com/jongleberry/postcss-jongleberry
- Homepage: https://github.com/jongleberry/postcss-jongleberry#readme
- Issues: https://github.com/jongleberry/postcss-jongleberry/issues
- npm.io page: https://npm.io/package/postcss-jongleberry

## Dependencies (4)

- [cssnano](https://npm.io/package/cssnano.md) ^3.4.0
- [rucksack-css](https://npm.io/package/rucksack-css.md) ^0.9.1
- [postcss-nested](https://npm.io/package/postcss-nested.md) ^1.0.0
- [postcss-cssnext](https://npm.io/package/postcss-cssnext.md) ^2.4.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2016-11-26
- 1.1.0 — 2016-04-26
- 1.0.2 — 2016-02-08
- 1.0.1 — 2016-01-09
- 1.0.0 — 2016-01-04
- 0.0.0 — 2016-01-04

## README

# postcss-jongleberry

[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![Dependency Status][david-image]][david-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

My personal PostCSS bundle because I'm tired of `require()`ing all the packages everywhere.
Includes:

- https://github.com/MoOx/postcss-cssnext - polyfill for the future
- https://github.com/postcss/postcss-nested - nesting, specifically for making an entire spreadsheet `:global {}` for [css-modules](https://github.com/css-modules/css-modules)
- https://simplaio.github.io/rucksack/
- http://cssnano.co/ - only enabled with `options.minify = true` or `process.env.NODE_ENV === 'production'`

## API

```js
return require('postcss')(require('postcss-jongleberry')({
  minify: process.env.NODE_ENV === 'production',
}))
.process(input, {
  from: `input.css`,
  to: `output.css`,
})
.then(result => {
  console.log(result.css)
})
```

### const middleware = postcssJongleberry(options)

Returns an array of middleware to be passed to `postcss()`.
The options are:

- `minify = process.env.NODE_ENV === 'production'` - whether to minify the CSS with cssnano

[npm-image]: https://img.shields.io/npm/v/postcss-jongleberry.svg?style=flat-square
[npm-url]: https://npmjs.org/package/postcss-jongleberry
[travis-image]: https://img.shields.io/travis/jongleberry/postcss-jongleberry.svg?style=flat-square
[travis-url]: https://travis-ci.org/jongleberry/postcss-jongleberry
[codecov-image]: https://img.shields.io/codecov/c/github/jongleberry/postcss-jongleberry/master.svg?style=flat-square
[codecov-url]: https://codecov.io/github/jongleberry/postcss-jongleberry
[david-image]: http://img.shields.io/david/jongleberry/postcss-jongleberry.svg?style=flat-square
[david-url]: https://david-dm.org/jongleberry/postcss-jongleberry
[license-image]: http://img.shields.io/npm/l/postcss-jongleberry.svg?style=flat-square
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/postcss-jongleberry.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/postcss-jongleberry

---
_Source: https://npm.io/package/postcss-jongleberry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
