{"name":"swap-case","version":"1.1.2","description":"Swap the case of a string","main":"swap-case.js","typings":"swap-case.d.ts","files":["swap-case.js","swap-case.d.ts","LICENSE"],"scripts":{"lint":"standard","test-std":"mocha -- -R spec --bail","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail","test":"npm run lint && npm run test-cov"},"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":"^2.2.1","pre-commit":"^1.0.6","standard":"^3.3.0"},"dependencies":{"lower-case":"^1.1.1","upper-case":"^1.1.1"},"gitHead":"eaaa7e37d03c6d29bd2287caa5a1d1d25c3056af","_id":"swap-case@1.1.2","_shasum":"c39203a4587385fad3c850a0bd1bcafa081974e3","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"c39203a4587385fad3c850a0bd1bcafa081974e3","tarball":"http://registry-npm.ywwl.com/swap-case/download/swap-case-1.1.2.tgz","integrity":"sha512-BAmWG6/bx8syfc6qXPprof3Mn5vQgf5dwdUNJhsNqU9WdPt5P+ES/wQ5bxfijy8zwZgZZHslC3iAsxsuQMCzJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoaQQl07xuabAUhtceOj3W4pfm3AUi4Fz9bzEepsBBcgIhAPFWWZD/aoe8lfGYvewHvR7Cxl6uREbu3mxMuLTVQ3Sw"}],"size":2233,"noattachment":false,"key":"/swap-case/-/swap-case-1.1.2.tgz"},"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":1450224628458,"_cnpm_publish_time":1450224628458,"dist-tags":{"latest":"3.0.3"}}