{"_id":"condense-whitespace","_rev":"11-bff69999125d708b3f59d5a33273cffe","name":"condense-whitespace","description":"Remove leading, trailing, and repeated whitespace from a string","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"condense-whitespace","version":"1.0.0","description":"Remove leading, trailing and repeated whitespace from a string","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/condense-whitespace"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["whitespace","space","condense","collapse","compact","repeated","string","str","trim","remove","strip"],"devDependencies":{"ava":"0.0.4"},"gitHead":"c60575f72642ac3957739dfb0e406bc347517932","bugs":{"url":"https://github.com/sindresorhus/condense-whitespace/issues"},"homepage":"https://github.com/sindresorhus/condense-whitespace","_id":"condense-whitespace@1.0.0","_shasum":"8376d98ef028e6cb2cd2468e28ce42c5c65ab1a9","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"8376d98ef028e6cb2cd2468e28ce42c5c65ab1a9","tarball":"https://registry.npmjs.org/condense-whitespace/-/condense-whitespace-1.0.0.tgz","integrity":"sha512-1eu4eAfuH4oongidVWOX8EkYUxTmav9SpEW1YUeNVWzrdgJTEoXFnF7WuLL+sI9SSQdfnKWjObAn/g9SkseUiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCowaviFHwixG+EkF41wYmgRJRfF31YUM2FGrt8UJXa4gIhAMs9FSYrlpQrobkkVudgrgS6BIQ8xN72hB0Pf2jAgQlH"}]},"directories":{}},"2.0.0":{"name":"condense-whitespace","version":"2.0.0","description":"Remove leading, trailing, and repeated whitespace from a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/condense-whitespace.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["whitespace","space","condense","collapse","compact","repeated","string","trim","remove","strip"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"4ba831700392e461f401a34efb6672a3dcb03dba","bugs":{"url":"https://github.com/sindresorhus/condense-whitespace/issues"},"homepage":"https://github.com/sindresorhus/condense-whitespace#readme","_id":"condense-whitespace@2.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-Ath9o58/0rxZXbyoy3zZgrVMoIemi30sukG/btuMKCLyqfQt3dNOWc9N3EHEMa2Q3i0tXQPDJluYFLwy7pJuQw==","shasum":"94e9644938f66aa7be4b8849f8f0b3cec97d6b3a","tarball":"https://registry.npmjs.org/condense-whitespace/-/condense-whitespace-2.0.0.tgz","fileCount":5,"unpackedSize":2918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrDDVCRA9TVsSAnZWagAA+3gP/jG90ROvWP7p4IX3RM9u\n0Oq4q6DY3CrmYYu6jgvKRjFOkPK/QcbGZlG//ld2rjV6sFvPaqcp8xDqOLnT\nCqPiXBn5Gp82TEoffQaPYuG2EoDIadMjNO76DkfCOnlitDz3BfQnCNOUw9Vx\nHf4PaZigG4nf0JrHIbzS5/6NehhgZxVrJeaf7yE4bz22SQRsHUrfDcwEg3Nb\n44EvdDHBBBH04Cf+BUX+0fMhueN/uCXJSTD1OQLzBiAyviEkpUcC83bEGrgR\nVvV8ba9svwnwk+KhzGjZ+Jvj5yV40N7Ii54D2WuVcNYR/2rKjQrTxH8j5ptH\nlFNIas7jzsf/zPGIMu1Po2/NtwBjth1aSPkGelOwIlvZZVGkEyCOoke6hb7C\nyTwM6j8bHSnWxly8VX+FcyBZFdOvHtA9INJ6oX5kaletkBK/OE5BR/0izZ/l\nFGmtViJCHFwu4te/tP0yyifOTNsXNN3hZW3TaOIpC/ZFZVOXEqtV7uIS5O8c\nnhE1ZRe/EEnTSK2V1eGwII5H1h/C/E5OgLaSpy2GJvwKXIov7cyQibqTz7RB\npjEfs6Ys+tCXMb0q103dneOv0h0I35QnpgXy14MCa57WHeNV76309pEFJkuH\n9i5uYchMPcPEG9xp3cgfZS9JaRaZSaERJk/B0PdUb1sdcjqCXp+zh4s3EHLw\njz+1\r\n=3oxw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEu/IphxCOnppow9MrZxIu539o7a8IsYnCt9lmfCUrUkAiEAlQqKypKqvjsjKZrFCV7iYSnw3hwwN8xRI27Yjl1x7YY="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/condense-whitespace_2.0.0_1554788564979_0.6348767329030642"},"_hasShrinkwrap":false},"3.0.0":{"name":"condense-whitespace","version":"3.0.0","description":"Remove leading, trailing, and repeated whitespace from a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/condense-whitespace.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["whitespace","space","condense","collapse","compact","repeated","string","trim","remove","strip"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"b09e44ec21b0e6aba7d81568ed53ef0951c6d3db","bugs":{"url":"https://github.com/sindresorhus/condense-whitespace/issues"},"homepage":"https://github.com/sindresorhus/condense-whitespace#readme","_id":"condense-whitespace@3.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.13.0","dist":{"integrity":"sha512-Z186uLXZi/AMCd/9R0q3HEXgLZkT5fGFRe3dJqv0DsG5megM6QJ+N7t7KcVWxr3/dU8T0x++Uegq2NpIpW0zNQ==","shasum":"59bd8ea5a4d34ac2c8d540f2dfd7866e464e7de2","tarball":"https://registry.npmjs.org/condense-whitespace/-/condense-whitespace-3.0.0.tgz","fileCount":5,"unpackedSize":2853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEvlhCRA9TVsSAnZWagAABBkP+gOFLFwPBkps6gt9CHE9\nbD5sJSVspTjffX+KmsX+zl4+B6RBRZgh+fZvtiYxttqsS6TOT23UyVO9UYSq\ntrdd1lpf9c37emvHrdRtUl4NRTUXt3MOwzjIOYMNxBtSxB5nnNm9MAD3sEoW\nRedm3EEA49nSjl0+bXs+uUTWD5IWXT78T8/sJpevZAio0UTJBakB11mrAvAx\nXt2+QbwMvMNT1lI2THhPROzJ0a2OIhxB47M8qFHy6L+PJkBMXce0sey4lQpr\ndxExQbiPzWks87oCVDypCD3PtbWiBwne9MovH1y/eE397wtBLUv8n3mbESJT\nrQNmbTngFF8SVnlRUmTQZmTIC6ZRO4M3DqSrZsy6v0poVCaYBRWxi75NQrvZ\nMFZCEnSqqDDsoAeqZoEmgOqNKGW7uA9bMtQ4PX8gyPgBlOQ3QChFelW2POWB\nqjs1tkc1uUIkdjevf0XagxrTsuw+cXJUUPsWvfvvL1YbyDJngdzShgs1U10Z\nMWTjjuEDiIG9Vjx9QFJx3h00BcPq9zQbeCE9whqbhlMSyVrd1V6hkEFwIKp6\nXq2+9T8cIsraRdwBIHQ79bWMsijn1G2nUrQuYdIQYgrzLEyIBsMNuf0XXLtC\nberNTxTD4ufRf+Pp6heRZ6teQfcuLOtngT3PDg4HuUfXnPHG0I0EBXQmDy1g\nQRZ1\r\n=Tvbq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIENGaDFltMlkYZB70t0mAsAXFdyzM2iDXOr1TpQr7cK+AiEAwi4Cg6io3ocmKPxBFsT1mz4zcPFjDYtDO+4BzVfX3Vk="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/condense-whitespace_3.0.0_1628633441747_0.18551602654226484"},"_hasShrinkwrap":false}},"readme":"# condense-whitespace\n\n> Remove leading, trailing, and repeated whitespace from a string\n\n## Install\n\n```\n$ npm install condense-whitespace\n```\n\n## Usage\n\n```js\nimport condenseWhitespace from 'condense-whitespace';\n\ncondenseWhitespace('  foo bar     baz ');\n//=> 'foo bar baz'\n```\n\n## Related\n\n- [`trim-repeated`](https://github.com/sindresorhus/trim-repeated) - Trim a consecutively repeated substring: `foo--bar---baz` → `foo-bar-baz`\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-06-16T22:38:52.072Z","created":"2015-01-13T13:53:50.954Z","1.0.0":"2015-01-13T13:53:50.954Z","2.0.0":"2019-04-09T05:42:45.119Z","3.0.0":"2021-08-10T22:10:41.905Z"},"homepage":"https://github.com/sindresorhus/condense-whitespace#readme","keywords":["whitespace","space","condense","collapse","compact","repeated","string","trim","remove","strip"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/condense-whitespace.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/condense-whitespace/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"detj":true,"muhammadghazali":true,"prasanthv":true,"flumpus-dev":true}}