{"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":{"integrity":"sha512-BOuDjFFYvJdZO6e/N65AlaDItXo2TgyLjeyRYcqgAPkXpp5yTJcvkL2n+syO1r9Qc5g96tfBD2tuiMhYDmaGcA==","shasum":"c459024531d71067c09e2c0c2bda6c2b13af32d8","tarball":"http://registry-npm.ywwl.com/voc/download/voc-1.2.0.tgz","fileCount":7,"unpackedSize":71008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIToFCRA9TVsSAnZWagAAWoYQAIrYUToz8PbVZw+blF/k\npQNsTkpnfF+Zn1NJNXRt/bqIznNVZ5uoI0hJYTf+Fb0YHCPYS2UNzTuYt83D\nYzECWdKxABXXRnW8xWtfBY6SVVhClep1Z18dxXcZhzj6i6tJPNaoHbjFDB5F\nqwAxnU/hxenozrjynUrfr5kHAshiyfxmOcaazDPPBXnHYgSHwQQqH68AHt1L\nY2+DMJbYu3oILJ/HNWcW+VzeAj39g09KrPue0HPuuueezLSYWC4+JBMnwcVT\nUOZuFosesoq2JqLqo5g8gsd5HX0ECDb6zkV65Tlldip3Zd8xc2Nf8jJAp32h\nYMCctRtXVIdv4RAk2M+89/Kw+MRdtW4GsgfC0gL0Xam+vVO+DeJ1Y4BbNxPu\nrw9ehIGwJ5Soan9MET2ju+cJcE7qeG7Frum1n40lAsWsRoRsstEBtPFoof5y\nQX7Lzhy5ezSzIzRZuyXNDklpIIx6LROFcjg1OYsD4IT4aDcaxFWxzeupvWOW\nLbnq4D3ELpVssmIpiJPD1nYeFUSkLl8nPfUcPvk6T5V9ZMWa4EqmKvXaHdR+\nOGcrIqKXn40grnfunaeNs4CecrwAHjHHk/MZH3dLiPOaNbwOMplHc8Ft6E3n\nQirhxa3xNihV16s0Q18ZDlSO2yKsb7FWr3ZlA3Ynp3LFqKGOqwceF7wNPLfJ\njZ+p\r\n=d7Y/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9nOsDp3e5pQthnHJcW+pFvJreI+Ip/bImHzDEUs37wQIhAIVoeg8RWcP/6N6KcvptdOE5oVNA44AQy0IJ2M1g3Coe"}],"size":20189,"noattachment":false,"key":"/voc/-/voc-1.2.0.tgz"},"maintainers":[{"name":"sheetjs","email":"dev@sheetjs.com"}],"_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,"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","publish_time":1579235845641,"_cnpm_publish_time":1579235845641,"dist-tags":{"latest":"1.2.0"}}