{"name":"title","version":"1.0.0","keywords":["title","document"],"license":"MIT","_id":"title@1.0.0","maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"dist":{"shasum":"e2fceebcefb0c33107543a521827bad6f5a8a32d","tarball":"http://registry-npm.ywwl.com/title/download/title-1.0.0.tgz","integrity":"sha512-D6g0nsUFAz82OsnJJvbRIcgAPxZ6BmbcQ9wghZNPqwQ3JPvVDCWWnz8qlpWkh7wtjE6N1WlRyPguhHWD5+zdIg==","signatures":[{"sig":"MEQCIBuLQiDMoPpBpgrzzc+LqdpfVxt+4h/DaGLo8ZCZeEwNAiAFz+IN/q8tFXoCiByucPwTKZqPIAr0fHiFzKlP+O1zgQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":1121,"noattachment":false,"key":"/title/-/title-1.0.0.tgz"},"_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"component":{"scripts":{"title/index.js":"index.js"}},"_npmVersion":"1.2.0","description":"Manipulate the document title and reset","development":{},"directories":{},"dependencies":{},"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":1358294490168,"_cnpm_publish_time":1358294490168,"dist-tags":{"latest":"4.0.1"}}