{"_id":"ruled","_rev":"3146449","name":"ruled","description":"Grid/Graph paper like CSS background gradient generator","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"jxnblk","email":""}],"time":{"modified":"2023-11-27T07:17:12.000Z","created":"2016-09-11T21:34:35.176Z","1.0.1":"2016-09-22T21:42:35.440Z","1.0.0":"2016-09-11T21:34:35.176Z"},"users":{},"author":{"name":"Brent Jackson"},"versions":{"1.0.1":{"name":"ruled","version":"1.0.1","description":"Grid/Graph paper like CSS background gradient generator","main":"dist/index.js","scripts":{"prepublish":"mkdir -p dist && babel src --out-dir dist","test":"ava"},"keywords":["grid","graph","background","css","style","css-in-js"],"author":{"name":"Brent Jackson"},"license":"MIT","devDependencies":{"ava":"^0.16.0","babel-cli":"^6.14.0","babel-preset-es2015":"^6.14.0"},"gitHead":"2c770e6b3295ee271106ed6f16b56da56dadc20b","_id":"ruled@1.0.1","_shasum":"8301a1accc9d2e14b6502fca7033582335c2c0f4","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.2.1","_npmUser":{"name":"jxnblk","email":"jxnblk@gmail.com"},"dist":{"shasum":"8301a1accc9d2e14b6502fca7033582335c2c0f4","size":1604,"noattachment":false,"key":"/ruled/-/ruled-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ruled/download/ruled-1.0.1.tgz"},"maintainers":[{"name":"jxnblk","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ruled-1.0.1.tgz_1474580553471_0.5479351866524667"},"directories":{},"publish_time":1474580555440,"_hasShrinkwrap":false,"_cnpm_publish_time":1474580555440,"_cnpmcore_publish_time":"2021-12-16T21:03:51.944Z"},"1.0.0":{"name":"ruled","version":"1.0.0","description":"Grid/Graph paper like CSS background gradient generator","main":"index.js","scripts":{"test":"ava"},"keywords":["grid","graph","background","css","style","css-in-js"],"author":{"name":"Brent Jackson"},"license":"MIT","devDependencies":{"ava":"^0.16.0"},"gitHead":"44ed0e0caded47f5712e63a15555183fa76efdf6","_id":"ruled@1.0.0","_shasum":"2ed59367c7a5d26008712df765e780205b106247","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.2.2","_npmUser":{"name":"jxnblk","email":"jxnblk@gmail.com"},"dist":{"shasum":"2ed59367c7a5d26008712df765e780205b106247","size":1191,"noattachment":false,"key":"/ruled/-/ruled-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ruled/download/ruled-1.0.0.tgz"},"maintainers":[{"name":"jxnblk","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ruled-1.0.0.tgz_1473629673694_0.8105129061732441"},"directories":{},"publish_time":1473629675176,"_hasShrinkwrap":false,"_cnpm_publish_time":1473629675176,"_cnpmcore_publish_time":"2021-12-16T21:03:52.132Z"}},"readme":"\n# ruled\n\n[![Build Status](https://travis-ci.org/jxnblk/ruled.svg?branch=master)](https://travis-ci.org/jxnblk/ruled)\n\nGrid/Graph paper like CSS background gradient generator\n\n```sh\nnpm i ruled\n```\n\n```js\nimport ruled from 'ruled'\n\nconst styles = {\n  backgroundImage: ruled(),\n  backgroundSize: '8px 8px'\n}\n```\n\n## Options\n\nThe `ruled` function accepts one options object argument.\n\n```js\nconst bg = ruled({\n  size: 8, // width & height of each grid square\n  strokeWidth: 1, // stroke width of each rule line\n  horizontal: true, // Include horizontal rules\n  vertical: true, // Include vertical rules\n  color: 'rgba(0, 255, 255, .25)' // Color of rule line\n})\n```\n\nMIT License\n\n","_attachments":{},"license":"MIT"}