{"_id":"babel-normalize-comments","_rev":"8-d3c5486be3ad6613b8bf1babd4ec5e58","name":"babel-normalize-comments","description":"Merge comments together into a normalized string","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"babel-normalize-comments","version":"1.0.0","description":"Merge comments together into a normalized string","main":"index.js","repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-normalize-comments.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["babel","babylon","comments","normalize","whitespace","jsdoc","jsdocs"],"files":["index.js"],"scripts":{"test":"jest --coverage"},"devDependencies":{"babylon":"^6.18.0","flow-bin":"^0.57.3","jest":"^21.2.1","jest-in-case":"^1.0.2","strip-indent":"^2.0.0"},"dependencies":{"babel-flow-types":"^1.2.2"},"gitHead":"a84b464d10320724497387d656345955ab62b1d2","bugs":{"url":"https://github.com/babel-utils/babel-normalize-comments/issues"},"homepage":"https://github.com/babel-utils/babel-normalize-comments#readme","_id":"babel-normalize-comments@1.0.0","_shasum":"1c8a6ede29f9373fc61be0ddbe8f8ea4c6f7b143","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.4","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"1c8a6ede29f9373fc61be0ddbe8f8ea4c6f7b143","tarball":"https://registry.npmjs.org/babel-normalize-comments/-/babel-normalize-comments-1.0.0.tgz","integrity":"sha512-J6tNkbuk4rRvAlxK0D7CRhXfL/Zx6JMWcOo65c9lGK0zQ0bhAoJI2C6rUL5eI62ChzKvtRu/G9EW2pGq1ZUZQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAbrWZrt41t4tpnYvhPBGQfUWjOfviN/gfk9BoyojJALAiEAkoLClAWYZynFnIBPkRitT2qbYw8BYwMZw1i9Wn//QHk="}]},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-normalize-comments-1.0.0.tgz_1509079193767_0.4324767687357962"},"directories":{}},"1.0.1":{"name":"babel-normalize-comments","version":"1.0.1","description":"Merge comments together into a normalized string","main":"index.js","repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-normalize-comments.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["babel","babylon","comments","normalize","whitespace","jsdoc","jsdocs"],"files":["index.js"],"scripts":{"test":"jest --coverage"},"devDependencies":{"babylon":"^6.18.0","flow-bin":"^0.57.3","jest":"^21.2.1","jest-in-case":"^1.0.2","strip-indent":"^2.0.0"},"dependencies":{"babel-flow-types":"^1.2.2"},"gitHead":"f8cee0ca82cd7afc36885d4e2295e9b51e04881e","bugs":{"url":"https://github.com/babel-utils/babel-normalize-comments/issues"},"homepage":"https://github.com/babel-utils/babel-normalize-comments#readme","_id":"babel-normalize-comments@1.0.1","_shasum":"437b6955e35bcfdd51a0b50d8cd9bd974a6f7222","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"437b6955e35bcfdd51a0b50d8cd9bd974a6f7222","tarball":"https://registry.npmjs.org/babel-normalize-comments/-/babel-normalize-comments-1.0.1.tgz","integrity":"sha512-in5dnWDu9e8vZ68ZZz3x9GhqXXUcKo69zMVWSLgaF/SLoUOW1lrcx0YOPhN3ANkuVIaTLDZifoCntxofepOHow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0A+Xmmg8nI1h+9YVCQfH0DhtIyDTNtTI8OYU8WhCBHAiACvVcmngjd7OD3065rFwcE7xoDlDH3AsXRrRXC2UzcNg=="}]},"maintainers":[{"name":"lbatchelor","email":"lbatchelor@atlassian.com"},{"name":"noviny","email":"benjaminconolly@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-normalize-comments-1.0.1.tgz_1510622253261_0.4124242283869535"},"directories":{}},"1.0.2":{"name":"babel-normalize-comments","version":"1.0.2","description":"Merge comments together into a normalized string","main":"index.js","repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-normalize-comments.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["babel","babylon","comments","normalize","whitespace","jsdoc","jsdocs"],"files":["index.js"],"scripts":{"test":"jest --coverage"},"devDependencies":{"babylon":"^6.18.0","flow-bin":"^0.63.1","jest":"^21.2.1","jest-in-case":"^1.0.2","strip-indent":"^2.0.0"},"dependencies":{"babel-flow-types":"^1.2.3"},"gitHead":"282a25eb97d6103094e7a8a921c5c1e9d03f7e32","bugs":{"url":"https://github.com/babel-utils/babel-normalize-comments/issues"},"homepage":"https://github.com/babel-utils/babel-normalize-comments#readme","_id":"babel-normalize-comments@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"noviny","email":"benjaminconolly@gmail.com"},"dist":{"integrity":"sha512-KNexzSvrQroUDMK/pBP9/08LG0mkdXf8OxPBAt/mbUj9ughYh8l2FtsKqOpDzTrV+0kWyE0p/bGKEF1RbrSTAA==","shasum":"86f2e360a6be8844222067a46b671f3adbc535b2","tarball":"https://registry.npmjs.org/babel-normalize-comments/-/babel-normalize-comments-1.0.2.tgz","fileCount":4,"unpackedSize":4126,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/M6k40C0xMCR82iTX/AzaZaIa5TYIJTFK5WeY8Ft0lAiAaIuLPmOVqSEkqJe6tMEj9POZhaIpgzXWBNnFL2BCl+w=="}]},"maintainers":[{"name":"lbatchelor","email":"lbatchelor@atlassian.com"},{"name":"noviny","email":"benjaminconolly@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-normalize-comments_1.0.2_1522021132619_0.3248914250841053"},"_hasShrinkwrap":false}},"readme":"# babel-normalize-comments\n\n> Merge comments together into a normalized string\n\nPreserves indentation in many different comment styles\n\n## Install\n\n```\nyarn add babel-normalize-comments\n```\n\n## Usage\n\n```\nconst babylon = require('babylon');\nconst { normalizeComments, normalizeComment } = require('babel-normalize-comments');\n\nlet ast = babylon.parse(code);\n\n// normalize an array of comment nodes\nnormalizeComments(ast.comments);\n\n// normalize a single comment node\nnormalizeComment(ast.comments[0]);\n```\n\nSee [test.js](test.js) for examples of input and output.\n","maintainers":[{"name":"lbatchelor","email":"lbatchelor@atlassian.com"},{"name":"noviny","email":"benjaminconolly@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"time":{"modified":"2022-06-13T04:00:19.499Z","created":"2017-10-27T04:39:53.848Z","1.0.0":"2017-10-27T04:39:53.848Z","1.0.1":"2017-11-14T01:17:33.447Z","1.0.2":"2018-03-25T23:38:52.755Z"},"homepage":"https://github.com/babel-utils/babel-normalize-comments#readme","keywords":["babel","babylon","comments","normalize","whitespace","jsdoc","jsdocs"],"repository":{"type":"git","url":"git+https://github.com/babel-utils/babel-normalize-comments.git"},"author":{"name":"James Kyle","email":"me@thejameskyle.com"},"bugs":{"url":"https://github.com/babel-utils/babel-normalize-comments/issues"},"license":"MIT","readmeFilename":"README.md"}