# devtools-live-sass-unpack

> Sass Unpack cut a sass project in multiple css files

Latest version **0.4.5** (published 2017-03-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install devtools-live-sass-unpack
pnpm add devtools-live-sass-unpack
yarn add devtools-live-sass-unpack
bun add devtools-live-sass-unpack
```

Provides the command `sassunpack`.

## 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.4.5 |
| Published | 2017-03-30 |
| First published | 2017-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | StudioLabs |
| Maintainers | steed |
| Keywords | sass, unpack |

## Links

- npm: https://www.npmjs.com/package/devtools-live-sass-unpack
- Repository: https://github.com/StudioLabs/devtools-live-sass-unpack
- Issues: https://github.com/StudioLabs/devtools-live-sass-unpack/issues
- npm.io page: https://npm.io/package/devtools-live-sass-unpack

## Dependencies (6)

- [glob](https://npm.io/package/glob.md) ^5.0.5
- [yargs](https://npm.io/package/yargs.md) ^3.30.0
- [lodash](https://npm.io/package/lodash.md) ^3.8.0
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [progress](https://npm.io/package/progress.md) ^1.1.8
- [devtools-live-sass-map](https://npm.io/package/devtools-live-sass-map.md) ^0.3.4

## Recent versions

- 0.4.5 (latest) — 2017-03-30
- 0.4.3 — 2017-03-30

## README

# Sass Unpack

Sass Unpack cut a sass project in multiple css files

## Install

Install with [npm](https://npmjs.org/package/sass-unpack)

```
npm install --save-dev sass-unpack
```

## Usage

Usage as a Node library:

```js
var fs = require('fs'),
	path = require('path'),
	paths  = require('./paths');

var SassUnpack = require('sass-unpack');

var Package = new SassUnpack({
		src : paths.build.css
});

var map = Package.unpackTo({
		dest :paths.build.dest
});

fs.writeFileSync(path.resolve(paths.build.dir) + '/href.json', JSON.stringify(map.href));

fs.writeFileSync(path.resolve(paths.build.dir) + '/sass.json',JSON.stringify(map.sass) );
```

Usage as a command line tool:

```
$ sassunpack --help
Usage: sassunpack -f <file> [options]

Options:
	-d, --destination  Path to save the output ( map.json + href.json + files)
					[défaut: "/Volumes/WORKSPACE/Dropbox/www/dev/project/photobox/studio"]
	-f, --file         File to unpack                                     [requis]
	-n, --name         Output directory name                       [défaut: "dev"]
	-v, --verbose      Debug                                       [défaut: false]

Exemples:
	sassunpack -f foo.scss  Cut a sass project in multiple css files

```



## Authors

[Steed Monteiro](http://twitter.com/SteedMonteiro).

## License

BSD

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