{"name":"pascalcase","description":"Convert a string to pascal-case.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/pascalcase","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/pascalcase.git"},"bugs":{"url":"https://github.com/jonschlinkert/pascalcase/issues"},"license":"MIT","main":"index.js","engines":{"node":">=8"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^2.0.0","mocha":"^6.2.0"},"keywords":["camelcase","case","casing","pascal","pascal-case","pascal case","pascalcase","string","UpperCamelCase"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["ansi-colors","word-wrap","randomatic","justified"]},"lint":{"reflinks":true}},"gitHead":"64ee9eefbf4ba9e05152a72eb6d59a284af95dd6","_id":"pascalcase@1.0.0","_nodeVersion":"12.7.0","_npmVersion":"6.10.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-BSExi0rRnCHReJys6NocaK+cfTXNinAegfWBvr0JD3hiaEG7Nuc7r0CIdOJunXrs8gU/sbHQ9dxVAtiVQisjmg==","shasum":"d2fd7d73f2969606d2b56e17f5261be41c43c381","tarball":"http://registry-npm.ywwl.com/pascalcase/download/pascalcase-1.0.0.tgz","fileCount":4,"unpackedSize":7235,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdS9vqCRA9TVsSAnZWagAAmbIP/jAt9hdFsQUOs24CYZFl\nq5j8EJCUMI32UZnkYi7KkTMNs55uKXOK+dVYGikYpHNdeL7a7blKaMHk+Ong\nvMG5H6fo+Xc65S03xWJboGs1p2NB6sA0T88nLI15onXPV8YSeFLxLdWEgawm\nOywj3u/pxzEZeIgtcDqeHFBomkRyaLi0+FqK1zBFiKnzVise2U6QVknbNMQ0\ntVghy0qZbhv+IMmdpcbQdrlqPQf/etnk171RrUySHDrJrxnFR/T0YigGIbtg\nqBLoYJoV3xudoL1iBF7OlmsEzmnmF+a9MOoFnemWA+Qs5h2IeosKJ1lP89hZ\nemjGKj+SjYGOKpEN5j2H2Z0qSDqKi1ZlwO/FewgTr6ZqsdrhoNGQgfPbQr8H\naRr27OuEVfByyp9vqb50rLDVzc6q1RJHSsep1omxkp8ih1P62PdSsSqp7q1F\nkERAwONblppybSUENUfnoDZuZh3rqbgWhugqa+vLhMSzPB9C4lEcHBOQRytE\nu1q/rUE07wCvoR4lIcpx2SB7L8HuWd3Eb4dClut68NxTgLnvzIvv4KRWbR/P\n+7POzupaY+wuhuCcryaepLjtf8wRR8skuL5ZSmvo8MwZvKfUbBg42AzCUmIH\n3zRltKUrGqMrl/oCM8FKYunOwnnS6EeLOvMa47gb394QgHrteSGKB6qfZ7pJ\nPBSE\r\n=cwQs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF6xi5Zj6mKIAz/zx5/u9c1rgZ4zi59S92/USDuPrgqSAiEArOpDPjayKqfUv9BosojgnZccRg9APiA7oNgcnVNIyeI="}],"size":2959,"noattachment":false,"key":"/pascalcase/-/pascalcase-1.0.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pascalcase_1.0.0_1565252586202_0.3015869803399853"},"_hasShrinkwrap":false,"readme":"# pascalcase [![NPM version](https://img.shields.io/npm/v/pascalcase.svg?style=flat)](https://www.npmjs.com/package/pascalcase) [![NPM monthly downloads](https://img.shields.io/npm/dm/pascalcase.svg?style=flat)](https://npmjs.org/package/pascalcase) [![NPM total downloads](https://img.shields.io/npm/dt/pascalcase.svg?style=flat)](https://npmjs.org/package/pascalcase)  [![Tests](https://github.com/jonschlinkert/pascalcase/actions/workflows/main.yml/badge.svg)](https://github.com/jonschlinkert/pascalcase/actions/workflows/main.yml)\n\n> Convert a string to pascal case (upper camelcase).\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/) (requires [Node.js](https://nodejs.org/en/) >=14):\n\n```sh\n$ npm install --save pascalcase\n```\n\n## Prerequisites\n\nRequires [Node.js](https://nodejs.org/en/) version >= 14.\n\n## Usage\n\n```js\nimport pascalcase from 'pascalcase';\n// or the following if you prefer\nimport { pascalcase } from 'pascalcase';\n\nconsole.log(pascalcase('a')); //=> 'A'\nconsole.log(pascalcase('foo bar baz')); //=> 'FooBarBaz'\nconsole.log(pascalcase('  foo bar baz  ')); //=> 'FooBarBaz'\nconsole.log(pascalcase('foo_bar-baz')); //=> 'FooBarBaz'\nconsole.log(pascalcase('foo.bar.baz')); //=> 'FooBarBaz'\nconsole.log(pascalcase('foo/bar/baz')); //=> 'FooBarBaz'\nconsole.log(pascalcase('foo[bar)baz')); //=> 'FooBarBaz'\nconsole.log(pascalcase('#foo+bar*baz')); //=> 'FooBarBaz'\nconsole.log(pascalcase('$foo~bar`baz')); //=> 'FooBarBaz'\nconsole.log(pascalcase('_foo_bar-baz-')); //=> 'FooBarBaz'\nconsole.log(pascalcase('foo 2 bar 5 baz')); //=> 'Foo2Bar5Baz'\nconsole.log(pascalcase('foo2bar5baz')); //=> 'Foo2bar5baz'\n```\n\n## Uppercase character sequences\n\nIf you wish to preserve upper case character sequences, you may pass an options object with the `preserveConsecutiveUppercase` option set to `true`:\n\n```js\nconsole.log(pascalcase('The IRS Is Mean')); //=> 'TheIrsIsMean\nconsole.log(pascalcase('The IRS Is Mean', { preserveConsecutiveUppercase: true })); //=> TheIRSIsMean\n\nconsole.log(pascalcase('We saw a UFO')); //=> WeSawAUfo\nconsole.log(pascalcase('We saw a UFO', { preserveConsecutiveUppercase: true })); //=> WeSawAUFO\n```\n\n## Options\n\nAll options are passed to [sindresorhus/camelcase](https://github.com/sindresorhus/camelcase), please visit that project to learn about all available options.\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [ansi-colors](https://www.npmjs.com/package/ansi-colors): Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in… [more](https://github.com/doowb/ansi-colors) | [homepage](https://github.com/doowb/ansi-colors \"Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).\")\n* [justified](https://www.npmjs.com/package/justified): Wraps words to a specified length and justifies the text in each line. | [homepage](https://github.com/jonschlinkert/justified \"Wraps words to a specified length and justifies the text in each line.\")\n* [randomatic](https://www.npmjs.com/package/randomatic): Generate randomized strings of a specified length using simple character sequences. The original generate-password. | [homepage](https://github.com/jonschlinkert/randomatic \"Generate randomized strings of a specified length using simple character sequences. The original generate-password.\")\n* [word-wrap](https://www.npmjs.com/package/word-wrap): Wrap words to a specified length. | [homepage](https://github.com/jonschlinkert/word-wrap \"Wrap words to a specified length.\")\n\n### Author\n\n**Jon Schlinkert**\n\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2021, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on December 29, 2021._","publish_time":1565252586351,"_cnpm_publish_time":1565252586351,"dist-tags":{"latest":"2.0.0"}}