{"name":"turndown-plugin-gfm","description":"Turndown plugin to add GitHub Flavored Markdown extensions.","version":"1.0.1","author":{"name":"Dom Christie"},"main":"lib/turndown-plugin-gfm.cjs.js","module":"lib/turndown-plugin-gfm.es.js","jsnext:main":"lib/turndown-plugin-gfm.es.js","devDependencies":{"browserify":"^14.5.0","rollup":"^0.50.0","standard":"^10.0.3","turndown":"4.0.1","turndown-attendant":"0.0.2"},"files":["lib","dist"],"keywords":["turndown","turndown-plugin","html-to-markdown","html","markdown","github-flavored-markdown","gfm"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/domchristie/turndown-plugin-gfm.git"},"scripts":{"build":"npm run build-cjs && npm run build-es && npm run build-iife && npm run build-test","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":"cbe8dc5e5ca9831b67865ec1deb20df533026b44","bugs":{"url":"https://github.com/domchristie/turndown-plugin-gfm/issues"},"homepage":"https://github.com/domchristie/turndown-plugin-gfm#readme","_id":"turndown-plugin-gfm@1.0.1","_npmVersion":"5.4.2","_nodeVersion":"8.8.1","_npmUser":{"name":"domchristie","email":"christiedom@gmail.com"},"dist":{"integrity":"sha512-7x+WNr8Ah/m6ytxGmONuH8VjP1kMxfThSwxrwjGojcuUfzhrLo1AJVSE8llIBZyo2Nu/OaNNWJeJUBvdJPJwKw==","shasum":"e981e2a5b18df288cb6745c37c47b3845ffa6b9d","tarball":"http://registry-npm.ywwl.com/turndown-plugin-gfm/download/turndown-plugin-gfm-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEuWszsQPWIlxia9vsG24JuEFtEzoEESkbNwEQ1KTYxAAiAtTuhNWU7QgbKPsBMD4HiO0w0Mi9sNqQ0SfcbCP0Zd5Q=="}],"size":3415,"noattachment":false,"key":"/turndown-plugin-gfm/-/turndown-plugin-gfm-1.0.1.tgz"},"maintainers":[{"name":"domchristie","email":"christiedom@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/turndown-plugin-gfm-1.0.1.tgz_1513677726887_0.4252052092924714"},"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":1513677727751,"_cnpm_publish_time":1513677727751,"dist-tags":{"latest":"1.0.2"}}