# gulp-postcss-modules-sealine

> FORK: A trivial solution for extracting CSS module data from PostCSS files.

Latest version **0.2.2** (published 2018-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-postcss-modules-sealine
pnpm add gulp-postcss-modules-sealine
yarn add gulp-postcss-modules-sealine
bun add gulp-postcss-modules-sealine
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2018-03-13 |
| First published | 2018-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 13.4 KB |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| Author | Sealine |
| Maintainers | vitalynait |

## Links

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

## Dependencies (8)

- [crc](https://npm.io/package/crc.md) ^3.4.0
- [async](https://npm.io/package/async.md) ^2.0.0-rc.5
- [vinyl](https://npm.io/package/vinyl.md) ^1.1.1
- [lodash](https://npm.io/package/lodash.md) ^4.13.1
- [postcss](https://npm.io/package/postcss.md) ^5.0.21
- [through2](https://npm.io/package/through2.md) ^2.0.1
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.7
- [postcss-modules](https://npm.io/package/postcss-modules.md) ^0.5.0

## Recent versions

- 0.2.2 (latest) — 2018-03-13
- 0.2.1 — 2018-03-13

## README

A trivial solution for extracting CSS module data from PostCSS files.

Supports CSS module preprocessing for prevention of naming conflicts between components.

Uses a memory cache during runtime to omit regenerating files with probably unchanged content.

## Links

- [GitHub](https://github.com/vitalynait/gulp-postcss-modules-sealine)
- [NPM](https://www.npmjs.com/package/gulp-postcss-modules-sealine)


## Installation

Should be installed locally in your project source code:

```bash
npm install gulp-postcss-modules-sealine --save-dev
```


## Usage with Gulp

```js
import postcssModules from "gulp-postcss-modules-sealine"

gulp.task("postcss:modules", function() {
  return gulp.src("src/**/*.scss").
    pipe(postcssModules()).
    pipe(gulp.dest("."))
})
```

This generates the extract/processed `.scss.json` files to the same folder as the source `.scss` file.



## Copyright

Copyright 2016<br/>[Sealine][sponsor]

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