{"name":"title","version":"4.0.0","keywords":["title","capitalize","chicago","manual","of","style"],"author":{"name":"leo"},"license":"MIT","_id":"title@4.0.0","maintainers":[{"name":"leerobinson","email":"lrobinson2011@gmail.com"}],"homepage":"https://github.com/vercel/title#readme","bugs":{"url":"https://github.com/vercel/title/issues"},"bin":{"title":"dist/bin.js"},"dist":{"shasum":"ace60a13f47eff3bb2c0a631c0f290dc9e19f3a9","tarball":"http://registry-npm.ywwl.com/title/download/title-4.0.0.tgz","fileCount":24,"integrity":"sha512-HtJL7yozZem9ufiWnwcftBpbNAO+phHMfao8CS4QLON7HzjyDRlf7qE9SXna6/749ZzpEsBZHy+MmY/GOS4i6g==","signatures":[{"sig":"MEQCIB69R141cj0ANgYY7AhA24Tbc82OmJgx9zH+MnwFF8VLAiBQP5aBnfcrG6B+zVmNKJcwPMnY5V/p/3HKlzeiu7+Lpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14807,"size":4831,"noattachment":false,"key":"/title/-/title-4.0.0.tgz"},"type":"module","types":"./dist/esm/index.d.ts","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.js"}},"./*":{"import":{"types":"./dist/esm/*.d.ts","default":"./dist/esm/*.js"},"require":{"types":"./dist/cjs/*.d.cts","default":"./dist/cjs/*.js"}},"./package.json":"./package.json"},"gitHead":"3375d72a69f54ffaa8f714b4116551127b8cab54","scripts":{"dev":"tsup --watch","test":"ava && attw --pack .","build":"tsup","prepublishOnly":"pnpm build"},"_npmUser":{"name":"leerobinson","email":"lrobinson2011@gmail.com"},"repository":{"url":"git+https://github.com/vercel/title.git","type":"git"},"_npmVersion":"10.7.0","description":"Capitalize your titles properly","directories":{},"sideEffects":false,"_nodeVersion":"20.15.1","dependencies":{"arg":"^5.0.0","chalk":"^5.0.0","clipboardy":"^4.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@9.13.2","devDependencies":{"ava":"6.2.0","tsup":"^8.3.5","typescript":"^5.6.3","@types/node":"^22.9.0","@arethetypeswrong/cli":"^0.17.0"},"_npmOperationalInternal":{"tmp":"tmp/title_4.0.0_1732046158586_0.5391276189278345","host":"s3://npm-registry-packages"},"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":1732046158791,"_cnpm_publish_time":1732046158791,"dist-tags":{"latest":"4.0.1"}}