# recursive-base64-css

> Recursive walk through directories and Inline all css images with base64

Latest version **0.0.5** (published 2015-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install recursive-base64-css
pnpm add recursive-base64-css
yarn add recursive-base64-css
bun add recursive-base64-css
```

Provides the command `recursive-base64-css`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2015-06-22 |
| First published | 2015-06-10 |
| 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 | 3 |
| Author | Paulo Luan |
| Maintainers | pauloluan |
| Keywords | base64, css, recursive |

## Links

- npm: https://www.npmjs.com/package/recursive-base64-css
- Repository: https://github.com/PauloLuan/recursive-base64-css
- Issues: https://github.com/PauloLuan/recursive-base64-css/issues
- npm.io page: https://npm.io/package/recursive-base64-css

## Dependencies (6)

- [q](https://npm.io/package/q.md) ^1.4.1
- [glob](https://npm.io/package/glob.md) ^5.0.10
- [mime](https://npm.io/package/mime.md) ^1.3.4
- [colors](https://npm.io/package/colors.md) ^1.1.0
- [lodash](https://npm.io/package/lodash.md) ^3.9.3
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1

## 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

- 0.0.5 (latest) — 2015-06-22
- 0.0.4 — 2015-06-18
- 0.0.3 — 2015-06-17
- 0.0.2 — 2015-06-10
- 0.0.1 — 2015-06-10

## README

# recursive-base64-css 

Recursive walk through directories and Inline all css images to base64.

[![NPM](https://nodei.co/npm/recursive-base64-css.png)](https://nodei.co/npm/recursive-base64-css/)

[![Build Status](https://travis-ci.org/PauloLuan/recursive-base64-css.svg)](https://travis-ci.org/PauloLuan/recursive-base64-css)
[![Coverage Status](https://coveralls.io/repos/PauloLuan/recursive-base64-css/badge.svg)](https://coveralls.io/r/PauloLuan/recursive-base64-css)
[![bitHound Score](https://www.bithound.io/github/PauloLuan/recursive-base64-css/badges/score.svg)](https://www.bithound.io/github/PauloLuan/recursive-base64-css)
[![Dependency Status](https://david-dm.org/PauloLuan/recursive-base64-css.svg "Dependencies Checked & Updated Regularly (Security is Important!)")](https://david-dm.org/PauloLuan/recursive-base64-css)


Install this globally and you'll have access to the recursive-base64-css command anywhere on your system.

	npm install -g recursive-base64-css

Then run the command `recursive-base64-css <path>` and the application will create a folder called `output` that will have the same css files as the `<path>` param, but with base64 content on all `url('path')` tags. 

# Development

Install the dependencies:

	npm install

to run test:
``` js
npm test
```

## how to debug the unit tests with mocha:

Install `node-inspector` using npm: `npm install -g node-inspector` 

Run in one terminal:

	node-inspector

and on another terminal run:
	
	mocha --debug-brk

then, visit `http://127.0.0.1:8080/debug?port=5858` to start debugging.

## How to execute the binary as a command line interface: 

	npm link

This will make the module available globally, so now you can use the `recursive-base64-css` command anywhere!

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