{"name":"gfm-code-blocks","description":"Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/gfm-code-blocks","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/gfm-code-blocks.git"},"bugs":{"url":"https://github.com/jonschlinkert/gfm-code-blocks/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/gfm-code-blocks/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"gfm-code-block-regex":"^0.2.1"},"devDependencies":{"mocha":"*","should":"*","test-helpers":"^0.1.4"},"keywords":["backtick","block","code","exec","expression","extract","fence","fenced","fences","flavor","flavored","gfm","github","inline","lang","language","markdown","marked","match","matches","md","parse","pattern","patterns","re","regex","regexp","regular","render","replace","replacement"],"gitHead":"7175eaf592bacf8416f298c8d58eea0f33e8b365","_id":"gfm-code-blocks@0.2.2","_shasum":"2999d8148c451b86632c71fa6debe115ee071ffe","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2999d8148c451b86632c71fa6debe115ee071ffe","tarball":"http://registry-npm.ywwl.com/gfm-code-blocks/download/gfm-code-blocks-0.2.2.tgz","integrity":"sha512-569mbiht9ZJxohsMAsq9y/HcCzOvyslGu6hgP9Fh1wxcKFa1tEN5uDoFyqV2ReNL+t12BTkO2oXltQlcYH2uvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICqxyf+305HKfyP5NKAu/EDKpwxvmy1auDFkp602ksR0AiEA8vm8PDVFPNM7sqiJTuop0avESmHmcjgTzog9RNztxAQ="}],"size":2268,"noattachment":false,"key":"/gfm-code-blocks/-/gfm-code-blocks-0.2.2.tgz"},"directories":{},"readme":"# gfm-code-blocks [![NPM version](https://img.shields.io/npm/v/gfm-code-blocks.svg?style=flat)](https://www.npmjs.com/package/gfm-code-blocks) [![NPM monthly downloads](https://img.shields.io/npm/dm/gfm-code-blocks.svg?style=flat)](https://npmjs.org/package/gfm-code-blocks)  [![NPM total downloads](https://img.shields.io/npm/dt/gfm-code-blocks.svg?style=flat)](https://npmjs.org/package/gfm-code-blocks) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/gfm-code-blocks.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/gfm-code-blocks)\n\n> Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save gfm-code-blocks\n```\n\n## Usage\n\n```js\nvar codeBlocks = require('gfm-code-blocks');\nconsole.log(codeBlocks('usage\\n```js\\nvar qux = 123;\\n```\\nxyz'));\n//=> {lang: 'js', \n//  code: 'var qux = 123;', \n//  block: '```js\\nvar qux = 123;\\n```',\n//  start: 6,\n//  end: 30}\n```\n\n## About\n\n### Related projects\n\n* [gfm-code-block-regex](https://www.npmjs.com/package/gfm-code-block-regex): RegExp for gfm (GitHub Flavored Markdown) fenced code blocks. | [homepage](https://github.com/regexhq/gfm-code-block-regex \"RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.\")\n* [markdown-toc](https://www.npmjs.com/package/markdown-toc): Generate a markdown TOC (table of contents) with Remarkable. | [homepage](https://github.com/jonschlinkert/markdown-toc \"Generate a markdown TOC (table of contents) with Remarkable.\")\n* [prettify-markdown](https://www.npmjs.com/package/prettify-markdown): Prettify, format or beautify your markdown. Whatever you want to call it, this does that… [more](https://github.com/jonschlinkert/prettify-markdown) | [homepage](https://github.com/jonschlinkert/prettify-markdown \"Prettify, format or beautify your markdown. Whatever you want to call it, this does that. Used on hundreds of projects by verb.\")\n* [remarkable](https://www.npmjs.com/package/remarkable): Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in… [more](https://github.com/jonschlinkert/remarkable) | [homepage](https://github.com/jonschlinkert/remarkable \"Markdown parser, done right. 100% Commonmark support, extensions, syntax plugins, high speed - all in one.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 16 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 3 | [tunnckoCore](https://github.com/tunnckoCore) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.3, on March 16, 2017._","publish_time":1430092961557,"_cnpm_publish_time":1430092961557,"dist-tags":{"latest":"1.0.0"}}