{
  "_id": "pascalcase",
  "maintainers": [
    {
      "name": "jonschlinkert",
      "email": "github@sellside.com"
    }
  ],
  "keywords": [
    "change case",
    "camel",
    "camelcase",
    "case",
    "casing",
    "pascal",
    "pascal-case",
    "pascal case",
    "pascalcase",
    "string",
    "upper camel case",
    "UpperCamelCase"
  ],
  "dist-tags": {
    "latest": "2.0.0"
  },
  "author": {
    "name": "Jon Schlinkert",
    "url": "https://github.com/jonschlinkert"
  },
  "_rev": "8-6d8ea8c58a2d9f3c6da56b03e4b327f3",
  "description": "Convert a string to pascal case (upper camelcase).",
  "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._",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jonschlinkert/pascalcase.git"
  },
  "users": {
    "quafoo": true
  },
  "bugs": {
    "url": "https://github.com/jonschlinkert/pascalcase/issues"
  },
  "license": "MIT",
  "versions": {
    "0.1.0": {
      "name": "pascalcase",
      "description": "Convert a string to pascal-case.",
      "version": "0.1.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",
      "files": [
        "index.js"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "dependencies": {},
      "devDependencies": {
        "mocha": "*",
        "should": "*"
      },
      "keywords": [
        "case",
        "pascal",
        "pascal-case",
        "pascalcase",
        "string"
      ],
      "verb": {
        "related": {
          "list": [
            "pad-left",
            "pad-right",
            "word-wrap",
            "repeat-string",
            "justified"
          ]
        }
      },
      "_id": "pascalcase@0.1.0",
      "_shasum": "5d26610e847dca1304100f494deb09e4fc49ff82",
      "_from": ".",
      "_npmVersion": "2.10.1",
      "_nodeVersion": "0.12.4",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "5d26610e847dca1304100f494deb09e4fc49ff82",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pascalcase/-/pascalcase-0.1.0.tgz",
        "integrity": "sha512-jYrZlZDqw/UN+5eXaMTp6y/dzE+bulfa5vBbyb3Kgk6+SHe2gRmxEZWMfVScrxwrfzFgix3yvqFdK9VeoX5iCQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCJZRsFd2h85C4/NbzNg/gGgTs9WIn0NR7gbYmYv32y2QIgXTIwRyC16Cl7W2gZm4WUe2mi4B9bivCXEX7woSo0Bsk="
          }
        ]
      },
      "directories": {}
    },
    "0.1.1": {
      "name": "pascalcase",
      "description": "Convert a string to pascal-case.",
      "version": "0.1.1",
      "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",
      "files": [
        "index.js"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "devDependencies": {
        "mocha": "*",
        "should": "*"
      },
      "keywords": [
        "camelcase",
        "case",
        "casing",
        "pascal",
        "pascal-case",
        "pascalcase",
        "string"
      ],
      "verb": {
        "related": {
          "list": [
            "pad-left",
            "pad-right",
            "word-wrap",
            "repeat-string",
            "justified"
          ]
        }
      },
      "gitHead": "c2600f8aa648fe093381a064ba364d99b374911c",
      "_id": "pascalcase@0.1.1",
      "_shasum": "b363e55e8006ca6fe21784d2db22bd15d7917f14",
      "_from": ".",
      "_npmVersion": "3.3.6",
      "_nodeVersion": "5.0.0",
      "_npmUser": {
        "name": "jonschlinkert",
        "email": "github@sellside.com"
      },
      "maintainers": [
        {
          "name": "jonschlinkert",
          "email": "github@sellside.com"
        }
      ],
      "dist": {
        "shasum": "b363e55e8006ca6fe21784d2db22bd15d7917f14",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/pascalcase/-/pascalcase-0.1.1.tgz",
        "integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIFu0QP7SR12ufNaeKGXqkorsVgmAmy33Jj6Y7nfEQY52AiEAqcFPmllbT9DKptqsPx8GP4dvwgthnzp1UjROObJXzxI="
          }
        ]
      },
      "directories": {}
    },
    "1.0.0": {
      "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": "https://archive.ito.gov.ir/npm/_packages/pascalcase/-/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="
          }
        ]
      },
      "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
    },
    "2.0.0": {
      "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": "https://archive.ito.gov.ir/npm/_packages/pascalcase/-/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=="
          }
        ]
      },
      "_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
    }
  },
  "name": "pascalcase",
  "time": {
    "modified": "2026-05-20T15:56:43.827Z",
    "created": "2015-08-19T05:13:36.572Z",
    "0.1.0": "2015-08-19T05:13:36.572Z",
    "0.1.1": "2015-12-04T22:12:32.187Z",
    "1.0.0": "2019-08-08T08:23:06.351Z",
    "2.0.0": "2021-12-29T15:12:07.032Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/jonschlinkert/pascalcase"
}