# parcel-transformer-rough-svg

> A Parcel transformer to rough up SVGs using Rough.js.

Latest version **0.1.2** (published 2021-10-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install parcel-transformer-rough-svg
pnpm add parcel-transformer-rough-svg
yarn add parcel-transformer-rough-svg
bun add parcel-transformer-rough-svg
```

## 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.1.2 |
| Published | 2021-10-15 |
| First published | 2021-08-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=14 |
| Dependencies | 2 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | thewilkybarkid |
| Keywords | parcel, transformer, svg, roughjs, hand-drawn, sketch |

## Links

- npm: https://www.npmjs.com/package/parcel-transformer-rough-svg
- Repository: https://github.com/thewilkybarkid/parcel-transformer-rough-svg
- Homepage: https://github.com/thewilkybarkid/parcel-transformer-rough-svg#readme
- Issues: https://github.com/thewilkybarkid/parcel-transformer-rough-svg/issues
- npm.io page: https://npm.io/package/parcel-transformer-rough-svg

## Dependencies (2)

- [rougher](https://npm.io/package/rougher.md) ^1.1.2
- [@parcel/plugin](https://npm.io/package/@parcel/plugin.md) ^2.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2021-10-15
- 0.1.1 — 2021-09-12
- 0.1.0 — 2021-08-18

## README

# parcel-transformer-rough-svg

A [Parcel] transformer to rough up SVGs using [Rough.js] (and [rougher]).

## Installation

Add the library as a dependency:

```shell
npm install --save-dev parcel-transformer-rough-svg
```

Add the library to your `.parcelrc` file:

```json
{
  "extends": "@parcel/config-default",
  "transformers": {
    "*.svg": ["...", "parcel-transformer-rough-svg"]
  }
}
```

## Usage

Add a [`roughness` query string parameter][roughness] to your SVG paths, for example:

```html
<img src="image.svg?roughness=0.75" />
```

[parcel]: https://parceljs.org/
[rough.js]: https://roughjs.com/
[rougher]: https://www.npmjs.com/package/rougher
[roughness]: https://github.com/rough-stuff/rough/wiki#roughness

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