{"_id":"extract-comments","_rev":"87448","name":"extract-comments","description":"Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:28:25.000Z","created":"2014-05-21T05:01:31.116Z","1.1.0":"2018-11-24T10:55:42.715Z","1.0.0":"2018-02-12T11:20:21.517Z","0.10.1":"2015-12-30T12:05:34.703Z","0.10.0":"2015-12-30T12:00:31.005Z","0.9.0":"2015-12-26T12:00:39.258Z","0.8.7":"2015-12-25T08:50:13.026Z","0.8.6":"2015-11-05T20:29:28.934Z","0.8.5":"2015-11-04T08:50:10.305Z","0.8.4":"2015-11-04T00:14:20.651Z","0.8.3":"2015-11-02T12:57:21.483Z","0.8.2":"2015-11-02T11:01:16.836Z","0.8.1":"2015-11-02T10:56:41.540Z","0.8.0":"2015-11-02T10:17:19.348Z","0.7.3":"2015-04-02T12:25:51.266Z","0.7.2":"2015-03-12T17:14:47.121Z","0.7.1":"2015-03-12T01:14:15.985Z","0.7.0":"2015-03-11T23:54:06.638Z","0.6.0":"2015-02-13T22:09:06.478Z","0.5.1":"2015-02-13T21:48:15.185Z","0.5.0":"2015-02-13T18:09:47.435Z","0.4.2":"2014-09-24T08:47:42.694Z","0.4.1":"2014-09-24T08:45:26.801Z","0.4.0":"2014-09-24T06:51:03.006Z","0.3.0":"2014-09-20T07:03:01.672Z","0.2.0":"2014-08-25T04:53:56.962Z","0.1.1":"2014-05-21T05:59:19.806Z","0.1.0":"2014-05-21T05:01:31.116Z"},"users":{"mcluck":true,"abdihaikal":true,"knownasilya":true},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"versions":{"1.1.0":{"name":"extract-comments","description":"Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).","version":"1.1.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Caleb","url":"https://github.com/cazzer"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"},{"name":"Tomek Wiszniewski","url":"http://tomek.wiszniewski.cc"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT","main":"index.js","engines":{"node":">=6"},"scripts":{"test":"mocha"},"dependencies":{"esprima-extract-comments":"^1.1.0","parse-code-context":"^1.0.0"},"devDependencies":{"babel-extract-comments":"^1.0.0","espree-extract-comments":"^0.1.0","gulp-format-md":"^2.0.0","mocha":"^5.2.0","time-diff":"^0.3.1"},"keywords":["ast","block","code","comment","comments","context","esprima","extract","glob","javascript","line","parse","tokenize","tokens"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["babel-extract-comments","code-context","espree-extract-comments","esprima-extract-comments","parse-comments"]},"reflinks":["babel-extract-comments","espree-extract-comments","esprima","esprima-extract-comments"],"lint":{"reflinks":true}},"gitHead":"5f0e01965ca2833abbed979040756c7290682f9b","_id":"extract-comments@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"b90bca033a056bd69b8ba1c6b6b120fc2ee95c18","size":5991,"noattachment":false,"key":"/extract-comments/-/extract-comments-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-1.1.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extract-comments_1.1.0_1543056942547_0.5457000935652079"},"_hasShrinkwrap":false,"publish_time":1543056942715,"_cnpm_publish_time":1543056942715},"1.0.0":{"name":"extract-comments","description":"Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).","version":"1.0.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Caleb","url":"https://github.com/cazzer"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"},{"name":"Tomek Wiszniewski","url":"http://tomek.wiszniewski.cc"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT","files":["index.js","lib"],"main":"index.js","engines":{"node":">=4"},"scripts":{"test":"mocha"},"dependencies":{"esprima-extract-comments":"^1.0.1","parse-code-context":"^0.2.2"},"devDependencies":{"babel-extract-comments":"^1.0.0","espree-extract-comments":"^0.1.0","gulp-format-md":"^1.0.0","mocha":"^3.5.3","time-diff":"^0.3.1"},"keywords":["ast","block","code","comment","comments","context","esprima","extract","glob","javascript","line","parse","tokenize","tokens"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["babel-extract-comments","code-context","espree-extract-comments","esprima-extract-comments","parse-comments"]},"reflinks":["babel-extract-comments","espree-extract-comments","esprima","esprima-extract-comments"],"lint":{"reflinks":true}},"gitHead":"68859d13d6d13d0450555e821b337f9fe38ad922","_id":"extract-comments@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.1.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"ad4e640704d8a9a124faf8776b47735ff092a593","size":6108,"noattachment":false,"key":"/extract-comments/-/extract-comments-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-1.0.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extract-comments_1.0.0_1518434420826_0.23418973813796184"},"_hasShrinkwrap":false,"publish_time":1518434421517,"_cnpm_publish_time":1518434421517},"0.10.1":{"name":"extract-comments","description":"Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).","version":"0.10.1","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"gulp"},"dependencies":{"define-property":"^0.2.5","esprima-extract-comments":"^0.2.1","extend-shallow":"^2.0.1","parse-code-context":"^0.2.1"},"devDependencies":{"gulp":"^3.9.0","gulp-eslint":"^1.1.1","gulp-format-md":"^0.1.4","gulp-istanbul":"^0.10.3","gulp-mocha":"^2.2.0","mocha":"*","should":"*","time-diff":"^0.1.0"},"keywords":["ast","block","code","comment","comments","context","esprima","extract","glob","javascript","line","parse","tokenize","tokens"],"verb":{"related":{"list":["code-context","esprima-extract-comments","parse-comments"],"description":""},"deps":{"ignore":["fixtures"]},"plugins":["gulp-format-md"]},"gitHead":"068ec837f7fe331513399be8096dfe09c60a6ed4","_id":"extract-comments@0.10.1","_shasum":"8b6031808a2f5fde1cd67bf8317b918204304408","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8b6031808a2f5fde1cd67bf8317b918204304408","size":4898,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.10.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.10.1.tgz"},"directories":{},"publish_time":1451477134703,"_cnpm_publish_time":1451477134703,"_hasShrinkwrap":false},"0.10.0":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.10.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"gulp"},"dependencies":{"define-property":"^0.2.5","esprima-extract-comments":"^0.2.1","extend-shallow":"^2.0.1","parse-code-context":"^0.2.1"},"devDependencies":{"gulp":"^3.9.0","gulp-eslint":"^1.1.1","gulp-format-md":"^0.1.4","gulp-istanbul":"^0.10.3","gulp-mocha":"^2.2.0","mocha":"*","should":"*","time-diff":"^0.1.0"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"list":["code-context","esprima-extract-comments","parse-comments"],"description":""},"deps":{"ignore":["fixtures"]},"plugins":["gulp-format-md"]},"gitHead":"8bf420b456da6824352c40cdbb81a27b34c63b04","_id":"extract-comments@0.10.0","_shasum":"d4d6ee203086fc7768977b8429cd00f6312f3117","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d4d6ee203086fc7768977b8429cd00f6312f3117","size":4745,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.10.0.tgz"},"directories":{},"publish_time":1451476831005,"_cnpm_publish_time":1451476831005,"_hasShrinkwrap":false},"0.9.0":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.9.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"license":"MIT","files":["index.js","lib/","utils.js"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"gulp"},"dependencies":{"cr":"^0.1.0","export-files":"^2.1.0","extend-shallow":"^2.0.1","lazy-cache":"^1.0.3","noncharacters":"^1.1.0","parse-code-context":"^0.2.1","quoted-string-regex":"^0.1.1","strip-bom-string":"^0.1.2"},"devDependencies":{"gulp":"^3.9.0","gulp-eslint":"^1.1.1","gulp-istanbul":"^0.10.3","gulp-mocha":"^2.2.0","mocha":"*","should":"*"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"list":["code-context","esprima-extract-comments","parse-comments"],"description":""},"deps":{"ignore":["fixtures"]},"plugins":["gulp-format-md"]},"gitHead":"4192bd85b5fe2af3bbad6631aea90aa895d2abaa","_id":"extract-comments@0.9.0","_shasum":"cb8f389153eb39d57f0a41f1c9ade25115a7f361","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cb8f389153eb39d57f0a41f1c9ade25115a7f361","size":5184,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.9.0.tgz"},"directories":{},"publish_time":1451131239258,"_cnpm_publish_time":1451131239258,"_hasShrinkwrap":false},"0.8.7":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.8.7","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"license":"MIT","files":["index.js","lib/","utils.js"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"gulp"},"dependencies":{"cr":"^0.1.0","export-files":"^2.1.0","extend-shallow":"^2.0.1","lazy-cache":"^1.0.3","noncharacters":"^1.1.0","parse-code-context":"^0.2.1","quoted-string-regex":"^0.1.1","strip-bom-string":"^0.1.2"},"devDependencies":{"gulp":"^3.9.0","gulp-eslint":"^1.1.1","gulp-istanbul":"^0.10.3","gulp-mocha":"^2.2.0","mocha":"*","should":"*"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"list":["code-context","esprima-extract-comments","parse-comments"],"description":""},"deps":{"ignore":["fixtures"]},"plugins":["gulp-format-md"]},"gitHead":"fe3c7a3d72f1b10d05ae5fa06c5adf17ac7e9503","_id":"extract-comments@0.8.7","_shasum":"c8499427e6a89902aaa49bff24d8e324b1f37bfc","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c8499427e6a89902aaa49bff24d8e324b1f37bfc","size":5137,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.8.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.8.7.tgz"},"directories":{},"publish_time":1451033413026,"_cnpm_publish_time":1451033413026,"_hasShrinkwrap":false},"0.8.6":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.8.6","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"gulp"},"dependencies":{"cr":"^0.1.0","export-files":"^2.1.0","extend-shallow":"^2.0.1","noncharacters":"^1.1.0","parse-code-context":"^0.1.3","quoted-string-regex":"^0.1.1","strip-bom-string":"^0.1.2"},"devDependencies":{"gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"*","should":"*"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"list":["parse-comments","code-context","esprima-extract-comments"],"description":""},"deps":{"ignore":["fixtures"]}},"gitHead":"bcfebfd4ac2929091cfa3cbc809858d59874353e","_id":"extract-comments@0.8.6","_shasum":"4aa3b3743e43ea066c18fcfe64eb747bfff7abb6","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4aa3b3743e43ea066c18fcfe64eb747bfff7abb6","size":4751,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.8.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.8.6.tgz"},"directories":{},"publish_time":1446755368934,"_cnpm_publish_time":1446755368934,"_hasShrinkwrap":false},"0.8.5":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.8.5","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha"},"dependencies":{"cr":"^0.1.0","export-files":"^2.1.0","extend-shallow":"^2.0.1","noncharacters":"^1.1.0","parse-code-context":"^0.1.3","quoted-string-regex":"^0.1.1","strip-bom-string":"^0.1.2"},"devDependencies":{"gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-istanbul":"^0.10.2","gulp-mocha":"^2.1.3","mocha":"*","should":"*"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"list":["parse-comments","code-context","esprima-extract-comments"],"description":""},"deps":{"ignore":["fixtures"]}},"gitHead":"3b995846a1defdc33885a7d884ecaeb048fa78c8","_id":"extract-comments@0.8.5","_shasum":"73d87273dbb5cfd9f4c0e7106d9271f1f568f9ef","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"73d87273dbb5cfd9f4c0e7106d9271f1f568f9ef","size":4747,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.8.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.8.5.tgz"},"directories":{},"publish_time":1446627010305,"_cnpm_publish_time":1446627010305,"_hasShrinkwrap":false},"0.8.4":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.8.4","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha"},"dependencies":{"cr":"^0.1.0","export-files":"^2.1.0","extend-shallow":"^2.0.1","quoted-string-regex":"^0.1.1","repeat-string":"^1.5.2","strip-bom-string":"^0.1.2","to-regex-range":"^0.1.1"},"devDependencies":{"code-context":"^0.5.0","mocha":"*","parse-code-context":"^0.1.3","should":"*"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"description":"","list":["parse-comments","code-context","esprima-extract-comments"]},"deps":{"ignore":["fixtures"]}},"gitHead":"ebe7eda9eff46f825cce5ca17fc99010be504777","_id":"extract-comments@0.8.4","_shasum":"1b142133efaae218a1906ab6c5670598a1158e23","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1b142133efaae218a1906ab6c5670598a1158e23","size":4777,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.8.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.8.4.tgz"},"directories":{},"publish_time":1446596060651,"_cnpm_publish_time":1446596060651,"_hasShrinkwrap":false},"0.8.3":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.8.3","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha"},"dependencies":{"cr":"^0.1.0","export-files":"^2.1.0","extend-shallow":"^2.0.1","quoted-string-regex":"^0.1.1","repeat-string":"^1.5.2","strip-bom-string":"^0.1.2","to-regex-range":"^0.1.1"},"devDependencies":{"code-context":"^0.5.0","mocha":"*","parse-code-context":"^0.1.3","should":"*"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"description":"","list":["parse-comments","code-context","esprima-extract-comments"]},"deps":{"ignore":["fixtures"]}},"gitHead":"e7085c8d73e214ee696cee82f8cf320f2b5f9c4b","_id":"extract-comments@0.8.3","_shasum":"721a34faf9669b1d638114307d8e4228ebc750a9","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"721a34faf9669b1d638114307d8e4228ebc750a9","size":4701,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.8.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.8.3.tgz"},"directories":{},"publish_time":1446469041483,"_cnpm_publish_time":1446469041483,"_hasShrinkwrap":false},"0.8.2":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.8.2","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha"},"dependencies":{"cr":"^0.1.0","export-files":"^2.1.0","extend-shallow":"^2.0.1","strip-bom-string":"^0.1.2"},"devDependencies":{"code-context":"^0.5.0","mocha":"*","parse-code-context":"^0.1.3","should":"*"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"description":"","list":["parse-comments","code-context","esprima-extract-comments"]},"deps":{"ignore":["fixtures"]}},"gitHead":"0b3434785b33db24bfc0b5e2a8cae244fe7a5ecd","_id":"extract-comments@0.8.2","_shasum":"0981022c7f72f382af21d26c72d0114bd82eb575","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"0981022c7f72f382af21d26c72d0114bd82eb575","size":4334,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.8.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.8.2.tgz"},"directories":{},"publish_time":1446462076836,"_cnpm_publish_time":1446462076836,"_hasShrinkwrap":false},"0.8.1":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.8.1","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha"},"dependencies":{"cr":"^0.1.0","export-files":"^2.1.0","extend-shallow":"^2.0.1","strip-bom-string":"^0.1.2"},"devDependencies":{"code-context":"^0.5.0","mocha":"*","parse-code-context":"^0.1.3","should":"*"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"description":"","list":["parse-comments","code-context","esprima-extract-comments"]},"deps":{"ignore":["fixtures"]}},"gitHead":"0aa7b62f404e0b4723d890cc0d71963720bb4c3a","_id":"extract-comments@0.8.1","_shasum":"86a6da1b999af6ffa89bd7e4e60e8a1de304170d","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"86a6da1b999af6ffa89bd7e4e60e8a1de304170d","size":3323,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.8.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.8.1.tgz"},"directories":{},"publish_time":1446461801540,"_cnpm_publish_time":1446461801540,"_hasShrinkwrap":false},"0.8.0":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.8.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT","files":["backup.js","index.js"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha"},"dependencies":{"cr":"^0.1.0","export-files":"^2.1.0","extend-shallow":"^2.0.1","strip-bom-string":"^0.1.2"},"devDependencies":{"code-context":"^0.5.0","mocha":"*","parse-code-context":"^0.1.3","should":"*"},"keywords":["block","code","comment","comments","context","esprima","extract","glob","javascript","parse"],"verb":{"related":{"description":"","list":["parse-comments","code-context","esprima-extract-comments"]},"deps":{"ignore":["fixtures"]}},"gitHead":"862c42bdfb77c3b3310b64930c72138b85b26622","_id":"extract-comments@0.8.0","_shasum":"4701a5049e7af5264aaf5d1a8b3b1e85f739948b","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4701a5049e7af5264aaf5d1a8b3b1e85f739948b","size":3926,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.8.0.tgz"},"directories":{},"publish_time":1446459439348,"_cnpm_publish_time":1446459439348,"_hasShrinkwrap":false},"0.7.3":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.7.3","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha"},"dependencies":{"is-whitespace":"^0.3.0"},"devDependencies":{"code-context":"^0.5.0","mocha":"~1.18.2","should":"^4.0.4"},"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"verb":{"deps":{"ignore":["fixtures"]}},"gitHead":"99cc200a80b72f0e216c5c0ee2e97e7decbf7067","_id":"extract-comments@0.7.3","_shasum":"1c5dec1730072c5b0cdfa5557e5f57f69277fc34","_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":"1c5dec1730072c5b0cdfa5557e5f57f69277fc34","size":3442,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.7.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.7.3.tgz"},"directories":{},"publish_time":1427977551266,"_cnpm_publish_time":1427977551266,"_hasShrinkwrap":false},"0.7.2":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.7.2","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha"},"dependencies":{"is-whitespace":"^0.2.0"},"devDependencies":{"code-context":"^0.5.0","mocha":"~1.18.2","should":"^4.0.4"},"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"verb":{"deps":{"ignore":["fixtures"]}},"gitHead":"1f811b0bfe236e6ab66aa99d35e50b154b11e7c5","_id":"extract-comments@0.7.2","_shasum":"a481e830e576cf11bb35f5e85b21595f888af6fa","_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":"a481e830e576cf11bb35f5e85b21595f888af6fa","size":3459,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.7.2.tgz"},"publish_time":1426180487121,"_cnpm_publish_time":1426180487121,"_hasShrinkwrap":false},"0.7.1":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.7.1","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE"}],"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha","lint":"deps -e test,fixtures && verb"},"devDependencies":{"code-context":"^0.5.0","mocha":"~1.18.2","should":"^4.0.4"},"dependencies":{"is-whitespace":"^0.2.0","map-files":"^0.3.0"},"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"gitHead":"1f811b0bfe236e6ab66aa99d35e50b154b11e7c5","_id":"extract-comments@0.7.1","_shasum":"0f06b95864734fc5c1a244bfe76efd4785e0f186","_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":"0f06b95864734fc5c1a244bfe76efd4785e0f186","size":3466,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.7.1.tgz"},"publish_time":1426122855985,"_cnpm_publish_time":1426122855985,"_hasShrinkwrap":false},"0.7.0":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.7.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE"}],"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha","lint":"deps -e test,fixtures && verb"},"devDependencies":{"code-context":"^0.5.0","mocha":"~1.18.2","should":"^4.0.4"},"dependencies":{"is-whitespace":"^0.2.0","map-files":"^0.3.0"},"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"gitHead":"c57181e8ad0a29c86546c660f78b1bc8fa889dfe","_id":"extract-comments@0.7.0","_shasum":"a2628a663703cd80de4df6da4d9fb8a44e46d2b6","_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":"a2628a663703cd80de4df6da4d9fb8a44e46d2b6","size":3191,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.7.0.tgz"},"directories":{},"publish_time":1426118046638,"_cnpm_publish_time":1426118046638,"_hasShrinkwrap":false},"0.6.0":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.6.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE"}],"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha","lint":"deps -e test,fixtures && verb"},"devDependencies":{"mocha":"~1.18.2","should":"^4.0.4"},"dependencies":{"is-whitespace":"^0.2.0","map-files":"^0.3.0"},"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"gitHead":"c57181e8ad0a29c86546c660f78b1bc8fa889dfe","_id":"extract-comments@0.6.0","_shasum":"cd71d9e70a063524f63d2fb3917aa8efa0b77f2b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cd71d9e70a063524f63d2fb3917aa8efa0b77f2b","size":2365,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.6.0.tgz"},"directories":{},"publish_time":1423865346478,"_cnpm_publish_time":1423865346478,"_hasShrinkwrap":false},"0.5.1":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.5.1","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE"}],"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha","lint":"deps -e test,fixtures && verb"},"devDependencies":{"mocha":"~1.18.2","should":"^4.0.4"},"dependencies":{"map-files":"^0.3.0"},"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"gitHead":"c57181e8ad0a29c86546c660f78b1bc8fa889dfe","_id":"extract-comments@0.5.1","_shasum":"12f5359fef9e96bb6a2885df92a4b08aa313c469","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"12f5359fef9e96bb6a2885df92a4b08aa313c469","size":2319,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.5.1.tgz"},"directories":{},"publish_time":1423864095185,"_cnpm_publish_time":1423864095185,"_hasShrinkwrap":false},"0.5.0":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.5.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE"}],"files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"mocha","lint":"deps -e test,fixtures && verb"},"devDependencies":{"mocha":"~1.18.2","should":"^4.0.4"},"dependencies":{"map-files":"^0.3.0"},"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"gitHead":"c57181e8ad0a29c86546c660f78b1bc8fa889dfe","_id":"extract-comments@0.5.0","_shasum":"e7718b56596bbee18deae9947ff06deca1902f77","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e7718b56596bbee18deae9947ff06deca1902f77","size":2311,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.5.0.tgz"},"directories":{},"publish_time":1423850987435,"_cnpm_publish_time":1423850987435,"_hasShrinkwrap":false},"0.4.2":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.4.2","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE-MIT"}],"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"~1.18.2","should":"^4.0.4","verb":"^0.2.15","verb-tag-jscomments":"^0.2.2"},"dependencies":{"mixin-deep":"^0.1.0","line-count":"^0.1.0","lodash":"^2.4.1","map-files":"^0.1.1"},"_id":"extract-comments@0.4.2","_shasum":"778ded80406617aa289f30f97fc56845fc7f5078","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"778ded80406617aa289f30f97fc56845fc7f5078","size":11072,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.4.2.tgz"},"directories":{},"publish_time":1411548462694,"_cnpm_publish_time":1411548462694,"_hasShrinkwrap":false},"0.4.1":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.4.1","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE-MIT"}],"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"~1.18.2","should":"^4.0.4","verb":"^0.2.15","verb-tag-jscomments":"^0.2.2"},"dependencies":{"mixin-deep":"^0.1.0","line-count":"^0.1.0","lodash":"^2.4.1","map-files":"^0.1.1"},"_id":"extract-comments@0.4.1","_shasum":"e629b3aba7058a486029aa9e3293794871277e24","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e629b3aba7058a486029aa9e3293794871277e24","size":23719,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.4.1.tgz"},"directories":{},"publish_time":1411548326801,"_cnpm_publish_time":1411548326801,"_hasShrinkwrap":false},"0.4.0":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.4.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE-MIT"}],"keywords":["code","parse","javascript","block","context","comments","comment","extract","esprima","glob"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"~1.18.2","should":"^4.0.4","verb":"^0.2.15","verb-tag-jscomments":"^0.2.2"},"dependencies":{"mixin-deep":"^0.1.0","line-count":"^0.1.0","lodash":"^2.4.1","map-files":"^0.1.1"},"_id":"extract-comments@0.4.0","_shasum":"1effdde70e396222c7051db7db126af22b89aadf","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1effdde70e396222c7051db7db126af22b89aadf","size":11661,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.4.0.tgz"},"directories":{},"publish_time":1411541463006,"_cnpm_publish_time":1411541463006,"_hasShrinkwrap":false},"0.3.0":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE-MIT"}],"keywords":["code","parse","comments","comment","extract","esprima","glob"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"~1.18.2","should":"^4.0.4","verb":"^0.2.15","verb-tag-jscomments":"^0.2.2"},"dependencies":{"esprima":"git+https://git@github.com/ariya/esprima","lodash":"^2.4.1","map-files":"^0.1.1"},"_id":"extract-comments@0.3.0","_shasum":"f6edca3bc3b4d29a5b6afa63721f6855f43e0fa8","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f6edca3bc3b4d29a5b6afa63721f6855f43e0fa8","size":10930,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.3.0.tgz"},"directories":{},"publish_time":1411196581672,"_cnpm_publish_time":1411196581672,"_hasShrinkwrap":false},"0.2.0":{"name":"extract-comments","description":"Extract code comments from string or from a glob of files.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE-MIT"}],"keywords":["code","parse","comments","comment","extract","esprima","glob"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"~1.18.2","should":"^4.0.4","verb":"~0.2.0"},"dependencies":{"esprima":"git+https://git@github.com/ariya/esprima","globby":"^0.1.1","lodash":"^2.4.1"},"_id":"extract-comments@0.2.0","_shasum":"e82e96592e5dffc6bd85b7232e4bf0636587c1dc","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"e82e96592e5dffc6bd85b7232e4bf0636587c1dc","size":10352,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.2.0.tgz"},"directories":{},"publish_time":1408942436962,"_cnpm_publish_time":1408942436962,"_hasShrinkwrap":false},"0.1.1":{"name":"extract-comments","description":"Thin wrapper around esprima for extracting code comments from a glob of files.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE-MIT"}],"keywords":["code","comments","extract","esprima","glob"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"chai":"~1.9.1","fs-utils":"^0.4.3","mocha":"~1.18.2","verb":"~0.2.0"},"dependencies":{"esprima":"^1.2.2","globule":"^0.2.0"},"_id":"extract-comments@0.1.1","_shasum":"60a0f7295124f1fbb71d8bdee118d640d5662f41","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"60a0f7295124f1fbb71d8bdee118d640d5662f41","size":3127,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.1.1.tgz"},"directories":{},"publish_time":1400651959806,"_cnpm_publish_time":1400651959806,"_hasShrinkwrap":false},"0.1.0":{"name":"extract-comments","description":"Extract code comments from a string.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/extract-comments","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/extract-comments.git"},"bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/extract-comments/blob/master/LICENSE-MIT"}],"keywords":["docs","documentation","generate","generator","markdown","templates","verb"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"chai":"~1.9.1","fs-utils":"^0.4.3","lodash":"^2.4.1","mocha":"~1.18.2","verb":"~0.2.0"},"dependencies":{"esprima":"^1.2.2"},"_id":"extract-comments@0.1.0","_shasum":"60247cd24b2d4cc1b16e25fd09959d7223a75166","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"60247cd24b2d4cc1b16e25fd09959d7223a75166","size":2746,"noattachment":false,"key":"/extract-comments/-/extract-comments-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/extract-comments/download/extract-comments-0.1.0.tgz"},"directories":{},"publish_time":1400648491116,"_cnpm_publish_time":1400648491116,"_hasShrinkwrap":false}},"readme":"# extract-comments [![NPM version](https://img.shields.io/npm/v/extract-comments.svg?style=flat)](https://www.npmjs.com/package/extract-comments) [![NPM monthly downloads](https://img.shields.io/npm/dm/extract-comments.svg?style=flat)](https://npmjs.org/package/extract-comments) [![NPM total downloads](https://img.shields.io/npm/dt/extract-comments.svg?style=flat)](https://npmjs.org/package/extract-comments) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/extract-comments.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/extract-comments)\n\n> Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save extract-comments\n```\n\n## Usage\n\n```js\nvar extract = require('extract-comments');\n\n// pass a string of JavaScript\nextract(string);\n```\n\n**Example**\n\n```js\nvar str = '/**\\n * this is\\n *\\n * a comment\\n*/\\n\\n\\nvar foo = \"bar\";\\n';\nvar comments = extract(str);\nconsole.log(comments);\n\n[{\n  type: 'block',\n  raw: '/**\\n * this is\\n *\\n * a comment\\n*/',\n  value: 'this is\\na comment',\n  loc: { start: { line: 1, column: 0 }, end: { line: 5, column: 33 } },\n  code:\n   { line: 7,\n     loc: { start: { line: 7, column: 36 }, end: { line: 7, column: 52 } },\n     value: 'var foo = \"bar\";' }\n```\n\n## Extractors\n\nBy default, [esprima](http://esprima.org) is used for extracting comments. This can easily be changed by passing a function to `options.extractor`.\n\n**The easy way**\n\nUse a published module, such as:\n\n* [babel-extract-comments](https://github.com/jonschlinkert/babel-extract-comments)\n* [esprima-extract-comments](https://github.com/jonschlinkert/esprima-extract-comments)\n* [espree-extract-comments](https://github.com/jonschlinkert/espree-extract-comments)\n\nExample:\n\n```js\nextract(str, {extractor: require('babel-extract-comments')});\n```\n\nIf you create a compatible extractor, feel free to do pr [or create an issue](https://github.com/jonschlinkert/extract-comments/issues/new) to add it to the readme!\n\n**Roll your own**\n\n```js\nextract(str, {\n  extractor: function(str) {\n    // must return an array of tokens with:\n    // - type: 'Block', 'CommentBlock', 'Line' or 'CommentLine'\n    // - value: the comment inner string\n    // - loc: with `start` and `end` line and column\n    // example:\n    return [\n      { \n        type: 'Block',\n        {start: { line: 1, column: 0 },\n          end: { line: 5, column: 33 }},\n        value: ' this is a comment string '\n      }\n    ];\n  }\n});\n```\n\n## API\n\n### [extract](index.js#L26)\n\nExtract comments from the given `string`.\n\n**Params**\n\n* `string` **{String}**\n* `options` **{Object}**: Pass `first: true` to return after the first comment is found.\n* `tranformFn` **{Function}**: (optional) Tranform function to modify each comment\n* `returns` **{Array}**: Returns an array of comment objects\n\n**Example**\n\n```js\nconst extract = require('extract-comments');\nconsole.log(extract(string, options));\n```\n\n### [.block](index.js#L44)\n\nExtract block comments from the given `string`.\n\n**Params**\n\n* `string` **{String}**\n* `options` **{Object}**: Pass `first: true` to return after the first comment is found.\n* `returns` **{String}**\n\n**Example**\n\n```js\nconsole.log(extract.block(string, options));\n```\n\n### [.line](index.js#L61)\n\nExtract line comments from the given `string`.\n\n**Params**\n\n* `string` **{String}**\n* `options` **{Object}**: Pass `first: true` to return after the first comment is found.\n* `returns` **{String}**\n\n**Example**\n\n```js\nconsole.log(extract.line(string, options));\n```\n\n### [.first](index.js#L78)\n\nExtract the first comment from the given `string`.\n\n**Params**\n\n* `string` **{String}**\n* `options` **{Object}**: Pass `first: true` to return after the first comment is found.\n* `returns` **{String}**\n\n**Example**\n\n```js\nconsole.log(extract.first(string, options));\n```\n\n## Release history\n\n**v0.10.0**\n\n* Parsing is now handled by esprima, so only JavaScript can be parsed. I'm working on parsers for other languages and will cross-link those here when they're pushed up.\n* Breaking change: since parsing is now done by esprima, on both the line and block comment objects, the `loc.start.pos` and `loc.end.pos` properties have been renamed to `loc.start.column` and `loc.end.column`.\n\n**v0.9.0**\n\n* Breaking change: `lines` property was removed from `Block` comments, since this can easily be done by splitting `value`\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\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</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\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</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [babel-extract-comments](https://www.npmjs.com/package/babel-extract-comments): Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file. | [homepage](https://github.com/jonschlinkert/babel-extract-comments \"Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.\")\n* [code-context](https://www.npmjs.com/package/code-context): Parse a string of javascript to determine the context for functions, variables and comments based… [more](https://github.com/jonschlinkert/code-context) | [homepage](https://github.com/jonschlinkert/code-context \"Parse a string of javascript to determine the context for functions, variables and comments based on the code that follows.\")\n* [espree-extract-comments](https://www.npmjs.com/package/espree-extract-comments): Uses espree to extract JavaScript code comments from a string. Returns an array of comment… [more](https://github.com/jonschlinkert/espree-extract-comments) | [homepage](https://github.com/jonschlinkert/espree-extract-comments \"Uses espree to extract JavaScript code comments from a string. Returns an array of comment objects, with line, column, index, comment type and comment string.\")\n* [esprima-extract-comments](https://www.npmjs.com/package/esprima-extract-comments): Extract code comments from string or from a glob of files using esprima. | [homepage](https://github.com/jonschlinkert/esprima-extract-comments \"Extract code comments from string or from a glob of files using esprima.\")\n* [parse-comments](https://www.npmjs.com/package/parse-comments): Parse code comments from JavaScript or any language that uses the same format. | [homepage](https://github.com/jonschlinkert/parse-comments \"Parse code comments from JavaScript or any language that uses the same format.\")\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 93 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 3 | [cazzer](https://github.com/cazzer) |\n| 1 | [architectcodes](https://github.com/architectcodes) |\n\n### Author\n\n**Jon Schlinkert**\n\n* [linkedin/in/jonschlinkert](https://linkedin.com/in/jonschlinkert)\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [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.6.0, on February 12, 2018._","_attachments":{},"homepage":"https://github.com/jonschlinkert/extract-comments","bugs":{"url":"https://github.com/jonschlinkert/extract-comments/issues"},"license":"MIT"}