{"maintainers":[{"name":"3rdeden","email":"npm@3rd-Eden.com"}],"keywords":["comment","comments","commenting"],"dist-tags":{"latest":"1.1.0"},"author":{"name":"Arnout Kazemier"},"description":"Wrap content in a comment that is valid for a given file type.","readme":"# commenting\n\nCommenting is a small module that allows you to wrap text in to a comment format\nwhich is suitable for the supplied extension. This can be useful if you do not\nwant to trigger content errors for 404 routes on static assets so you can put\nyour reason inside a comment instead of returning HTML. But it can also be used\na development tool to inject build information in to your files for example.\n\n## Installation\n\nModule is released in the public npm registry and can be installed by running:\n\n```\nnpm install --save commenting\n```\n\n## Usage\n\nThe module exposes a single function as API. This function accepts the text as\nstring or array as first argument and an options object as last argument. The\nfollowing options are supported:\n\n- extension: The file extension, which is used to figure out which comment style\n  should be used.\n- style: Override default extension mapping and provide a comment style your\n  self (should be an object with start, body and end properties which contains\n  the comment styles).\n\n```js\n'use strict';\n\nvar commenting = require('commenting')\n  , comment;\n\ncomment = commenting('hello world', { extension: '.js' });\n\n/**\n * hello world\n */\n\ncomment = commenting(['hello', 'world'], { extension: '.jade' });\n\n//\n// hello\n// world\n//\n```\n\nThe following extensions are supported:\n\n- html, html: Uses HTML comments.\n- js, css, less, sass: Uses `/**/` style comments\n- coffee: Uses `###` style comments.\n- jade: Uses `//` style comments.\n\nEmpty files or extension option with `''` as value is automatically mapped to a\nhash `#` based comment style. This is because things like `.npmignore` or\n`.gitignore` don't have have extensions that we can track.\n\n## License\n\nMIT\n","repository":{"type":"git","url":"git+https://github.com/3rd-Eden/commenting.git"},"users":{},"bugs":{"url":"https://github.com/3rd-Eden/commenting/issues"},"license":"MIT","versions":{"1.0.0":{"name":"commenting","version":"1.0.0","description":"Wrap content in a comment that is valid for a given file type.","main":"index.js","scripts":{"100%":"istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100","test":"mocha test.js","watch":"mocha --watch test.js","coverage":"istanbul cover ./node_modules/.bin/_mocha -- test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js"},"repository":{"type":"git","url":"git+https://github.com/3rd-Eden/commenting.git"},"keywords":["comment","comments","commenting"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/commenting/issues"},"homepage":"https://github.com/3rd-Eden/commenting#readme","dependencies":{"assume":"1.2.x","istanbul":"0.3.x","mocha":"2.2.x","pre-commit":"1.0.x"},"pre-commit":["coverage","100%"],"gitHead":"06fd0225217d0184f53a3ceef8d44ed34404b994","_id":"commenting@1.0.0","_shasum":"9b09bde496a45b7485c99e0432c8d8a3e77a5d9a","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"3rdeden","email":"npm@3rd-Eden.com"},"maintainers":[{"name":"3rdeden","email":"npm@3rd-Eden.com"}],"dist":{"shasum":"9b09bde496a45b7485c99e0432c8d8a3e77a5d9a","size":2495,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/commenting/-/commenting-1.0.0.tgz"},"directories":{},"publish_time":1438974929393,"_cnpm_publish_time":1438974929393,"_hasShrinkwrap":false},"1.0.1":{"name":"commenting","version":"1.0.1","description":"Wrap content in a comment that is valid for a given file type.","main":"index.js","scripts":{"100%":"istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100","test":"mocha test.js","watch":"mocha --watch test.js","coverage":"istanbul cover ./node_modules/.bin/_mocha -- test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js"},"repository":{"type":"git","url":"git+https://github.com/3rd-Eden/commenting.git"},"keywords":["comment","comments","commenting"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/commenting/issues"},"homepage":"https://github.com/3rd-Eden/commenting#readme","dependencies":{"assume":"1.2.x","istanbul":"0.3.x","mocha":"2.2.x","pre-commit":"1.0.x"},"pre-commit":["coverage","100%"],"gitHead":"540379a30ea349d9c9e7e09fab7e990758d1667c","_id":"commenting@1.0.1","_shasum":"79bd6525cf2b1a63483346f983e9687db78eb81c","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"3rdeden","email":"npm@3rd-Eden.com"},"maintainers":[{"name":"3rdeden","email":"npm@3rd-Eden.com"}],"dist":{"shasum":"79bd6525cf2b1a63483346f983e9687db78eb81c","size":2529,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/commenting/-/commenting-1.0.1.tgz"},"directories":{},"publish_time":1439557704997,"_cnpm_publish_time":1439557704997,"_hasShrinkwrap":false},"1.0.2":{"name":"commenting","version":"1.0.2","description":"Wrap content in a comment that is valid for a given file type.","main":"index.js","scripts":{"100%":"istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100","test":"mocha test.js","watch":"mocha --watch test.js","coverage":"istanbul cover ./node_modules/.bin/_mocha -- test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js"},"repository":{"type":"git","url":"git+https://github.com/3rd-Eden/commenting.git"},"keywords":["comment","comments","commenting"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/commenting/issues"},"homepage":"https://github.com/3rd-Eden/commenting#readme","devDependencies":{"assume":"1.2.x","istanbul":"0.3.x","mocha":"2.2.x","pre-commit":"1.0.x"},"pre-commit":["coverage","100%"],"gitHead":"214c91107604f0c548d793570c66a3b342c8aa12","_id":"commenting@1.0.2","_shasum":"c44136c3bf81a524cd13d543d8e22699cd67f251","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"3rdeden","email":"npm@3rd-Eden.com"},"maintainers":[{"name":"3rdeden","email":"npm@3rd-Eden.com"}],"dist":{"shasum":"c44136c3bf81a524cd13d543d8e22699cd67f251","size":2642,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/commenting/-/commenting-1.0.2.tgz"},"directories":{},"publish_time":1440141444507,"_cnpm_publish_time":1440141444507,"_hasShrinkwrap":false},"1.0.3":{"name":"commenting","version":"1.0.3","description":"Wrap content in a comment that is valid for a given file type.","main":"index.js","scripts":{"100%":"istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100","test":"mocha test.js","watch":"mocha --watch test.js","coverage":"istanbul cover ./node_modules/.bin/_mocha -- test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js"},"repository":{"type":"git","url":"git+https://github.com/3rd-Eden/commenting.git"},"keywords":["comment","comments","commenting"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/commenting/issues"},"homepage":"https://github.com/3rd-Eden/commenting#readme","devDependencies":{"assume":"1.4.x","istanbul":"0.3.x","mocha":"2.2.x","pre-commit":"1.0.x"},"pre-commit":["coverage","100%"],"gitHead":"50425ef642a09a18624ae395b548bc04d792a752","_id":"commenting@1.0.3","_shasum":"98982060585686007be34ccbb43fcb915ef9fdaf","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"3rdeden","email":"npm@3rd-Eden.com"},"maintainers":[{"name":"3rdeden","email":"npm@3rd-Eden.com"}],"dist":{"shasum":"98982060585686007be34ccbb43fcb915ef9fdaf","size":2672,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/commenting/-/commenting-1.0.3.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/commenting-1.0.3.tgz_1487591232227_0.940615392755717"},"directories":{},"publish_time":1487591232834,"_cnpm_publish_time":1487591232834,"_hasShrinkwrap":false},"1.0.4":{"name":"commenting","version":"1.0.4","description":"Wrap content in a comment that is valid for a given file type.","main":"index.js","scripts":{"100%":"istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100","test":"mocha test.js","watch":"mocha --watch test.js","coverage":"istanbul cover ./node_modules/.bin/_mocha -- test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js"},"repository":{"type":"git","url":"git+https://github.com/3rd-Eden/commenting.git"},"keywords":["comment","comments","commenting"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/commenting/issues"},"homepage":"https://github.com/3rd-Eden/commenting#readme","devDependencies":{"assume":"1.4.x","istanbul":"0.3.x","mocha":"2.2.x","pre-commit":"1.0.x"},"pre-commit":["coverage","100%"],"gitHead":"d24a137d374209efffe71530535ec02c71a177de","_id":"commenting@1.0.4","_shasum":"d140af32634fcbdee4d71396934c1fcdac147e50","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.5.0","_npmUser":{"name":"3rdeden","email":"npm@3rd-Eden.com"},"dist":{"shasum":"d140af32634fcbdee4d71396934c1fcdac147e50","size":2684,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/commenting/-/commenting-1.0.4.tgz"},"maintainers":[{"name":"3rdeden","email":"npm@3rd-Eden.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commenting-1.0.4.tgz_1499079345672_0.7099635701160878"},"directories":{},"publish_time":1499079346631,"_hasShrinkwrap":false,"_cnpm_publish_time":1499079346631},"1.0.5":{"name":"commenting","version":"1.0.5","description":"Wrap content in a comment that is valid for a given file type.","main":"index.js","scripts":{"100%":"istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100","test":"mocha test.js","watch":"mocha --watch test.js","coverage":"istanbul cover ./node_modules/.bin/_mocha -- test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js"},"repository":{"type":"git","url":"git+https://github.com/3rd-Eden/commenting.git"},"keywords":["comment","comments","commenting"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/commenting/issues"},"homepage":"https://github.com/3rd-Eden/commenting#readme","devDependencies":{"assume":"1.4.x","istanbul":"0.3.x","mocha":"2.2.x","pre-commit":"1.0.x"},"pre-commit":["coverage","100%"],"gitHead":"b76a919c2f994a681545a2954e3fcfb41592e869","_id":"commenting@1.0.5","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"3rdeden","email":"npm@3rd-Eden.com"},"dist":{"shasum":"3104d542cac8a4f27b3d51438f4b80431fe4526b","size":2640,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/commenting/-/commenting-1.0.5.tgz"},"maintainers":[{"name":"3rdeden","email":"npm@3rd-Eden.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commenting_1.0.5_1520123161214_0.9939486205552017"},"_hasShrinkwrap":false,"publish_time":1520123161364,"_cnpm_publish_time":1520123161364},"1.1.0":{"name":"commenting","version":"1.1.0","description":"Wrap content in a comment that is valid for a given file type.","main":"index.js","scripts":{"100%":"istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100","test":"mocha test.js","watch":"mocha --watch test.js","coverage":"istanbul cover ./node_modules/.bin/_mocha -- test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- test.js"},"repository":{"type":"git","url":"git+https://github.com/3rd-Eden/commenting.git"},"keywords":["comment","comments","commenting"],"author":{"name":"Arnout Kazemier"},"license":"MIT","bugs":{"url":"https://github.com/3rd-Eden/commenting/issues"},"homepage":"https://github.com/3rd-Eden/commenting#readme","devDependencies":{"assume":"1.4.x","istanbul":"0.3.x","mocha":"2.2.x","pre-commit":"1.0.x"},"pre-commit":["coverage","100%"],"gitHead":"b63e05164d3a63018ad6ec2f2ee914b43c02d32f","_id":"commenting@1.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-YeNK4tavZwtH7jEgK1ZINXzLKm6DZdEMfsaaieOsCAN0S8vsY7UeuO3Q7d/M018EFgE+IeUAuBOKkFccBZsUZA==","shasum":"fae14345c6437b8554f30bc6aa6c1e1633033590","tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/commenting/-/commenting-1.1.0.tgz","fileCount":4,"unpackedSize":7744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9YQBCRA9TVsSAnZWagAAEWAP/jWlCYSy3uAF1slPISlo\ne5l0IlC8tH7Alb1BkOardgNhtEUWV76sazT3ocVvtJbymNa3a0y8Zndl8i58\nvWTrWwS0tw0UU8Kpwh9zmtO/QdtcifMTX2JJczhTy8i2yfb4lVOxgTr0DPg4\n5sCeAhk/thAGbpAI3ntM2ESj2b2SYxUJWwNTFUZoTu4P6W6U2xQCTmznP0A9\nKmoWXA5piGw+wsn5Gr5jf8Tte00VBe7ra62YwwH0jrm0zFeadVzzYDL+Lve2\nr9M6y/s3DmBFHpYpIwEhWGgvaE6HenZHw9SeYiqU73ic2HikYjH2+RZ5731D\nM0HKtUnuUES5Lp4QWC0gsFusjAYXfRj6FSAhYXIZam3MeFeP2uGMuQbfv2Op\nogDDhp/xCmOss42ltKfk5vYs47nabbJbPHrRh1Hm95DXNqP5Tdac7UPgld2f\nqdwd4YEl9MFGkJPhvWYul3MsTxumQersMFn1lDpUJGD2fJR1dqFw3B5vAPBg\nVXwZuE5EMBWQsk/ZHChgGLhIOf5iff/Y3hKEvhs2oUt7f+EJiJR/s6TiVLu6\nIQlBPl8q+qra9VCJ6KySRPf1ebTRMP9kcHLolX8r6ZfMoR8M9jEYROCryx7r\nNoaVMv7iyhjylujNXs4NyUplktjwYnDqZuqVVSxnMPz3hpg0RrpuyJdJ5yiR\nY0jD\r\n=fDBZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnoDDPVkw7oEeyUzpjq6v6+ybLwH1xVmUytaocEkNpeQIhAMHXbXhJ3Y8pZwMCfbvNZgL97mbMDPtlLB0NM0C25C/8"}]},"maintainers":[{"name":"3rdeden","email":"npm@3rd-Eden.com"}],"_npmUser":{"name":"3rdeden","email":"npm@3rd-Eden.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commenting_1.1.0_1559593984406_0.26064381978081697"},"_hasShrinkwrap":false}},"name":"commenting","time":{"modified":"2018-08-11T16:25:13.211Z","created":"2015-08-07T19:15:29.393Z","1.0.0":"2015-08-07T19:15:29.393Z","1.0.1":"2015-08-14T13:08:24.997Z","1.0.2":"2015-08-21T07:17:24.507Z","1.0.3":"2017-02-20T11:47:12.834Z","1.0.4":"2017-07-03T10:55:46.631Z","1.0.5":"2018-03-04T00:26:01.364Z","1.1.0":"2019-06-03T20:33:04.579Z"},"readmeFilename":"README.md","homepage":"https://github.com/3rd-Eden/commenting#readme"}