# ruled

> Grid/Graph paper like CSS background gradient generator

Latest version **1.0.1** (published 2016-09-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install ruled
pnpm add ruled
yarn add ruled
bun add ruled
```

## 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.0.1 |
| Published | 2016-09-22 |
| First published | 2016-09-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brent Jackson |
| Maintainers | jxnblk |
| Keywords | grid, graph, background, css, style, css-in-js |

## Links

- npm: https://www.npmjs.com/package/ruled
- npm.io page: https://npm.io/package/ruled

## 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.0.1 (latest) — 2016-09-22
- 1.0.0 — 2016-09-11

## README

# ruled

[![Build Status](https://travis-ci.org/jxnblk/ruled.svg?branch=master)](https://travis-ci.org/jxnblk/ruled)

Grid/Graph paper like CSS background gradient generator

```sh
npm i ruled
```

```js
import ruled from 'ruled'

const styles = {
  backgroundImage: ruled(),
  backgroundSize: '8px 8px'
}
```

## Options

The `ruled` function accepts one options object argument.

```js
const bg = ruled({
  size: 8, // width & height of each grid square
  strokeWidth: 1, // stroke width of each rule line
  horizontal: true, // Include horizontal rules
  vertical: true, // Include vertical rules
  color: 'rgba(0, 255, 255, .25)' // Color of rule line
})
```

MIT License

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