{"name":"swap-case","version":"3.0.2","description":"Transform a string by swapping every character from upper to lower case, or lower to upper case","keywords":["swap","case","invert","convert","transform","lower","upper"],"homepage":"https://github.com/blakeembrey/change-case/tree/master/packages/swap-case#readme","bugs":{"url":"https://github.com/blakeembrey/change-case/issues"},"repository":{"type":"git","url":"git://github.com/blakeembrey/change-case.git"},"license":"MIT","author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"type":"module","exports":{".":"./dist/index.js"},"types":"./dist/index.d.ts","scripts":{"bench":"vitest bench","build":"ts-scripts build","format":"ts-scripts format","prepublishOnly":"npm run build","specs":"ts-scripts specs","test":"ts-scripts test"},"publishConfig":{"access":"public"},"_id":"swap-case@3.0.2","gitHead":"907cf6f8c4ce5352cb418ddb1494f3c70b2d1071","_nodeVersion":"21.0.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-1tJUDXK5JZTVg04yDTMQnz1c9KFoTGQQo4QZuNbj5olv0ahyQK0R+OIU0KsbjmUhul+wg5iJFGfVRtilC5/GtQ==","shasum":"2eab9e818b0c69a48dc21d7d489c86509ca0f8b1","tarball":"http://registry-npm.ywwl.com/swap-case/download/swap-case-3.0.2.tgz","fileCount":5,"unpackedSize":2775,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGreVpTNbt7NnGGyLBVJmfG0sCpsSdOvubt5QtpL8tF+AiEA6+70Ir+xobPA12JJF7h4Q0Eb9qQMs2vJH91Q0PAixXs="}],"size":1357,"noattachment":false,"key":"/swap-case/-/swap-case-3.0.2.tgz"},"_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"directories":{},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swap-case_3.0.2_1697837559982_0.8814808841112849"},"_hasShrinkwrap":false,"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":1697837560166,"_cnpm_publish_time":1697837560166,"dist-tags":{"latest":"3.0.3"}}