{"_id":"ngx-showdown","_rev":"15-67a7dfd09f85dc814ba4de91c9be6430","name":"ngx-showdown","time":{"modified":"2022-06-21T08:37:18.444Z","created":"2017-07-28T12:07:30.289Z","1.0.0":"2017-07-28T12:07:30.289Z","2.2.1":"2017-07-28T14:30:07.391Z","3.0.0":"2017-07-28T15:21:03.325Z","3.1.0":"2017-08-31T20:14:44.686Z","4.0.0":"2018-01-31T22:00:07.310Z","4.0.1":"2018-02-03T20:49:42.315Z","4.0.2":"2018-05-07T22:08:44.434Z","5.0.0":"2019-06-16T09:25:26.443Z","5.1.0":"2020-02-17T13:05:05.487Z","6.0.0":"2020-08-16T12:42:10.217Z"},"maintainers":[{"name":"yisraelx","email":"yisraelx@gmail.com"}],"dist-tags":{"latest":"6.0.0"},"versions":{"3.0.0":{"name":"ngx-showdown","description":"Angular X Showdown Module.","version":"3.0.0","license":"MIT","author":{"name":"Yisrael Eliav","email":"yisraelx@gmail.com","url":"https://github.com/yisraelx/"},"main":"lib/index.js","browser":"bundles/ngx-showdown.umd.js","typings":"lib/index.d.ts","files":["bundles","lib","LICENSE","README.md"],"keywords":["ng","ng2","ngx","angular","angular2","angularx","markdown","md","showdown"],"scripts":{"build":"run-s build:*","build:lib":"ngc --project src","build:bundles":"webpack --progress --profile --bail","build:demo":"webpack --config demo/webpack.config.js --progress --profile --bail","build:gh-pages":"npm run build:demo -- --output-public-path /ngx-showdown/","ci:before":"npm prune","ci:script":"run-s ready","ci:after":"run-s coverage:report semantic-release ci:deploy","ci:deploy":"run-s build:gh-pages && git config --global user.email 'gh-pages@localhost' && git config --global user.name 'gh-pages' && gh-pages -d demo/build -r https://$GH_TOKEN@github.com/yisraelx/ngx-showdown.git -x","coverage:check":"istanbul check-coverage --statements 80 --branches 80 --functions 80 --lines 80","coverage:report":"codecov -f coverage/*.json","clean":"rimraf lib bundles demo/build coverage","cm":"git-cz","commitmsg":"validate-commit-msg","demo":"webpack-dev-server --config demo/webpack.config.js --progress","deploy":"run-s build:gh-pages && gh-pages -d demo/build","lint":"run-s lint:*","lint:demo":"tslint demo/src/**/*.ts","lint:lib":"tslint src/**/*.ts","lint:test":"tslint test/**/*.ts","precommit":"run-s ready","ready":"run-s clean lint test coverage:check","start":"run-s demo","test":"karma start","watch:lib":"tsc --project src --watch","watch:test":"npm test -- --auto-watch --no-single-run","semantic-release":"semantic-release pre && run-s build:lib build:bundles && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/yisraelx/ngx-showdown.git"},"bugs":{"url":"https://github.com/yisraelx/ngx-showdown/issues"},"homepage":"http://yisraelx.github.io/ngx-showdown","config":{"commitizen":{"path":"cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"Commit message violates the rules defined for this project. Please, execute `npm run cm` to generate a correct commit message with `commitizen`"}},"dependencies":{"@types/showdown":"^1.4.32"},"peerDependencies":{"@angular/core":"^4.3.2","@angular/http":"^4.3.2","showdown":"^1.7.1"},"devDependencies":{"@angular/animations":"^4.3.2","@angular/cdk":"^2.0.0-beta.8","@angular/common":"^4.3.2","@angular/compiler":"^4.3.2","@angular/compiler-cli":"^4.3.2","@angular/core":"^4.3.2","@angular/forms":"^4.3.2","@angular/http":"^4.3.2","@angular/material":"^2.0.0-beta.8","@angular/platform-browser":"^4.3.2","@angular/platform-browser-dynamic":"^4.3.2","@angular/router":"^4.3.2","@types/core-js":"^0.9.42","@types/jasmine":"^2.5.53","@types/node":"^8.0.17","@types/webpack":"^3.0.5","angular2-template-loader":"^0.6.2","clean-webpack-plugin":"^0.1.16","codecov":"^2.2.0","codelyzer":"^3.1.2","commitizen":"^2.9.6","core-js":"^2.4.1","css-loader":"^0.28.4","cz-conventional-changelog":"^2.0.0","extract-text-webpack-plugin":"^3.0.0","file-loader":"^0.11.2","gh-pages":"^1.0.0","hammerjs":"^2.0.8","html-loader":"^0.5.0","html-webpack-plugin":"^2.29.0","husky":"^0.14.3","istanbul":"^0.4.5","istanbul-instrumenter-loader":"^3.0.0","jasmine-core":"^2.6.4","karma":"^1.7.0","karma-coverage":"^1.1.1","karma-jasmine":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","karma-remap-coverage":"^0.1.4","karma-source-map-support":"^1.2.0","karma-webpack":"^2.0.4","npm-run-all":"^4.0.2","null-loader":"^0.1.1","raw-loader":"^0.5.1","rimraf":"^2.6.1","rxjs":"^5.4.2","semantic-release":"^6.3.6","showdown":"^1.7.1","style-loader":"^0.18.2","ts-loader":"^2.3.2","ts-node":"^3.3.0","tslint":"^5.5.0","typescript":"^2.4.2","validate-commit-msg":"^2.13.1","webpack":"^3.4.1","webpack-dev-server":"^2.6.1","zone.js":"^0.8.16"},"gitHead":"2558e9c64f0d3e64731ccf8b27966cee1fbc33ea","_id":"ngx-showdown@3.0.0","_shasum":"9199f338348024c5b3b242ac27046e5546c51e48","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"yisraelx","email":"yisraelx@gmail.com"},"dist":{"shasum":"9199f338348024c5b3b242ac27046e5546c51e48","tarball":"https://registry.npmjs.org/ngx-showdown/-/ngx-showdown-3.0.0.tgz","integrity":"sha512-vJCbzQ3Euzi6AiguzZwsMR090flYTwDcBOM5/1Ue24D5eIVCDaGYdWDvla3+cJcZszHIhTnChaNwAu72CXe1Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGnao/9afqK3Whhnhq8y9savNqpPESkiJ18dw9BbQ41bAiEA5OpI1YrU+zHHotjtv92/2Y2/ero18t0jNJ8INvgFTHY="}]},"maintainers":[{"email":"yisraelx@gmail.com","name":"yisraelx"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-showdown-3.0.0.tgz_1501255262207_0.46433799620717764"},"directories":{}},"3.1.0":{"name":"ngx-showdown","description":"Angular X Showdown Module.","version":"3.1.0","license":"MIT","author":{"name":"Yisrael Eliav","email":"yisraelx@gmail.com","url":"https://github.com/yisraelx/"},"main":"lib/index.js","browser":"bundles/ngx-showdown.umd.js","typings":"lib/index.d.ts","files":["bundles","lib","LICENSE","README.md"],"keywords":["ng","ng2","ngx","angular","angular2","angularx","markdown","md","showdown"],"scripts":{"build":"run-s build:*","build:lib":"ngc --project src","build:bundles":"webpack --progress --profile --bail","build:demo":"webpack --config demo/webpack.config.js --progress --profile --bail","build:gh-pages":"npm run build:demo -- --output-public-path /ngx-showdown/","ci:before":"npm prune","ci:script":"run-s ready","ci:after":"run-s coverage:report semantic-release ci:deploy","ci:deploy":"run-s build:gh-pages && git config --global user.email 'gh-pages@localhost' && git config --global user.name 'gh-pages' && gh-pages -d demo/build -r https://$GH_TOKEN@github.com/yisraelx/ngx-showdown.git -x","coverage:check":"istanbul check-coverage --statements 80 --branches 80 --functions 80 --lines 80","coverage:report":"codecov -f coverage/*.json","clean":"rimraf lib bundles demo/build coverage","cm":"git-cz","commitmsg":"validate-commit-msg","demo":"webpack-dev-server --config demo/webpack.config.js --progress","deploy":"run-s build:gh-pages && gh-pages -d demo/build","lint":"run-s lint:*","lint:demo":"tslint demo/src/**/*.ts","lint:lib":"tslint src/**/*.ts","lint:test":"tslint test/**/*.ts","precommit":"run-s ready","ready":"run-s clean lint test coverage:check","start":"run-s demo","test":"karma start","watch:lib":"tsc --project src --watch","watch:test":"npm test -- --auto-watch --no-single-run","semantic-release":"semantic-release pre && run-s build:lib build:bundles && npm publish && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/yisraelx/ngx-showdown.git"},"bugs":{"url":"https://github.com/yisraelx/ngx-showdown/issues"},"homepage":"http://yisraelx.github.io/ngx-showdown","config":{"commitizen":{"path":"cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"Commit message violates the rules defined for this project. Please, execute `npm run cm` to generate a correct commit message with `commitizen`"}},"dependencies":{"@types/showdown":"^1.7.1"},"peerDependencies":{"@angular/core":"^4.3.6","@angular/http":"^4.3.6","showdown":"^1.7.3"},"devDependencies":{"@angular/animations":"^4.3.6","@angular/cdk":"^2.0.0-beta.10","@angular/common":"^4.3.6","@angular/compiler":"^4.3.6","@angular/compiler-cli":"^4.3.6","@angular/core":"^4.3.6","@angular/forms":"^4.3.6","@angular/http":"^4.3.6","@angular/material":"^2.0.0-beta.10","@angular/platform-browser":"^4.3.6","@angular/platform-browser-dynamic":"^4.3.6","@angular/router":"^4.3.6","@types/core-js":"^0.9.43","@types/jasmine":"^2.5.54","@types/node":"^8.0.26","@types/webpack":"^3.0.10","angular2-template-loader":"^0.6.2","clean-webpack-plugin":"^0.1.16","codecov":"^2.3.0","codelyzer":"^3.1.2","commitizen":"^2.9.6","core-js":"^2.5.1","css-loader":"^0.28.7","cz-conventional-changelog":"^2.0.0","extract-text-webpack-plugin":"^3.0.0","file-loader":"^0.11.2","gh-pages":"^1.0.0","hammerjs":"^2.0.8","html-loader":"^0.5.1","html-webpack-plugin":"^2.30.1","husky":"^0.14.3","istanbul":"^0.4.5","istanbul-instrumenter-loader":"^3.0.0","jasmine-core":"^2.8.0","karma":"^1.7.1","karma-coverage":"^1.1.1","karma-jasmine":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","karma-remap-coverage":"^0.1.4","karma-source-map-support":"^1.2.0","karma-webpack":"^2.0.4","npm-run-all":"^4.1.1","null-loader":"^0.1.1","raw-loader":"^0.5.1","rimraf":"^2.6.1","rxjs":"^5.4.3","semantic-release":"^7.0.2","showdown":"^1.7.3","style-loader":"^0.18.2","ts-loader":"^2.3.4","ts-node":"^3.3.0","tslint":"^5.7.0","typescript":"^2.5.2","validate-commit-msg":"^2.14.0","webpack":"^3.5.5","webpack-dev-server":"^2.7.1","zone.js":"^0.8.17"},"gitHead":"8f91b65ebd28bd42e22310f092d00af6d302ef2b","_id":"ngx-showdown@3.1.0","_shasum":"26296556a817c562bcd415c71ec6f70945f05394","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"yisraelx","email":"yisraelx@gmail.com"},"dist":{"shasum":"26296556a817c562bcd415c71ec6f70945f05394","tarball":"https://registry.npmjs.org/ngx-showdown/-/ngx-showdown-3.1.0.tgz","integrity":"sha512-YDkNZEn5x8nQh4hdpSLWZGZAmGLucIjashK+gKvt/T1T49WIJFLEkJK7xasIklSa0nfhzMpUzrtS70yoVQswyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDMqabQnAqqHR/JHOJe1FbCFoGBBprAx82hdgtQYkgdBAiEAuZlhokeowToxkisFP2fX/MaduxLnkfn+tzhK2gKMSVM="}]},"maintainers":[{"name":"yisraelx","email":"yisraelx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-showdown-3.1.0.tgz_1504210483518_0.8201106700580567"},"directories":{}},"4.0.0":{"name":"ngx-showdown","description":"Angular X Showdown Module.","version":"4.0.0","license":"MIT","author":{"name":"Yisrael Eliav","email":"yisraelx@gmail.com","url":"https://github.com/yisraelx/"},"main":"lib/index.js","browser":"bundles/ngx-showdown.umd.js","typings":"lib/index.d.ts","files":["bundles","lib","LICENSE","README.md"],"keywords":["ng","ng2","ngx","angular","angular2","angularx","markdown","md","showdown"],"scripts":{"build":"run-s build:*","build:lib":"ngc --project src","build:bundles":"webpack --progress --profile --bail","build:demo":"webpack --config demo/webpack.config.js --progress --profile --bail","build:gh-pages":"npm run build:demo -- --output-public-path /ngx-showdown/","ci:script":"run-s ready","ci:after":"run-s coverage:report semantic-release ci:deploy","ci:deploy":"run-s build:gh-pages && git config --global user.email 'gh-pages@localhost' && git config --global user.name 'gh-pages' && gh-pages -d demo/build -r https://$GH_TOKEN@github.com/yisraelx/ngx-showdown.git -m \"chore: update\" -x","coverage:check":"istanbul check-coverage --statements 80 --branches 80 --functions 80 --lines 80","coverage:report":"codecov -f coverage/*.json","clean":"rimraf lib bundles demo/build coverage","cm":"git-cz","commitmsg":"validate-commit-msg","demo":"webpack-dev-server --config demo/webpack.config.js --progress","deploy":"run-s build:gh-pages && gh-pages -d demo/build","lint":"run-s lint:*","lint:demo":"tslint demo/src/**/*.ts","lint:lib":"tslint src/**/*.ts","lint:test":"tslint test/**/*.ts","precommit":"run-s ready","prepublish":"run-s build:lib build:bundles","ready":"run-s clean lint test coverage:check","start":"run-s demo","test":"karma start","watch:lib":"tsc --project src --watch","watch:test":"npm test -- --auto-watch --no-single-run","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/yisraelx/ngx-showdown.git"},"bugs":{"url":"https://github.com/yisraelx/ngx-showdown/issues"},"homepage":"http://yisraelx.github.io/ngx-showdown","config":{"commitizen":{"path":"cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"Commit message violates the rules defined for this project. Please, execute `npm run cm` to generate a correct commit message with `commitizen`"}},"dependencies":{"@types/showdown":"^1.7.2"},"peerDependencies":{"@angular/common":"^5.2.2","@angular/core":"^5.2.2","showdown":"^1.8.6"},"devDependencies":{"@angular/animations":"^5.2.2","@angular/cdk":"^5.1.1","@angular/common":"^5.2.2","@angular/compiler":"^5.2.2","@angular/compiler-cli":"^5.2.2","@angular/core":"^5.2.2","@angular/forms":"^5.2.2","@angular/http":"^5.2.2","@angular/material":"^5.1.1","@angular/platform-browser":"^5.2.2","@angular/platform-browser-dynamic":"^5.2.2","@angular/router":"^5.2.2","@types/core-js":"^0.9.46","@types/jasmine":"^2.8.6","@types/node":"^9.4.0","@types/webpack":"^3.8.4","angular2-template-loader":"^0.6.2","clean-webpack-plugin":"^0.1.18","codecov":"^3.0.0","codelyzer":"^4.1.0","commitizen":"^2.9.6","core-js":"^2.5.3","css-loader":"^0.28.9","cz-conventional-changelog":"^2.1.0","extract-text-webpack-plugin":"^3.0.2","file-loader":"^1.1.6","gh-pages":"^1.1.0","hammerjs":"^2.0.8","html-loader":"^0.5.5","html-webpack-plugin":"^2.30.1","husky":"^0.14.3","istanbul":"^0.4.5","istanbul-instrumenter-loader":"^3.0.0","jasmine-core":"^2.9.1","karma":"^2.0.0","karma-coverage":"^1.1.1","karma-jasmine":"^1.1.1","karma-phantomjs-launcher":"^1.0.4","karma-remap-coverage":"^0.1.5","karma-source-map-support":"^1.2.0","karma-webpack":"^2.0.9","npm-run-all":"^4.1.2","null-loader":"^0.1.1","raw-loader":"^0.5.1","rimraf":"^2.6.2","rxjs":"^5.5.6","semantic-release":"^12.4.1","showdown":"^1.8.6","style-loader":"^0.20.1","ts-loader":"^3.4.0","ts-node":"^4.1.0","tslint":"^5.9.1","typescript":"^2.7.1","validate-commit-msg":"^2.14.0","webpack":"^3.10.0","webpack-dev-server":"^2.11.1","yarn":"^1.3.2","zone.js":"^0.8.20"},"gitHead":"f50962da2ae681f028c41f5e489d5ab03acb804d","_id":"ngx-showdown@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"yisraelx","email":"yisraelx@gmail.com"},"dist":{"integrity":"sha512-0O/FOkKLEu9x9oUmdCrqUQG9LBt3O04mHpNLViVgZnyO2ttqMl4HNJehPNGk5l3HwZFNzttDFDcpepxXUjKMaA==","shasum":"4ebca248858a1c4d00551081a2d71132b8a8a172","tarball":"https://registry.npmjs.org/ngx-showdown/-/ngx-showdown-4.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFeFaJwmTwmdEcarXzH2WAmSMjlGc2eDMlKfrZars/jQAiEApPgTaLyHn2Q9Lr4sFeBGjyHyVyvL5kitoloXN84rHOA="}]},"maintainers":[{"name":"yisraelx","email":"yisraelx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-showdown-4.0.0.tgz_1517436005803_0.8668001843616366"},"directories":{}},"4.0.1":{"name":"ngx-showdown","description":"Angular X Showdown Module.","version":"4.0.1","license":"MIT","author":{"name":"Yisrael Eliav","email":"yisraelx@gmail.com","url":"https://github.com/yisraelx/"},"main":"lib/index.js","browser":"bundles/ngx-showdown.umd.js","typings":"lib/index.d.ts","files":["bundles","lib","LICENSE","README.md"],"keywords":["ng","ng2","ngx","angular","angular2","angularx","markdown","md","showdown"],"scripts":{"build":"run-s build:*","build:lib":"ngc --project src","build:bundles":"webpack --progress --profile --bail","build:demo":"webpack --config demo/webpack.config.js --progress --profile --bail","build:gh-pages":"npm run build:demo -- --output-public-path /ngx-showdown/","ci:script":"run-s ready","ci:after":"run-s coverage:report semantic-release ci:deploy","ci:deploy":"run-s build:gh-pages && git config --global user.email 'gh-pages@localhost' && git config --global user.name 'gh-pages' && gh-pages -d demo/build -r https://$GH_TOKEN@github.com/yisraelx/ngx-showdown.git -m \"chore: update\" -x","coverage:check":"istanbul check-coverage --statements 80 --branches 80 --functions 80 --lines 80","coverage:report":"codecov -f coverage/*.json","clean":"rimraf lib bundles demo/build coverage","cm":"git-cz","commitmsg":"validate-commit-msg","demo":"webpack-dev-server --config demo/webpack.config.js --progress","deploy":"run-s build:gh-pages && gh-pages -d demo/build","lint":"run-s lint:*","lint:demo":"tslint demo/src/**/*.ts","lint:lib":"tslint src/**/*.ts","lint:test":"tslint test/**/*.ts","precommit":"run-s ready","prepublish":"run-s build:lib build:bundles","ready":"run-s clean lint test coverage:check","start":"run-s demo","test":"karma start","watch:lib":"tsc --project src --watch","watch:test":"npm test -- --auto-watch --no-single-run","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/yisraelx/ngx-showdown.git"},"bugs":{"url":"https://github.com/yisraelx/ngx-showdown/issues"},"homepage":"http://yisraelx.github.io/ngx-showdown","config":{"commitizen":{"path":"cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"Commit message violates the rules defined for this project. Please, execute `npm run cm` to generate a correct commit message with `commitizen`"}},"dependencies":{"@types/showdown":"^1.7.2"},"peerDependencies":{"@angular/common":"^5.2.2","@angular/core":"^5.2.2","showdown":"^1.8.6"},"devDependencies":{"@angular/animations":"^5.2.2","@angular/cdk":"^5.1.1","@angular/common":"^5.2.2","@angular/compiler":"^5.2.2","@angular/compiler-cli":"^5.2.2","@angular/core":"^5.2.2","@angular/forms":"^5.2.2","@angular/http":"^5.2.2","@angular/material":"^5.1.1","@angular/platform-browser":"^5.2.2","@angular/platform-browser-dynamic":"^5.2.2","@angular/router":"^5.2.2","@types/core-js":"^0.9.46","@types/jasmine":"^2.8.6","@types/node":"^9.4.0","@types/webpack":"^3.8.4","angular2-template-loader":"^0.6.2","clean-webpack-plugin":"^0.1.18","codecov":"^3.0.0","codelyzer":"^4.1.0","commitizen":"^2.9.6","core-js":"^2.5.3","css-loader":"^0.28.9","cz-conventional-changelog":"^2.1.0","extract-text-webpack-plugin":"^3.0.2","file-loader":"^1.1.6","gh-pages":"^1.1.0","hammerjs":"^2.0.8","html-loader":"^0.5.5","html-webpack-plugin":"^2.30.1","husky":"^0.14.3","istanbul":"^0.4.5","istanbul-instrumenter-loader":"^3.0.0","jasmine-core":"^2.9.1","karma":"^2.0.0","karma-coverage":"^1.1.1","karma-jasmine":"^1.1.1","karma-phantomjs-launcher":"^1.0.4","karma-remap-coverage":"^0.1.5","karma-source-map-support":"^1.2.0","karma-webpack":"^2.0.9","npm-run-all":"^4.1.2","null-loader":"^0.1.1","raw-loader":"^0.5.1","rimraf":"^2.6.2","rxjs":"^5.5.6","semantic-release":"^12.4.1","showdown":"^1.8.6","style-loader":"^0.20.1","ts-loader":"^3.4.0","ts-node":"^4.1.0","tslint":"^5.9.1","typescript":"^2.7.1","validate-commit-msg":"^2.14.0","webpack":"^3.10.0","webpack-dev-server":"^2.11.1","yarn":"^1.3.2","zone.js":"^0.8.20"},"gitHead":"53bc5047daefbf27f7972ef94e55ecba9ae59af8","_id":"ngx-showdown@4.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"yisraelx","email":"yisraelx@gmail.com"},"dist":{"integrity":"sha512-ENqpcezDRzPkMXe2DpyJFx63bsDyJNGi7n9FNkYTT47FQVcT3v74wlE9eXxLIiaFEtvkw7EiC0T34T6wxBUAAA==","shasum":"e46efb6271718991e7d65e335cbde60f2511d2b6","tarball":"https://registry.npmjs.org/ngx-showdown/-/ngx-showdown-4.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWFlpdNFexNnP9fI6VgNwTivfMuZPmEoKjiLFrH9qCjgIgIBRPQIKxSp8lEIA2M6Pqk4tZkwoovKkMT4P5fcqdx6g="}]},"maintainers":[{"name":"yisraelx","email":"yisraelx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-showdown-4.0.1.tgz_1517690982209_0.9482199470512569"},"directories":{}},"4.0.2":{"name":"ngx-showdown","description":"Angular X Showdown Module.","version":"4.0.2","license":"MIT","author":{"name":"Yisrael Eliav","email":"yisraelx@gmail.com","url":"https://github.com/yisraelx/"},"main":"lib/index.js","browser":"bundles/ngx-showdown.umd.js","typings":"lib/index.d.ts","files":["bundles","lib","LICENSE","README.md"],"keywords":["ng","ng2","ngx","angular","angular2","angularx","markdown","md","showdown"],"scripts":{"build":"run-s build:*","build:lib":"ngc --project src","build:bundles":"webpack --progress --profile --bail","build:demo":"webpack --config demo/webpack.config.js --progress --profile --bail","build:gh-pages":"npm run build:demo -- --output-public-path /ngx-showdown/","ci:script":"run-s ready","ci:after":"run-s coverage:report semantic-release ci:deploy","ci:deploy":"run-s build:gh-pages && git config --global user.email 'gh-pages@localhost' && git config --global user.name 'gh-pages' && gh-pages -d demo/build -r https://$GH_TOKEN@github.com/yisraelx/ngx-showdown.git -m \"chore: update\" -x","coverage:check":"istanbul check-coverage --statements 80 --branches 80 --functions 80 --lines 80","coverage:report":"codecov -f coverage/*.json","clean":"rimraf lib bundles demo/build coverage","cm":"git-cz","commitmsg":"validate-commit-msg","demo":"webpack-dev-server --config demo/webpack.config.js --progress","deploy":"run-s build:gh-pages && gh-pages -d demo/build","lint":"run-s lint:*","lint:demo":"tslint demo/src/**/*.ts","lint:lib":"tslint src/**/*.ts","lint:test":"tslint test/**/*.ts","precommit":"run-s ready","prepublish":"run-s build:lib build:bundles","ready":"run-s clean lint test coverage:check","start":"run-s demo","test":"karma start","watch:lib":"tsc --project src --watch","watch:test":"npm test -- --auto-watch --no-single-run","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/yisraelx/ngx-showdown.git"},"bugs":{"url":"https://github.com/yisraelx/ngx-showdown/issues"},"homepage":"http://yisraelx.github.io/ngx-showdown","config":{"commitizen":{"path":"cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"Commit message violates the rules defined for this project. Please, execute `npm run cm` to generate a correct commit message with `commitizen`"}},"dependencies":{"@types/showdown":"^1.7.3"},"peerDependencies":{"@angular/common":"^6.0.0","@angular/core":"^6.0.0","showdown":"^1.8.6"},"devDependencies":{"@angular/animations":"^6.0.0","@angular/cdk":"^6.0.1","@angular/common":"^6.0.0","@angular/compiler":"^6.0.0","@angular/compiler-cli":"^6.0.0","@angular/core":"^6.0.0","@angular/forms":"^6.0.0","@angular/http":"^6.0.0","@angular/material":"^6.0.1","@angular/platform-browser":"^6.0.0","@angular/platform-browser-dynamic":"^6.0.0","@angular/router":"^6.0.0","@types/core-js":"^0.9.46","@types/jasmine":"^2.8.6","@types/node":"^10.0.4","@types/webpack":"^3.8.4","angular2-template-loader":"^0.6.2","clean-webpack-plugin":"^0.1.18","codecov":"^3.0.1","codelyzer":"^4.3.0","commitizen":"^2.9.6","core-js":"^2.5.6","css-loader":"^0.28.9","cz-conventional-changelog":"^2.1.0","extract-text-webpack-plugin":"^3.0.2","file-loader":"^1.1.6","gh-pages":"^1.1.0","hammerjs":"^2.0.8","html-loader":"^0.5.5","html-webpack-plugin":"^2.30.1","husky":"^0.14.3","istanbul":"^0.4.5","istanbul-instrumenter-loader":"^3.0.0","jasmine-core":"^2.9.1","karma":"^2.0.0","karma-coverage":"^1.1.1","karma-jasmine":"^1.1.1","karma-phantomjs-launcher":"^1.0.4","karma-remap-coverage":"^0.1.5","karma-source-map-support":"^1.2.0","karma-webpack":"^2.0.9","npm-run-all":"^4.1.3","null-loader":"^0.1.1","raw-loader":"^0.5.1","rimraf":"^2.6.2","rxjs":"^6.1.0","semantic-release":"^15.3.1","showdown":"^1.8.6","style-loader":"^0.20.1","ts-loader":"^3.4.0","ts-node":"^4.1.0","tslint":"^5.9.1","typescript":"2.7.2","validate-commit-msg":"^2.14.0","webpack":"^3.10.0","webpack-dev-server":"^2.11.1","yarn":"^1.6.0","zone.js":"^0.8.26"},"gitHead":"681c175d75dcbca674394337a5c7967917d434e2","_id":"ngx-showdown@4.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"yisraelx","email":"yisraelx@gmail.com"},"dist":{"integrity":"sha512-UpQxj0JigBCZAbw0agQsH3WX9hHOPr12adN+NW8CWp7+NqMUpUz/Ojyd5JOPoPX3ZxrKrJ3LWNcUoaeLfgzBzQ==","shasum":"2dd62801702b4d151f0f242c4255d6fd6748dd9f","tarball":"https://registry.npmjs.org/ngx-showdown/-/ngx-showdown-4.0.2.tgz","fileCount":41,"unpackedSize":117969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8M5tCRA9TVsSAnZWagAAtXIQAI4AYR1+8hxmsMYweGG8\nWUIY+AK61nGynqZ+/Abn5roHtEm873UdhefQ3FZgcz1Ezh7KrisluCKJralx\nqx5p9ca5/7w8yqYtubIni6UyVTwa7kn1iYnpEdWfmCMSb20rFVKUYB2IiRct\nzmqvfJSWBixOyxIUpckkd2/pN4Rs25Z/6ckLzGAGpzRFl6v1nWHEA8LVh520\nT9WJBYnuuHb0WANVKN4/7snp4Ut2PbEbNqxZd7JRCBUQhaaGZbV4MSjxWTr+\nr8Avf+r9SKswSqAyFJpy+2kHK2Dg+qKjVOSt6wYPvPXYvP9bRpAYr191pi1w\nhd7hTrKst2Z/08h2qsPtZTLjQlAsmtV81onsiWkEV+k75XWKYgGGTixds6WD\nwCBlKW/ummI+HBPASmiHdSUgTH/gAhS02kvBbugOGyUMGLTdx7spVy/yIUSY\nBpX/jcAQIpdLOR4qm5ZAurzOnVfD7eS9/I4buWUgZIoBmb9iat882mBGDKBJ\nlwXnhHNh+kvGcwsZ8LTwghVgp3RAs5RLGKDoFdV5CxlErjWbYGJYnm6WBCy+\nQLHkwOFWw8G32Xvzt46guddsAXCiBJu7fCOHWPgp0QrOK4KGD9WCSl6KL6f8\n74UnXuc7PbYlEXsXeUgJku/hTB7agUQM+r/SXgRljvt1jpcgmcUxnuf/XZb9\nSck5\r\n=V2Pl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDWKwGvftJcI0T1rlQ2NiukV3pD+OBQ3gqXGYFJU9GygIhAMULxPK6B2IDxkv1nG7vgN8L6qhvcszND1rKagdey0AU"}]},"maintainers":[{"name":"yisraelx","email":"yisraelx@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-showdown_4.0.2_1525730924199_0.5210343712630052"},"_hasShrinkwrap":false},"5.0.0":{"name":"ngx-showdown","version":"5.0.0","description":"A Angular (>=2) integration for Showdown","keywords":["ng","ng2","ngx","angular","angular2","markdown","md","showdown","convert","converter","parse","parser"],"license":"MIT","author":{"name":"Yisrael Eliav","email":"yisraelx@gmail.com","url":"https://github.com/yisraelx/"},"homepage":"http://yisraelx.github.io/ngx-showdown","repository":{"type":"git","url":"git+https://github.com/yisraelx/ngx-showdown.git"},"bugs":{"url":"https://github.com/yisraelx/ngx-showdown/issues"},"husky":{"hooks":{"pre-commit":"yarn verify","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"release":{"pkgRoot":"dist/lib"},"config":{"commitizen":{"path":"@commitlint/prompt"}},"peerDependencies":{"@angular/common":"^8.0.0","@angular/core":"^8.0.0","@angular/platform-browser":"^8.0.0","@types/showdown":"^1.9.3","showdown":"^1.9.0"},"devDependencies":{"@angular-devkit/build-angular":"^0.800.3","@angular-devkit/build-ng-packagr":"^0.800.3","@angular/animations":"^8.0.1","@angular/cdk":"^8.0.1","@angular/cli":"^8.0.3","@angular/common":"^8.0.1","@angular/compiler":"^8.0.1","@angular/compiler-cli":"^8.0.1","@angular/core":"^8.0.1","@angular/forms":"^8.0.1","@angular/language-service":"^8.0.1","@angular/material":"^8.0.1","@angular/platform-browser":"^8.0.1","@angular/platform-browser-dynamic":"^8.0.1","@angular/router":"^8.0.1","@commitlint/cli":"^8.0.0","@commitlint/config-conventional":"^8.0.0","@commitlint/prompt":"^8.0.0","@compodoc/compodoc":"1.1.8","@types/jasmine":"^3.3.12","@types/jasminewd2":"^2.0.6","@types/node":"^12.0.8","@types/showdown":"^1.9.3","classlist.js":"^1.1.20150312","codecov":"^3.5.0","codelyzer":"^5.1.0","commitizen":"^3.1.1","gh-pages":"^2.0.1","hammerjs":"^2.0.8","husky":"^2.4.1","jasmine-core":"^3.4.0","jasmine-spec-reporter":"^4.2.1","karma":"^4.1.0","karma-chrome-launcher":"^2.2.0","karma-coverage-istanbul-reporter":"^2.0.5","karma-jasmine":"^2.0.1","karma-jasmine-html-reporter":"^1.4.2","ng-packagr":"^5.3.0","npm-run-all":"^4.1.5","rimraf":"^2.6.3","rxjs":"^6.5.2","semantic-release":"^15.13.16","showdown":"^1.9.0","showdown-highlight":"^2.1.3","ts-node":"^8.3.0","tsickle":"^0.35.0","tslib":"^1.10.0","tslint":"^5.17.0","typescript":"~3.4.5","web-animations-js":"^2.3.1","yarn":"^1.16.0","zone.js":"~0.9.1"},"main":"bundles/ngx-showdown.umd.js","module":"fesm5/ngx-showdown.js","es2015":"fesm2015/ngx-showdown.js","esm5":"esm5/ngx-showdown.js","esm2015":"esm2015/ngx-showdown.js","fesm5":"fesm5/ngx-showdown.js","fesm2015":"fesm2015/ngx-showdown.js","typings":"ngx-showdown.d.ts","metadata":"ngx-showdown.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"ngx-showdown@5.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-II5lppipLgtDnEqvmJgK2Gq3KYsKVX8O4kyEOYf9oMj5ssR2PmCKGkeJMI2OLR/RE2MrfnRTYn16F2ipraL21w==","shasum":"bd71cc8fe34d9aaf2a1bcf4dd75a9d75cf993bd2","tarball":"https://registry.npmjs.org/ngx-showdown/-/ngx-showdown-5.0.0.tgz","fileCount":48,"unpackedSize":355009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBgsHCRA9TVsSAnZWagAALWQQAI7T1XTvTmIFBuY15EsP\n4uPCNDwOK+E9Q96/zjmcwLVm/+f3V46wWMPRL1WktEPvNZxuvuJrGu2njI/9\nntt7cFolMYw4Vlh8C1JdIsi0R1KGZHHOGMjUMxEb6Z09mYk/KOj62x9cVUgm\nVs9RD3SwQsLHyrqs1OJF0x8V+Nj0jIOV2uRBydWPEDj4Cbbhu1vckIicOGmd\nfs0QumlTaHaVWHhDMyF1F/qDlG7alkRRPObz0J+qkW3YO+bY/I6SgBWszjfK\n1RBl/VQJGaGSQxBzAXs2s2fJP/DoTNk7ACYNERHidblkdn8eCA1BHMU0GYQH\nqyQBll9aJnkwDlOzKwgaXqtJlHljcJXoQGXY6+Vofmzl9bH/xrs2eHiijrE4\nR5kDSactzXwQjDGUXrwAgDLRZ41jbM/NE6yCHpOBGX5xfZUZ42w2FJVsSQ6f\nnFjkOmyIXJ+gtqtq5ZGSxdltMPvGEfQnUme5fuwX/gF8lkAdA/mSHH1/mWA3\nRB6p/VsYfxSA7wPW/rDxUEwRJylg7G5YbBP9xkjzdDjakWrgn+pI/CwRBTdO\nXnhsDAgIr+Bk2H3tXonZS5XME37dpmnzXc81+3ouTidPMJdrnjnTOx4nTP7p\nvVYMtopP/3bzowciY9rl5/i87BAaTO25YqN6S5UtXh+Q9WYHqmsiE1dCVPtB\nhEz0\r\n=XDCU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBOEaenyHNdxw3Z1mFSujIGBLCZrf4P123bFSN8ONxfDAiEA9O6tvpK7yLP6uOAtIpFOWRis0czaZMLIB1OEnAjx4vc="}]},"maintainers":[{"name":"yisraelx","email":"yisraelx@gmail.com"}],"_npmUser":{"name":"yisraelx","email":"yisraelx@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-showdown_5.0.0_1560677126306_0.11646602888054258"},"_hasShrinkwrap":false},"5.1.0":{"name":"ngx-showdown","version":"5.1.0","description":"A Angular (>=2) integration for Showdown","keywords":["ng","ng2","ngx","angular","angular2","markdown","md","showdown","convert","converter","parse","parser"],"license":"MIT","author":{"name":"Yisrael Eliav","email":"yisraelx@gmail.com","url":"https://github.com/yisraelx/"},"homepage":"http://yisraelx.github.io/ngx-showdown","repository":{"type":"git","url":"git+https://github.com/yisraelx/ngx-showdown.git"},"bugs":{"url":"https://github.com/yisraelx/ngx-showdown/issues"},"engines":{"node":">=10.18"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release":{"branches":"master","pkgRoot":"dist/lib"},"config":{"commitizen":{"path":"@commitlint/prompt"}},"peerDependencies":{"@angular/common":"^9.0.1","@angular/core":"^9.0.1","@angular/platform-browser":"^9.0.1","@types/showdown":"^1.9.3","showdown":"^1.9.1","tslib":"^1.10.0"},"main":"bundles/ngx-showdown.umd.js","module":"fesm5/ngx-showdown.js","es2015":"fesm2015/ngx-showdown.js","esm5":"esm5/ngx-showdown.js","esm2015":"esm2015/ngx-showdown.js","fesm5":"fesm5/ngx-showdown.js","fesm2015":"fesm2015/ngx-showdown.js","typings":"ngx-showdown.d.ts","metadata":"ngx-showdown.metadata.json","sideEffects":false,"_id":"ngx-showdown@5.1.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-HZdi+pIRS97rbMMBBZqHWr0xPQONxG/6WMCHXqX74O6k+uurOXOmeFYJIHhuTATC24KLp1udEgvgGfShz1lizg==","shasum":"5a54ed259b982c403e5c7b03502862cc4a0110f7","tarball":"https://registry.npmjs.org/ngx-showdown/-/ngx-showdown-5.1.0.tgz","fileCount":36,"unpackedSize":360327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSo+CCRA9TVsSAnZWagAAjPcP/0nipUo8beWhVr0GBMJA\n3rVOUa1AuTzlFhzUWFfLm04K7Zb/oGXSCPn3My0Qir2ysrWks52nQvwX7goa\n3o+orYxMf28YrKGWotNgQpPT1vUTKuRU//5FJCF9qCYDFS1N+thmIKus9fKP\nTpcGQU4llLBRVMxrs8GEgFbrRxUmNJYuMi8hyD8mYxW8p3y6vMZd/4tl/0i0\n7RlYR1t4i74373MNhYq/EAxLd6S9W7vYGDCWf6VtrdnJuvtFoh8/ux+4pla8\ndNcAQmLVQed6I+LrhPrfIr8dGlFOI5LrffJFcU1lji9pjJdEwqkfMSgP3Jhg\nt6DDCroPkzl8T9qrashIgB06WZvQMTym5MqG2E6uSiDK6VjkWSP0u/wYvgW1\n0FTwQSOFu+SWoELBXGbbT9WaESP+VKdpRfhMOTHlpiL6h8k4Dm6Ro1BzoikQ\n0V6jtHiyz0OlsbYxjiJjPGkfrk5AHay2PAiatsR27ty5eG0yT1i1IgBynnIZ\nhuLPGLA/qxRNtjAPxVcX8r70FMFudCqOYBlpiRYobea2iDd0LWpUuq+MHw43\nrdMNVE71JVD7OFhlPAn+J2wiAapL4FnmgkaFxjclyeSy8TVSkLNtoR2viBNM\nQbZppHvaaN9pi6S5SZ8XXtjYwAOMKJ8xAPv+2pXfJhjmgVCC0ih583sJhQf1\nx8qd\r\n=GNEf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8I9coxJd04HpZ7LKunhNhVFK39deRNSIKCV4WUp5EDAiEAtXUDIvApo5PZjLTw9tcfHdxokS54BCXNE9j5/OnMNEM="}]},"maintainers":[{"name":"yisraelx","email":"yisraelx@gmail.com"}],"_npmUser":{"name":"yisraelx","email":"yisraelx@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-showdown_5.1.0_1581944705355_0.3009603072879148"},"_hasShrinkwrap":false},"6.0.0":{"name":"ngx-showdown","version":"6.0.0","description":"A Angular (>=2) integration for Showdown","keywords":["ng","ng2","ngx","angular","angular2","markdown","md","showdown","convert","converter","parse","parser"],"license":"MIT","author":{"name":"Yisrael Eliav","email":"yisraelx@gmail.com","url":"https://github.com/yisraelx/"},"homepage":"http://yisraelx.github.io/ngx-showdown","repository":{"type":"git","url":"git+https://github.com/yisraelx/ngx-showdown.git"},"bugs":{"url":"https://github.com/yisraelx/ngx-showdown/issues"},"engines":{"node":">=10.18"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release":{"branches":"master","pkgRoot":"dist/lib"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"config":{"commitizen":{"path":"@commitlint/prompt"}},"peerDependencies":{"@angular/common":">=10.0.0","@angular/core":">=10.0.0","@angular/platform-browser":">=10.0.0","@types/showdown":"^1.9.3","showdown":"^1.9.1"},"dependencies":{"tslib":"^2.0.1"},"main":"bundles/ngx-showdown.umd.js","module":"fesm2015/ngx-showdown.js","es2015":"fesm2015/ngx-showdown.js","esm2015":"esm2015/ngx-showdown.js","fesm2015":"fesm2015/ngx-showdown.js","typings":"ngx-showdown.d.ts","metadata":"ngx-showdown.metadata.json","sideEffects":false,"_id":"ngx-showdown@6.0.0","_nodeVersion":"10.22.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-xSPc08Zdr3DkZp+LYob6p0I67uhdHax1NjUz6xnQHCUBbU54GsMpiLZMkDfn5KViunL0NtHPQGf3uvmghWeD+g==","shasum":"d566645ff5c39b1e53c8eb81da344be47e58b8d6","tarball":"https://registry.npmjs.org/ngx-showdown/-/ngx-showdown-6.0.0.tgz","fileCount":26,"unpackedSize":249447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOSmiCRA9TVsSAnZWagAArI8QAI/4q9hNH0uluaN6qnFu\npsmXDwgu+xnCVey/ZnR3Orvsz3RxNimCqvOP7hUTfRpeiL95l2AB6hg1x9qI\nwhBQ2PS+eF0uZvp6/v97QHz/W5HvhM+AsTfxquU/t2/hEIGEksM2x1BhteUs\nUYrxAYuavAKyW5rhj0ocSO0sDX0sd74ONBttqSHIk2ewPcm4Ri9NkT9BITB3\n+FJALADaQpNfQLYk44AhmAizwak1/ruGtIv+ROIHiqMPuA8fay23tBbRuOM8\nGI5Js9SW1UflesY/kMvrb7Jf38N7bhbIc8BZMFCF0TDGnydcNSCQTBOfM/yY\n5g2pY6ko7MCm9bkXvgLPm3Wi01oDRa5I539ztExwsxxhAVNg6trUgxBuSk/v\n6IY/lPQzaU3OG+vws62tpSJDYPdGySV0pd9blGwkVL+WIDzGaHEesfG9S5qq\nUJLhq48VjlobW0CvZRNRqM1WYXoD2vNU9tpzICyGttDNdf+nFwdRpg9F205R\nC7jfMdFECYYg5BRmh5VFRtxz/DTm723qSatk/R/Q9puaB5xm6MYvdDZbp14L\nUfAcDcmuqyNHmTxn7SUOPVRW0Gp7gFGSfLPsS9KOdHAJkcPkiN/q0J4eBQuO\neUp9xcbgN1wmhrQ2p4JdayHblshuEHGup/cU+iqPfIjHe+/xmPGyJSP0Rd/7\nLPl/\r\n=MJjU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8io44lecnI+LV91oNVhqV5lR/lIeFBbtOhK9Jz7+gdAiAbLHQVvKFbf67DuwvGWib+/PhlZedS3BzoCjTkFrFsFQ=="}]},"maintainers":[{"name":"yisraelx","email":"yisraelx@gmail.com"}],"_npmUser":{"name":"yisraelx","email":"yisraelx@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ngx-showdown_6.0.0_1597581730080_0.7486952595429424"},"_hasShrinkwrap":false}},"readme":"<p align=\"center\">\n  <img height=\"200px\" width=\"200px\" src=\"https://github.com/yisraelx/ngx-showdown/raw/master/demo/src/assets/logo.png\" alt=\"ngx-showdown\">\n  <h1 align=\"center\">Angular Showdown</h1>\n</p>\n\n[![Travis build](https://travis-ci.org/yisraelx/ngx-showdown.svg?branch=master)](https://travis-ci.org/yisraelx/ngx-showdown)\n[![Codecov coverage](https://codecov.io/github/yisraelx/ngx-showdown/coverage.svg?branch=master)](https://codecov.io/github/yisraelx/ngx-showdown)\n[![Version](https://img.shields.io/npm/v/ngx-showdown.svg)](https://www.npmjs.com/package/ngx-showdown)\n[![MIT License](https://img.shields.io/npm/l/ngx-showdown.svg)](https://github.com/yisraelx/ngx-showdown/blob/master/LICENSE)\n[![Documentation](https://img.shields.io/badge/%F0%9F%93%9A-documentation-informational.svg)](https://yisraelx.github.io/ngx-showdown/docs/index.html)\n[![Bundle Size](https://img.shields.io/bundlephobia/min/ngx-showdown.svg?color=green)](https://bundlephobia.com/result?p=ngx-showdown)\n[![TypeScript](https://img.shields.io/badge/100%25-TypeScript-blue.svg)](https://www.typescriptlang.org)\n[![Semantic release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n**ngx-showdown is an [Angular](https://angular.io) (>=2) integration for [Showdown](https://github.com/showdownjs/showdown), A `Markdown` to `HTML` converter.**\n___\n\n## Demo\n* Demo app in [source code](https://github.com/yisraelx/ngx-showdown/blob/master/demo) ([live](http://yisraelx.github.io/ngx-showdown)).\n* You can play with it in [Stackblitz](https://stackblitz.com/edit/ngx-showdown) and [Plunker](https://plnkr.co/edit/0j8d9w).\n\n## Install\n```bash\n$ npm install ngx-showdown --save\n```\nand install peer dependencies (`@angular/common/http` for `SourceDirective`)\n```bash\n$ npm install showdown @angular/common @angular/platform-browser --save\n```\nand install type package of `Showdown` for `TypeScript` \n```bash\n$ npm install @types/showdown --save-dev\n```\n\n\n## Usage\n*For more information and explanations, see the [full documentation](https://yisraelx.github.io/ngx-showdown/docs/index.html).*\n\n### Setup `ShowdownModule` in your app.\nAdd `ShowdownModule` to `imports` of App.\n```typescript\nimport { NgModule } from '@angular/core';\nimport { ShowdownModule } from 'ngx-showdown';\n\n@NgModule({\n  imports: [ ShowdownModule ]\n})\nexport class AppModule {}\n```\nOr with config (it will init `ShowdownConfig` provider)\n```typescript\nimport { NgModule } from '@angular/core';\nimport { ShowdownModule } from 'ngx-showdown';\n\n@NgModule({\n  imports: [ ShowdownModule.forRoot({emoji: true, noHeaderId: true, flavor: 'github'}) ]\n})\nexport class AppModule {}\n```\n\nAdd `showdown` to [`allowedCommonJsDependencies`](https://angular.io/guide/build#configuring-commonjs-dependencies) in the build config of the `angular.json` file (From angular >= 10).\n```json\n\"build\": {\n  \"builder\": \"@angular-devkit/build-angular:browser\",\n  \"options\": {\n     \"allowedCommonJsDependencies\": [\n        \"showdown\"\n     ]\n     ...\n   }\n   ...\n},\n\n```\n### Use `ShowdownComponent` in the template\n#### Binding to `[value]` property\nBind markdown value to `value` property of showdown component.\n```html\n<input type=\"text\" [(ngModel)]=\"text\"/>\n<showdown [value]=\"text\"></showdown>\n```\n\nBind value and options.\n```typescript\nimport { Component } from '@angular/core';\nimport * as Showdown from 'showdown';\n\n@Component({\n  selector: 'some',\n  template: '<showdown [value]=\"text\" [options]=\"options\"></showdown>'\n})\nexport class SomeComponent {\n  text: string = `\n# h1\n## h2\n`;\n  options: Showdown.ShowdownOptions = {...};\n  // ...\n}\n```\n\nAs directive on anther element \n```html\n<div showdown=\"# Static\" noHeaderId></div>\n```\n\n#### Markdown in component content\nA markdown value in the component content.  \n```html\n<showdown>\n# H1\n## H2\n</showdown>\n```\n\nWith options\n```html\n<showdown [options]=\"{smartIndentationFix: true}\">\n    * a\n    * b\n    * c\n</showdown>\n```\n\nAs directive on anther element \n```html\n<span showdown emoji>:showdown:**howdown**</span>\n```\n\n#### Load .md content (by `SourceDirective`)\nLoad markdown content of url source.\n```html\n<showdown src=\"README.md\"></showdown>\n```\n\nBind input url to `src` directive.\n```html\n<input type=\"text\" placeholder=\"Url\" [(ngModel)]=\"url\"/>\n<showdown #sd [src]=\"url\" (error)=\"sd.render('**Not found..**')\">**No Url..**</showdown>\n```\n*Note: Loading markdown content requires [`HttpClient`](https://angular.io/api/common/http/HttpClient) of [`@angular/common/http`](https://angular.io/api/common/http)*\n\n#### Mixing sources\nWhen both `Content` and `[value]`, It will render `[value]`.\n```html\n<showdown value=\"# Value\"># Content</showdown>\n```\n\nWhen both `Content` and `[src]`, It will render `Content` and when `src` loads then results will be `src` content. \n```html\n<showdown src=\"README.md\"># Content</showdown>\n```\n\nWhen both `[value]` and `[src]`, It will render `[value]` and when `src` loads then results will be `src` content. \n```html\n<showdown value=\"# Value\" src=\"README.md\"></showdown>\n```\n\n#### Binding options\nBind options object (it init root `ShowdownConfig` and then set the bind `options`)\n```typescript\nimport { Component } from '@angular/core';\nimport * as Showdown from 'showdown';\n\n@Component({\n  selector: `some`,\n  template: `<showdown [value]=\"text\" [options]=\"options\"></showdown>`\n})\nexport class SomeComponent {\n  text: string = '# Some';\n  options: Showdown.ShowdownOptions = {noHeaderId: true};\n  // ...\n}\n```\nOr\n```html\n<showdown [options]=\"{noHeaderId: true}\"># abc</showdown>\n```\nBind single option (it have input properties for all showdown options).\n```html\n<showdown noHeaderId [headerLevelStart]=\"2\" [tables]=\"options.tables\"># abc</showdown>\n```\n\n#### Sanitize the convert html output\nSanitize the convert html output by [`DomSanitizer`](https://angular.io/api/platform-browser/DomSanitizer#sanitize).\n```html\n<showdown sanitize>\n# Some\n<a href=\"javascript:alert('Hello!')\">Click</a>\n__Foo__\n</showdown>\n```\nAlso sanitize content of `src` url.\n```html\n<showdown [value]=\"# Loading..\" src=\"README.md\" sanitize=\"true\"></showdown>\n```\n\n### Use `ShowdownPipe` in the template\nTransform markdown value of `text` property to html. \n```html\n{{ text | showdown }}\n```\n\nTransform value with options (it init root `ShowdownConfig` and then set the pipe `options`)\n```typescript\nimport { Component } from '@angular/core';\nimport * as Showdown from 'showdown';\n\n@Component({\n  selector: 'some',\n  template: '{{ text | showdown:options }}'\n})\nexport class SomeComponent {\n  text: string = `\n      # h1\n      ## h2\n  `;\n  options: Showdown.ShowdownOptions = {smartIndentationFix: true};\n  // ...\n}\n```\n\n### Use `ShowdownConverter` service\n\n```typescript\nimport { Injectable } from '@angular/core';\nimport { ShowdownConverter } from 'ngx-showdown';\n\n@Injectable()\nexport class SomeService {\n  constructor(showdownConverter: ShowdownConverter){\n    console.log(showdownConverter.makeHtml('# Showdown'));\n  }\n}\n```\n\n### Set config provider (`ShowdownConfig`)\nSet root config that will be injected to [ShowdownComponent](#ShowdownComponent), [ShowdownPipe](#ShowdownPipe), [ShowdownConverter](#ShowdownConverter) when they are created.\n```typescript\nimport { NgModel } from '@angular/core';\nimport { ShowdownModule, ShowdownConverter } from 'ngx-showdown';\nimport * as Showdown from 'showdown';\n\nlet colorExtension: Showdown.FilterExtension = {\n  type: 'output',\n  filter(text: string, converter: ShowdownConverter){\n    return text.replace('$color', converter.getOption('color') || 'green')\n  }\n};\n\n@NgModel({\n  imports:[\n    ShowdownModule.forRoot({\n      flavor: 'original',\n      emoji: true,\n      color: 'red',\n      extensions: [ colorExtension ]\n    })\n  ]\n})\nexport class AppModule {}\n```\n\nOverride the root config provider value.\n```typescript\nimport { Component } from '@angular/core';\nimport { ShowdownConfig } from 'ngx-showdown';\n\n@Component({\n  selector: 'some',\n  template: '<showdown># Header</showdown>',\n  providers: [ {provide: ShowdownConfig, useValue: {underline: true, emoji: false}} ]\n})\nexport class SomeComponent {}\n```\n\nSet the config manually by the converter methods.\n```typescript\nimport { Component } from '@angular/core';\nimport { ShowdownComponent } from 'ngx-showdown';\nimport highlightExtension from 'showdown-highlight';\nimport 'highlight.js/styles/default.css';\n\n@Component({\n  selector: 'some',\n  template: '<showdown># Header</showdown>'\n})\nexport class SomeComponent {\n  constructor(showdownComponent: ShowdownComponent) {\n    showdownComponent.addExtension(highlightExtension);\n    showdownComponent.setFlavor('ghost');\n    showdownComponent.setOptions({emoji: true});\n  }\n}\n```\n\n#### Flavor\nSet root flavor ([Showdown flavors](https://github.com/showdownjs/showdown/blob/master/README.md#flavors)).\n```typescript\nimport { NgModel } from '@angular/core';\nimport { ShowdownModule } from 'ngx-showdown';\n\n@NgModel({\n  imports:[\n    ShowdownModule.forRoot({flavor: 'github'})\n  ]\n})\nexport class AppModule {}\n```\n*Note: If `flavor` is not set then the default value is 'vanilla' flavor.*\n\n#### ConverterOptions\nSet root ConverterOptions ([Showdown options](https://github.com/showdownjs/showdown/blob/master/README.md#valid-options)).\n```typescript\nimport { NgModel } from '@angular/core';\nimport { ShowdownModule } from 'ngx-showdown';\n\n@NgModel({\n  imports:[\n    ShowdownModule.forRoot({underline: true, emoji: false})\n  ]\n})\nexport class AppModule {}\n```\n\n#### Extensions\nSet root Extensions ([Showdown extensions](https://github.com/showdownjs/showdown#extensions)).\nWith extension can be made changes to the `Markdown` input ('lang') and the `Html` output also listen to parse event, you can [make extension](https://github.com/showdownjs/showdown/wiki/Extensions) or [search in npm](https://www.npmjs.com/search?q=keywords:showdown%20extension) for existing extension.\n```typescript\nimport { NgModel } from '@angular/core';\nimport { ShowdownModule } from 'ngx-showdown';\nimport * as Showdown from 'showdown';\nimport highlightExtension from 'showdown-highlight';\nimport 'highlight.js/styles/default.css';\n\nlet someExtension: Showdown.ShowdownExtension = {\n  type: 'lang',\n  regex: new RegExp('markdown', 'g'),\n  replace: 'showdown'\n};\n\n\n@NgModel({\n  imports: [ \n    ShowdownModule.forRoot({extensions: [ someExtension, highlightExtension ]}) \n  ]\n})\nexport class AppModule {}\n```\n\n## Troubleshoot\n#### Interpolation\nUsing unescaped `{}` (`<showdown>{}</showdown>`) in template causes an template parse error ([@angular/angular/#11859](https://github.com/angular/angular/issues/11859)), \nThe solution is to use escape chars (html char code etc.), \nAnther solution is to override the default [interpolation](https://angular.io/api/core/Component#interpolation).\n\n#### Whitespaces\nAngular aot compiler remove whitespaces by default, use [ngPreserveWhitespaces](https://angular.io/api/core/Component#preserving-whitespace) to preserve whitespaces. \n```html\n<showdown ngPreserveWhitespaces>\n* a\n  * 1\n  * 2\n* b\n</showdown>\n```\nWith `ngPreserveWhitespaces`\n```\n* a\n  * 1\n  * 2\n* b\n```\nWithout `ngPreserveWhitespaces`\n```\n* a * 1 * 2\n* b\n```\n\n#### Indentation\nShowdown converter [smartIndentationFix](https://github.com/showdownjs/showdown/wiki/Showdown-options#smartindentationfix) option can fix string indentation problems of es6 template and html. \n```typescript\ntext = `\n  # A\n  ## B\n`;\n```\n```html\n<showdown [value]=\"text\" smartIndentationFix></showdown>\n```\nWith `smartIndentationFix`\n```\n# A\n## B\n```\nWithout `smartIndentationFix`\n```\n  # A\n  ## B\n```\n\n## Contribute\n**Pull requests are welcome!**\n\n## Development\nThis project built with [`Angular Cli`](https://angular.io/cli).\n\nInstall dependencies\n```bash\n$ yarn install\n```\nRun test\n```bash\n$ yarn test\n```\nBuild for release\n```bash\n$ yarn build\n```\n\n## Credits\nThis project use [Showdown library](https://github.com/showdownjs/showdown) to convert `Markdown` to `Html`.\n\n## License\nCopyright © [Yisrael Eliav](https://github.com/yisraelx),\nLicensed under the [MIT license](https://github.com/yisraelx/ngx-showdown/blob/master/LICENSE).\n","readmeFilename":"README.md","description":"A Angular (>=2) integration for Showdown","homepage":"http://yisraelx.github.io/ngx-showdown","keywords":["ng","ng2","ngx","angular","angular2","markdown","md","showdown","convert","converter","parse","parser"],"repository":{"type":"git","url":"git+https://github.com/yisraelx/ngx-showdown.git"},"author":{"name":"Yisrael Eliav","email":"yisraelx@gmail.com","url":"https://github.com/yisraelx/"},"bugs":{"url":"https://github.com/yisraelx/ngx-showdown/issues"},"license":"MIT"}