{"name":"title","version":"4.0.1","description":"Capitalize your titles properly","repository":{"type":"git","url":"git+https://github.com/vercel/title.git"},"scripts":{"test":"ava && attw --pack .","build":"tsup","dev":"tsup --watch","prepublishOnly":"pnpm build"},"type":"module","types":"./dist/esm/index.d.ts","exports":{"./package.json":"./package.json",".":{"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.js"},"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"}},"./*":{"require":{"types":"./dist/cjs/*.d.cts","default":"./dist/cjs/*.js"},"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js"}}},"keywords":["title","capitalize","chicago","manual","of","style"],"bin":{"title":"dist/esm/bin.js"},"author":{"name":"leo"},"license":"MIT","dependencies":{"arg":"^5.0.0","chalk":"^5.0.0","clipboardy":"^4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.0","@types/node":"^22.9.0","ava":"6.2.0","tsup":"^8.3.5","typescript":"^5.6.3"},"sideEffects":false,"packageManager":"pnpm@9.13.2","_id":"title@4.0.1","gitHead":"2dd0f480e9aeeb40b7fb8e8f976da6cc7a4392d2","bugs":{"url":"https://github.com/vercel/title/issues"},"homepage":"https://github.com/vercel/title#readme","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-xRnPkJx9nvE5MF6LkB5e8QJjE2FW8269wTu/LQdf7zZqBgPly0QJPf/CWAo7srj5so4yXfoLEdCFgurlpi47zg==","shasum":"f5226a0fbec7b3a1c42c2772d67a493d2f189c87","tarball":"http://registry-npm.ywwl.com/title/download/title-4.0.1.tgz","fileCount":24,"unpackedSize":14811,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIRs9CPlzpeC0I+9zphzCMToDt3b0s+JnwyoygTyP7iQIhAPwyqiXmc8WjO5P039mvHiJShHByx8lnxvPpSyIPUaCx"}],"size":4836,"noattachment":false,"key":"/title/-/title-4.0.1.tgz"},"_npmUser":{"name":"leerobinson","email":"lrobinson2011@gmail.com"},"directories":{},"maintainers":[{"name":"leerobinson","email":"lrobinson2011@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/title_4.0.1_1732120507051_0.2938171038368138"},"_hasShrinkwrap":false,"readme":"# Title\n\nThis package correctly capitalizes your titles as per [The Chicago Manual of Style](http://www.chicagomanualofstyle.org/home.html).\n\n## Usage\n\nInstall the package:\n\n```bash\npnpm add title\n```\n\nThen, import it and convert any input text:\n\n```js\nimport title from 'title'\n\ntitle('tHe cHicaGo maNual oF StyLe')\n\n// Will result in:\n// \"The Chicago Manual of Style\"\n```\n\nYou can pass words that should be capitalized as specified:\n\n```js\ntitle('FaCEbook is great', {\n  special: [ 'facebook' ]\n})\n\n// Will result in:\n// \"facebook is great\"\n```\n\n### Command Line\n\nYou can also convert titles in the command line. Install the package globally:\n\n```bash\npnpm add -g title\n```\n\nNext, run it:\n\n```bash\ntitle \"tHe cHicaGo maNual oF StyLe\"\n\n# Will result in:\n# \"The Chicago Manual of Style\"\n```\n\nTo see all available options, run:\n\n```bash\ntitle -h\n```\n\n## Contributing\n\n1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device\n2. Uninstall `title` if it's already installed: `pnpm remove -g title`\n3. Link it to the global module directory: `pnpm link`\n\nAfter that, you can use the `title` command everywhere.\n\n## Original Authors\n\n- Leo Lamprecht ([@leo](https://x.com/leo))\n- Josh Junon ([@Qix-](https://github.com/Qix-))\n","publish_time":1732120507236,"_cnpm_publish_time":1732120507236,"dist-tags":{"latest":"4.0.1"}}