{"name":"turndown-plugin-gfm","description":"Turndown plugin to add GitHub Flavored Markdown extensions.","version":"0.0.1","author":{"name":"Dom Christie"},"devDependencies":{"browserify":"^14.5.0","rollup":"^0.50.0","standard":"^10.0.3","turndown":"0.0.8","turndown-attendant":"0.0.2"},"files":["lib","dist"],"jsnext:main":"lib/turndown-plugin-gfm.es.js","keywords":["turndown","turndown-plugin","html-to-markdown","html","markdown","github-flavored-markdown","gfm"],"license":"MIT","main":"lib/turndown-plugin-gfm.cjs.js","module":"lib/turndown-plugin-gfm.es.js","scripts":{"build":"npm run build-cjs && npm run build-es && npm run build-iife","build-cjs":"rollup -c config/rollup.config.cjs.js && rollup -c config/rollup.config.browser.cjs.js","build-es":"rollup -c config/rollup.config.es.js && rollup -c config/rollup.config.browser.es.js","build-iife":"rollup -c config/rollup.config.iife.js","build-test":"browserify test/turndown-plugin-gfm-test.js --outfile test/turndown-plugin-gfm-test.browser.js","prepublish":"npm run build","test":"npm run build && standard ./src/**/*.js && node test/turndown-plugin-gfm-test.js"},"gitHead":"42e4a09b579f3142216af3b4980d0099cb8f88f0","_id":"turndown-plugin-gfm@0.0.1","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"domchristie","email":"christiedom@gmail.com"},"dist":{"integrity":"sha512-Hc7PiQq/3xxmMdM5aTb5guFpprXEKijx/xxoUgWP1FoeKeE9cTYM2tJ4qlBOFCug+j2g19OdxDyPFZhZmEyrWQ==","shasum":"0e445d0d4162d116895449562c304dfb14d1e9b7","tarball":"http://registry-npm.ywwl.com/turndown-plugin-gfm/download/turndown-plugin-gfm-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHaovD5+2NcRhxx6QfF/bcSNSg+YGKPq7QquunBViO/XAiEAmFOHj3aeWufUziLWAQUiY9expk2kdSXXaf3+BZL9uFw="}],"size":2766,"noattachment":false,"key":"/turndown-plugin-gfm/-/turndown-plugin-gfm-0.0.1.tgz"},"maintainers":[{"name":"domchristie","email":"christiedom@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/turndown-plugin-gfm-0.0.1.tgz_1510323743604_0.7681524252984673"},"directories":{},"readme":"# turndown-plugin-gfm\n\nA [Turndown](https://github.com/domchristie/turndown) plugin which adds GitHub Flavored Markdown extensions.\n\n## Installation\n\nnpm:\n\n```\nnpm install turndown-plugin-gfm\n```\n\nBrowser:\n\n```html\n<script src=\"https://unpkg.com/turndown/dist/turndown.js\"></script>\n<script src=\"https://unpkg.com/turndown-plugin-gfm/dist/turndown-plugin-gfm.js\"></script>\n```\n\n## Usage\n\n```js\n// For Node.js\nvar TurndownService = require('turndown')\nvar turndownPluginGfm = require('turndown-plugin-gfm')\n\nvar gfm = turndownPluginGfm.gfm\nvar turndownService = new TurndownService()\nturndownService.use(gfm)\nvar markdown = turndownService.turndown('<strike>Hello world!</strike>')\n```\n\nturndown-plugin-gfm is a suite of plugins which can be applied individually. The available plugins are as follows:\n\n- `strikethrough` (for converting `<strike>`, `<s>`, and `<del>` elements)\n- `tables`\n- `taskListItems`\n- `gfm` (which applies all of the above)\n\nSo for example, if you only wish to convert tables:\n\n```js\nvar tables = require('turndown-plugin-gfm').tables\nvar turndownService = new TurndownService()\nturndownService.use(tables)\n```\n\n## License\n\nturndown-plugin-gfm is copyright © 2017+ Dom Christie and released under the MIT license.\n","publish_time":1510323744571,"_cnpm_publish_time":1510323744571,"dist-tags":{"latest":"1.0.2"}}