{"name":"swap-case","version":"1.0.2","description":"Swap the case of a string","main":"swap-case.js","scripts":{"test":"istanbul cover _mocha -- -R spec"},"repository":{"type":"git","url":"git://github.com/blakeembrey/swap-case.git"},"keywords":["swap","case","reverse","switch"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/swap-case/issues"},"homepage":"https://github.com/blakeembrey/swap-case","devDependencies":{"istanbul":"^0.3.0","mocha":"^1.18.2"},"_id":"swap-case@1.0.2","_shasum":"bfa58432ecff4bc9c4f2d3f905974d05aae81de9","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"dist":{"shasum":"bfa58432ecff4bc9c4f2d3f905974d05aae81de9","tarball":"http://registry-npm.ywwl.com/swap-case/download/swap-case-1.0.2.tgz","integrity":"sha512-WIB/fAQqDCKFBvqqlBcLdQ5Fy1e7w3I5Lno81vTu7TlRM8T0CiF6KNw24LWnUGTCfnY8OofxlvDxpTSs03hZ3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICi3uPYPRbYqKfRJuPqCiqqI/s1XBIKI84YgBUPOAGATAiA2WUw711mzxo7+R+eQEUVFgVj96q/Y2X7IYt22lbckFg=="}],"size":2344,"noattachment":false,"key":"/swap-case/-/swap-case-1.0.2.tgz"},"directories":{},"readme":"# Swap Case\n\n> Transform a string by swapping every character from upper to lower case, or lower to upper case.\n\n## Installation\n\n```\nnpm install swap-case --save\n```\n\n## Usage\n\n```js\nimport { swapCase } from \"swap-case\";\n\nswapCase(\"string\"); //=> \"STRING\"\nswapCase(\"dot.case\"); //=> \"DOT.CASE\"\nswapCase(\"PascalCase\"); //=> \"pASCALcASE\"\n```\n\n## TypeScript and ESM\n\nThis package is a [pure ESM package](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) and ships with TypeScript definitions. It cannot be `require`'d or used with CommonJS module resolution in TypeScript.\n\n## License\n\nMIT\n","publish_time":1408832292948,"_cnpm_publish_time":1408832292948,"dist-tags":{"latest":"3.0.3"}}