{ "_args": [ [ { "raw": "swap-case@^1.1.0", "scope": null, "escapedName": "swap-case", "name": "swap-case", "rawSpec": "^1.1.0", "spec": ">=1.1.0 <2.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/change-case" ] ], "_from": "swap-case@>=1.1.0 <2.0.0", "_id": "swap-case@1.1.2", "_inCache": true, "_location": "/swap-case", "_nodeVersion": "5.2.0", "_npmUser": { "name": "blakeembrey", "email": "hello@blakeembrey.com" }, "_npmVersion": "3.3.12", "_phantomChildren": {}, "_requested": { "raw": "swap-case@^1.1.0", "scope": null, "escapedName": "swap-case", "name": "swap-case", "rawSpec": "^1.1.0", "spec": ">=1.1.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/change-case" ], "_resolved": "https://registry.npmjs.org/swap-case/-/swap-case-1.1.2.tgz", "_shasum": "c39203a4587385fad3c850a0bd1bcafa081974e3", "_shrinkwrap": null, "_spec": "swap-case@^1.1.0", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/change-case", "author": { "name": "Blake Embrey", "email": "hello@blakeembrey.com", "url": "http://blakeembrey.me" }, "bugs": { "url": "https://github.com/blakeembrey/swap-case/issues" }, "dependencies": { "lower-case": "^1.1.1", "upper-case": "^1.1.1" }, "description": "Swap the case of a string", "devDependencies": { "istanbul": "^0.3.0", "mocha": "^2.2.1", "pre-commit": "^1.0.6", "standard": "^3.3.0" }, "directories": {}, "dist": { "shasum": "c39203a4587385fad3c850a0bd1bcafa081974e3", "tarball": "https://registry.npmjs.org/swap-case/-/swap-case-1.1.2.tgz" }, "files": [ "swap-case.js", "swap-case.d.ts", "LICENSE" ], "gitHead": "eaaa7e37d03c6d29bd2287caa5a1d1d25c3056af", "homepage": "https://github.com/blakeembrey/swap-case", "keywords": [ "swap", "case", "reverse", "switch" ], "license": "MIT", "main": "swap-case.js", "maintainers": [ { "name": "blakeembrey", "email": "hello@blakeembrey.com" } ], "name": "swap-case", "optionalDependencies": {}, "readme": "# Swap Case\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][downloads-image]][downloads-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n\nSwap the case of a string.\n\nSupports Unicode (non-ASCII characters) and non-string entities, such as objects with a `toString` property, numbers and booleans. Empty values (`null` and `undefined`) will result in an empty string.\n\n## Installation\n\n```\nnpm install swap-case --save\n```\n\n## Usage\n\n```javascript\nvar swapCase = require('swap-case')\n\nswapCase(null) //=> \"\"\nswapCase('string') //=> \"STRING\"\nswapCase('PascalCase') //=> \"pASCALcASE\"\nswapCase('Iñtërnâtiônàlizætiøn') //=> \"iÑTËRNÂTIÔNÀLIZÆTIØN\"\n\nswapCase('My String', 'tr') //=> \"mY sTRİNG\"\n```\n\n## Typings\n\nIncludes a [TypeScript definition](swap-case.d.ts).\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/swap-case.svg?style=flat\n[npm-url]: https://npmjs.org/package/swap-case\n[downloads-image]: https://img.shields.io/npm/dm/swap-case.svg?style=flat\n[downloads-url]: https://npmjs.org/package/swap-case\n[travis-image]: https://img.shields.io/travis/blakeembrey/swap-case.svg?style=flat\n[travis-url]: https://travis-ci.org/blakeembrey/swap-case\n[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/swap-case.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/blakeembrey/swap-case?branch=master\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/blakeembrey/swap-case.git" }, "scripts": { "lint": "standard", "test": "npm run lint && npm run test-cov", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail", "test-std": "mocha -- -R spec --bail" }, "typings": "swap-case.d.ts", "version": "1.1.2" }