{"name":"pascalcase","description":"Convert a string to pascal case (upper camelcase).","version":"2.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","type":"module","main":"index.js","engines":{"node":">=14"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^2.0.0","mocha":"^9.1.3"},"keywords":["change case","camel","camelcase","case","casing","pascal","pascal-case","pascal case","pascalcase","string","upper camel case","UpperCamelCase"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["ansi-colors","word-wrap","randomatic","justified"]},"lint":{"reflinks":true}},"dependencies":{"camelcase":"^6.2.1"},"gitHead":"1dc449268482f18ada12963b70200310fbc88cdf","_id":"pascalcase@2.0.0","_nodeVersion":"17.0.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-DHpENy5Qm/FaX+x3iBLoMLG/XHNCTgL+yErm1TwuVaj6u4fiOSkYkf60vGtITk7hrKHOO4uCl9vRrD4hqjNKjg==","shasum":"13515fcbfa76eddff9282827f59f7868e3cc9250","tarball":"http://registry-npm.ywwl.com/pascalcase/download/pascalcase-2.0.0.tgz","fileCount":4,"unpackedSize":8289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzHrHCRA9TVsSAnZWagAA/ZEP/0aEmP5l0NciDswF7Bsa\nlGehgeNQBaYvia7hhpqfMNsG00nP1WSJfh0SE5jPTyDUkteYJxMLv1RmmNIX\n//jgSRpJJpYuWgj/Sej8kqxR3nd2kDf8ZZqDpTsnWmmBuR9qIH0hJfyDR7it\nNmg5m2DG6eTptEYwnqtkcxpf8zv0aHr8Ewkngi9LLRg7NzGgLyDTUdZPUkA7\nMWlHzBpb4hhQ5QwFwWxoA8/3HmCKm6pNpg9yvbZzgHQ9ppGKB5TfAuKc20E6\nFN7TwWWhKsEA74mYuBNo0TPxVFcLYYIbdteO+aZ6E5XdAZ1Zr0HEOboV4a9E\nQzqVm1sZGPhPUxE/819LOl1BmKVK5JErE57gm34eWfZPrNOrNJ5PuX/AnjZz\nvrHpZYASvzHwp4uF4keNpJ+rBMQL04jZmUrqyTyilAnyZqY1Tg3DqGRrNBgR\nEgMo2wJuXHoMU+VDMVcRktFi1WCsWJIN7qOoh8piRfxxvZqGpDQf0sUgS0AZ\nxXMcSuPzJLWDBk4pBxVCMX8QMQvLhqgfjTF52qhOkB/IjTwm0/oMz8ekQdux\n5YMCUqPPFJHl4SMf8YN0ZwdJDO/pTqZV2mtAJM+0K7DpaWy1DLcG8b9vuntK\ncUE0elksyCJAzKXQl6ktBZkREdGd+3up0tvtJzyWLv8SbfRWQlrtPWacFJuQ\nSbVV\r\n=VV/y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACYoK1iMCu8I66ONjxXmiLSt00wsunuy503F6Ud/+NeAiBJcfCGm4LNuzUkSy5h+UmtqJ7/wdewsuioJWxch4Qqjg=="}],"size":3220,"noattachment":false,"key":"/pascalcase/-/pascalcase-2.0.0.tgz"},"_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"directories":{},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pascalcase_2.0.0_1640790726851_0.6534195553472897"},"_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":1640790727032,"_cnpm_publish_time":1640790727032,"dist-tags":{"latest":"2.0.0"}}