{"name":"swap-case","version":"3.0.3","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"},"main":"./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.3","gitHead":"4343da03da28f150d9f06d7562a23d43bd3854e0","_nodeVersion":"21.0.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-6p4op8wE9CQv7uDFzulI6YXUw4lD9n4oQierdbFThEKVWVQcbQcUjdP27W8XE7V4QnWmnq9jueSHceyyQnqQVA==","shasum":"363883b0e8a2837c24d2e0eccb6bdff92e32d711","tarball":"http://registry-npm.ywwl.com/swap-case/download/swap-case-3.0.3.tgz","fileCount":5,"unpackedSize":2804,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpxZXxZcE6n6NLHNxk7/OFatBhNmW/i0a9mKkVZ9XQcQIhAPDoZdJvHSMgn9oIn+TQ9tU2c8MvLeNBlNoztQPcPoa9"}],"size":1362,"noattachment":false,"key":"/swap-case/-/swap-case-3.0.3.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.3_1705261539758_0.07647702382020527"},"_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":1705261539899,"_cnpm_publish_time":1705261539899,"dist-tags":{"latest":"3.0.3"}}