{"name":"swap-case","version":"0.0.1","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"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/swap-case/issues"},"homepage":"https://github.com/blakeembrey/swap-case","devDependencies":{"istanbul":"^0.2.6","mocha":"^1.18.2"},"_id":"swap-case@0.0.1","dist":{"shasum":"7e5ab391256d6e53ecb5d190443b55ccb857c034","tarball":"http://registry-npm.ywwl.com/swap-case/download/swap-case-0.0.1.tgz","integrity":"sha512-skCWQmW2xiYUKnRGtfklfIdn9JTeoS/ZKugpsderzeh15QbmffL+pegwxmCXGW4TSxfrGedDLSxLSTWMw3FBoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9SmiofMZLaSF/RKpGjKVj/EaSEDOHx2ji5yCMYngpAQIgEy1zgSakSZ/DjuE+vKq1x3U9G/VzsR6Hj6808Mk6xrg="}],"size":1615,"noattachment":false,"key":"/swap-case/-/swap-case-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"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":1395701582534,"_cnpm_publish_time":1395701582534,"dist-tags":{"latest":"3.0.3"}}