{"_id":"stylus-renderer","_rev":"27-d7dbb835301bfa743870a658a1da571e","name":"stylus-renderer","description":"Render a collection of stylus files from one place to another","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.0":{"name":"stylus-renderer","version":"0.0.0","description":"Render a collection of stylus files from one place to another","main":"stylus-renderer.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Ben Gourley"},"license":"BSD","_id":"stylus-renderer@0.0.0","dist":{"shasum":"8c0f2dc175a48729e2635b9bfe2ab9ea93997ebb","tarball":"https://registry.npmjs.org/stylus-renderer/-/stylus-renderer-0.0.0.tgz","integrity":"sha512-DynD6KYBh6rpmLEUk8MIw/uMoECPSj/Wh9LiraCBwIlHC5E5YYjzTlL1MGSHBniWn6jUyZ9uuUyyw9C6RCA9Xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAep73xUa6veEJ0ntKs+eC8uAvncidp+70a9wDl1yyjBAiEAzDtNeZU1F6SAYi1eU0br87zymz8J9LW00JdRBzDHehM="}]},"_npmVersion":"1.1.63","_npmUser":{"name":"bengourley","email":"benleighgourley@gmail.com"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}],"directories":{}},"0.0.1":{"name":"stylus-renderer","version":"0.0.1","description":"Render a collection of stylus files from one place to another","main":"stylus-renderer.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Ben Gourley"},"license":"BSD","_id":"stylus-renderer@0.0.1","dist":{"shasum":"750092670e68837bff2073888922b1b2131f2863","tarball":"https://registry.npmjs.org/stylus-renderer/-/stylus-renderer-0.0.1.tgz","integrity":"sha512-qcn3be/woGUoSov+LOF8KPlp60XmxbhnqQfpzUuTki/OVI9XvHjV/44GAXQf1OZknn2a6QhxuBngiKfOQLa/mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFqGWKOCr7Y5I4I8xJ9bSUtDFo2zt9T/vZjGfn0jNCErAiEAwt6Kid/2C6Q3YFdScy3kixgpjvD3LTkkbudp4f2pkoU="}]},"_npmVersion":"1.1.63","_npmUser":{"name":"bengourley","email":"benleighgourley@gmail.com"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}],"directories":{}},"0.0.2":{"name":"stylus-renderer","version":"0.0.2","description":"Render a collection of stylus files from one place to another","main":"stylus-renderer.js","scripts":{"test":"./node_modules/.bin/mocha test"},"devDependencies":{"stylus":"*","nib":"*","mocha":"~1"},"repository":"","author":{"name":"Ben Gourley"},"license":"BSD","_id":"stylus-renderer@0.0.2","dist":{"shasum":"375ccb5fb7e8c187e9975133997d890dee4145a2","tarball":"https://registry.npmjs.org/stylus-renderer/-/stylus-renderer-0.0.2.tgz","integrity":"sha512-UeRZfVFh1RvnW/EX6w18ByGjA5P/zsardSyZILEbpZYxagnE138dfjjVDpX7xQOTpm0ThjxVbIO8c1cxEJogDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVtiBxhehpEmIAjEpm135TDeIsxzMT5eLLAdORMPRlbAIgddVjf0LEP0fpDNBsPcfBk+OPtxK0lZlY1wRTDn2Ig8Y="}]},"_npmVersion":"1.1.63","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}]},"1.0.0":{"name":"stylus-renderer","version":"1.0.0","description":"Render a collection of stylus files from one place to another","main":"stylus-renderer.js","scripts":{"test":"./node_modules/.bin/mocha test"},"devDependencies":{"stylus":"*","mocha":"~1"},"repository":"","author":{"name":"Ben Gourley"},"license":"BSD","_id":"stylus-renderer@1.0.0","dist":{"shasum":"f619fdc3e171ad33a0cf69787da631eda04e7b69","tarball":"https://registry.npmjs.org/stylus-renderer/-/stylus-renderer-1.0.0.tgz","integrity":"sha512-6enIvFRuebSTtzNP/zgVYHtevrP5xZM/4Svvfy60VLLRgVi7MnTHBHMZzaqx0USnqUChU4pGyIdjjlo+j2XZ/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwiY/FxTgC3JQYMvAeCmrJzrry77uECMSa6TfjW2FfYQIgWx/TR9ki0zi4WRhIqrUkipuPw+BLOGbfEBp9J08iF9U="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}]},"1.1.0":{"name":"stylus-renderer","version":"1.1.0","description":"Render a collection of stylus files from one place to another","main":"stylus-renderer.js","publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"git@github.com:bengourley/node-stylus-renderer.git"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/bengourley/node-stylus-renderer/issues"},"scripts":{"test":"mocha test"},"devDependencies":{"stylus":"*","mocha":"~1"},"author":{"name":"Ben Gourley"},"homepage":"https://github.com/bengourley/node-stylus-renderer","_id":"stylus-renderer@1.1.0","dist":{"shasum":"fa3176c59b4d7dfa7ee65dfbdf090c9926a6227f","tarball":"https://registry.npmjs.org/stylus-renderer/-/stylus-renderer-1.1.0.tgz","integrity":"sha512-/NE5RH8Gqw1c1c8rV6oGcp5MO6e410wfv9QufletdQKjm9sCGJy7ttR1exqc0xBPzgCaYIIk3qdMXBBBWUfbfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEkht+Yt8cu2LzaLNWr/oOpHAP5p3J75gTC0ig2JgR40AiEAi2qrfBGPRwRWIHCnN2JeuLuPB/oLFR+mkb9JIM2Rp7A="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bengourley","email":"bn@grly.me"},"maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}]}},"readme":"[![Build Status](https://travis-ci.org/bengourley/node-stylus-renderer.png?branch=master)](https://travis-ci.org/bengourley/node-stylus-renderer)\n\nRender batches of Stylus files. This module expects stylus to be available via\n`require('stylus')` where it is run. This is so that you can use whatever version\nof stylus you want to.\n\nIt provides a default compile function which can be customised by passing in\n`stylus` options. Otherwise, a completely custom compile function can be passed in.\n\nTo use [Nib](https://github.com/visionmedia/nib) or [Autoprefixer Stylus](https://github.com/jenius/autoprefixer-stylus), pass a custom `use` function.\n\nThe render function returns an event emitter so you can listen for log events.\n\n## Install\n\n```\nnpm install stylus-renderer\n```\n\n## Usage\n\n```js\nvar render = require('stylus-renderer')\n```\n\n### render(stylesheets, options, cb)\n\n- `stylesheets` an array of stylesheets to render\n- `options` is an options hash\n  - `src` the source directory, defaults to PWD\n  - `dest` the destination directory, defaults to PWD\n  - `use` an optional plugin, such as Nib. Also accepts an array of plugins\n  - `define` pass JavaScript-defined functions or global variables to stylus as an array of objects\n  - `stylusOptions` hash of options to pass though to stylus\n  - `compile` a custom compile function. If `compile` is set, `stylusOptions` will have no effect.\n- `cb` is the callback `function (err) {}` (`err` is null if ok)\n\nEg:\n```js\nrender(['index.styl'], { use: nib(), stylusOptions: { compress: 'true' } }, function (err) {\n  if (err) throw err\n  console.log('done!')\n}).on('log', function (msg, level) {\n  console.log(level + ': ' + msg)\n})\n```\n\n## Licence\nLicensed under the [New BSD License](http://opensource.org/licenses/bsd-license.php)\n","maintainers":[{"name":"bengourley","email":"benleighgourley@gmail.com"}],"time":{"modified":"2022-06-27T01:43:56.555Z","created":"2013-01-16T18:15:15.252Z","0.0.0":"2013-01-16T18:15:16.982Z","0.0.1":"2013-01-17T10:12:52.603Z","0.0.2":"2013-02-04T17:41:51.498Z","1.0.0":"2014-03-19T12:05:47.253Z","1.1.0":"2014-04-03T13:21:36.208Z"},"author":{"name":"Ben Gourley"},"license":"BSD-2-Clause","readmeFilename":"Readme.md","homepage":"https://github.com/bengourley/node-stylus-renderer","repository":{"type":"git","url":"git@github.com:bengourley/node-stylus-renderer.git"},"bugs":{"url":"https://github.com/bengourley/node-stylus-renderer/issues"}}