{"_id":"voc","_rev":"900631","name":"voc","description":"Generalized Literate Programming Framework","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"sheetjs","email":""}],"time":{"modified":"2021-09-18T10:23:16.000Z","created":"2013-12-06T07:50:24.264Z","1.2.0":"2020-01-17T04:37:25.641Z","1.1.0":"2018-02-20T17:50:56.939Z","1.0.0":"2017-07-27T18:04:39.360Z","0.5.0":"2014-07-05T14:42:18.517Z","0.4.0":"2013-12-06T07:50:24.264Z"},"users":{"sheetjs":true,"shakakira":true},"author":{"name":"SheetJS"},"repository":{"type":"git","url":"git://github.com/SheetJS/voc.git"},"versions":{"1.2.0":{"version":"1.2.0","bin":{"voc":"voc.njs"},"name":"voc","author":{"name":"SheetJS"},"description":"Generalized Literate Programming Framework","keywords":["literate","programming","voc","javascript"],"main":"voc.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/SheetJS/voc.git"},"homepage":"http://sheetjs.com/opensource","bugs":{"url":"https://github.com/SheetJS/voc/issues"},"license":"Apache-2.0","engines":{"node":">=0.8"},"preferGlobal":true,"gitHead":"f9daf85db37a4950b84dcc2515cfc0ed25143f18","_id":"voc@1.2.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"shasum":"c459024531d71067c09e2c0c2bda6c2b13af32d8","size":20189,"noattachment":false,"key":"/voc/-/voc-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/voc/download/voc-1.2.0.tgz"},"maintainers":[{"name":"sheetjs","email":""}],"_npmUser":{"name":"sheetjs","email":"dev@sheetjs.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/voc_1.2.0_1579235845496_0.7309882838830826"},"_hasShrinkwrap":false,"publish_time":1579235845641,"_cnpm_publish_time":1579235845641},"1.1.0":{"version":"1.1.0","bin":{"voc":"./voc.njs"},"name":"voc","author":{"name":"SheetJS"},"description":"Generalized Literate Programming Framework","keywords":["literate","programming","voc","javascript"],"main":"voc.js","files":["LICENSE","README.md","marked.js","mkdirp.js","voc.js","voc.njs"],"dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/SheetJS/voc.git"},"homepage":"http://sheetjs.com/opensource","bugs":{"url":"https://github.com/SheetJS/voc/issues"},"license":"Apache-2.0","engines":{"node":">=0.8"},"preferGlobal":true,"gitHead":"f4c2a7e95f628c75cdc8e0a221c3b1b968215efc","_id":"voc@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"sheetjs","email":"dev@sheetjs.com"},"dist":{"shasum":"d1a08aeff66646bf17cdba2e47c935a7a9b0218b","size":11773,"noattachment":false,"key":"/voc/-/voc-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/voc/download/voc-1.1.0.tgz"},"maintainers":[{"name":"sheetjs","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/voc_1.1.0_1519149056871_0.03642393708737712"},"_hasShrinkwrap":false,"publish_time":1519149056939,"_cnpm_publish_time":1519149056939},"1.0.0":{"version":"1.0.0","bin":{"voc":"./voc.njs"},"name":"voc","author":{"name":"SheetJS"},"description":"Generalized Literate Programming Framework","keywords":["literate","programming","voc","javascript"],"main":"voc.js","files":["LICENSE","README.md","marked.js","mkdirp.js","voc.js","voc.njs"],"dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/SheetJS/voc.git"},"homepage":"http://sheetjs.com/opensource","bugs":{"url":"https://github.com/SheetJS/voc/issues"},"license":"Apache-2.0","engines":{"node":">=0.8"},"preferGlobal":true,"_id":"voc@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"sheetjs","email":"dev@sheetjs.com"},"dist":{"shasum":"5465c0ce11d0881f7d8e36d8ca587043f33a25ae","size":10450,"noattachment":false,"key":"/voc/-/voc-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/voc/download/voc-1.0.0.tgz"},"maintainers":[{"name":"sheetjs","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/voc-1.0.0.tgz_1501178678373_0.10189785528928041"},"directories":{},"publish_time":1501178679360,"_hasShrinkwrap":false,"_cnpm_publish_time":1501178679360},"0.5.0":{"version":"0.5.0","bin":{"voc":"./voc.njs"},"name":"voc","author":{"name":"SheetJS"},"description":"Generalized Literate Programming Framework","keywords":["literate","programming","voc","javascript"],"main":"voc.js","files":["LICENSE","README.md","marked.js","mkdirp.js","voc.js","voc.njs"],"dependencies":{},"devDependencies":{"coffee-script":""},"repository":{"type":"git","url":"git://github.com/SheetJS/voc.git"},"bugs":{"url":"https://github.com/SheetJS/voc/issues"},"preferGlobal":true,"gitHead":"0c624d2a9af0b68690498d0b5dca199ed2972985","homepage":"https://github.com/SheetJS/voc","_id":"voc@0.5.0","scripts":{},"_shasum":"be6ca7c76e4a57d930cc80f6b31fbd80ca86045c","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sheetjs","email":"dev@sheetjs.com"},"maintainers":[{"name":"sheetjs","email":""}],"dist":{"shasum":"be6ca7c76e4a57d930cc80f6b31fbd80ca86045c","size":10503,"noattachment":false,"key":"/voc/-/voc-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/voc/download/voc-0.5.0.tgz"},"directories":{},"publish_time":1404571338517,"_cnpm_publish_time":1404571338517,"_hasShrinkwrap":false},"0.4.0":{"version":"0.4.0","bin":{"voc":"./voc.njs"},"name":"voc","author":{"name":"SheetJS"},"description":"Generalized Literate Programming Framework","keywords":["literate","programming","voc","javascript"],"main":"voc.js","dependencies":{"marked":"","mkdirp":""},"devDependencies":{"coffee-script":""},"repository":{"type":"git","url":"git://github.com/SheetJS/voc.git"},"bugs":{"url":"https://github.com/SheetJS/voc/issues"},"preferGlobal":true,"readmeFilename":"README.md","homepage":"https://github.com/SheetJS/voc","_id":"voc@0.4.0","dist":{"shasum":"d3cdc22ce9b4e0e54d9fd11e211ba0bd84f43ba6","size":7981,"noattachment":false,"key":"/voc/-/voc-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/voc/download/voc-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"sheetjs","email":"dev@sheetjs.com"},"maintainers":[{"name":"sheetjs","email":""}],"directories":{},"publish_time":1386316224264,"_cnpm_publish_time":1386316224264,"_hasShrinkwrap":false}},"readme":"# Very Ornate Code\n\nSo [Literate Coffeescript](http://coffeescript.org/#literate) is a cool idea,\nbut why isn't there a standard JS or compile-to-JS version?  JS Programmers want\nsome love too!  This is my effort to rectify this inequity.\n\n## How to use this\n\nTo use in-browser, include the marked source (and optionally the coffee-script \nsource if desired):\n\n```html\n<script src=\"https://raw.github.com/chjj/marked/master/lib/marked.js\"></script>\n<script src=\"http://coffeescript.org/extras/coffee-script.js\"></script>\n```\n\nIn tooling, `npm install -g voc` and run against your markdown file:\n\n```bash\n$ voc yourfile.md\n```\n\n## VOC style\n\nVOC searches for markdown code blocks.  Using GFM guards (triple backticks),\nhints after the opening backticks are used to direct content.\n\nFor example, \"\\`\\`\\`&gt;foo.bar\" will redirect content in the codeblock to \n`foo.bar`.  \n\n## Preprocessing\n\nIf a preprocessor is available, VOC can be told to use it!  This is needed for\ncertain magic cases like Makefiles (which require explicit tabs).\n\nVOC exposes two utility functions:\n\n`VOC.run(src)` will process the specified string source.\n\n`VOC.add(lang, cb)` will assign the handler for the language.  If `lang` is an\narray, the handler will be assigned for each language in the array.\n\nThe language handlers will be called with one argument: the actual source to be\nprocessed.  Consecutive blocks with the same language are concatenated.\n\nSee the enclosed [voc.md](voc.md) for more information.\n\n[![Dependencies Status](https://david-dm.org/sheetjs/voc/status.svg)](https://david-dm.org/sheetjs/voc)\n[![NPM Downloads](https://img.shields.io/npm/dt/voc.svg)](https://npmjs.org/package/voc)\n[![ghit.me](https://ghit.me/badge.svg?repo=sheetjs/js-xlsx)](https://ghit.me/repo/sheetjs/js-xlsx)\n[![Analytics](https://ga-beacon.appspot.com/UA-36810333-1/SheetJS/voc?pixel)](https://github.com/SheetJS/voc)\n\n","_attachments":{},"homepage":"http://sheetjs.com/opensource","bugs":{"url":"https://github.com/SheetJS/voc/issues"},"license":"Apache-2.0"}