{"name":"title-case","version":"2.1.1","description":"Title case a string","main":"title-case.js","typings":"title-case.d.ts","files":["title-case.js","title-case.d.ts","LICENSE"],"scripts":{"lint":"standard","test-std":"mocha -- -R spec --bail","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail","test":"npm run lint && npm run test-cov"},"repository":{"type":"git","url":"git://github.com/blakeembrey/title-case.git"},"keywords":["title","case"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/title-case/issues"},"homepage":"https://github.com/blakeembrey/title-case","devDependencies":{"istanbul":"^0.4.3","mocha":"^3.0.0","standard":"^9.0.2"},"dependencies":{"no-case":"^2.2.0","upper-case":"^1.0.3"},"gitHead":"478f36c27d6309c90019a51fdd258684f51877a5","_id":"title-case@2.1.1","_shasum":"3e127216da58d2bc5becf137ab91dae3a7cd8faa","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"3e127216da58d2bc5becf137ab91dae3a7cd8faa","tarball":"http://registry-npm.ywwl.com/title-case/download/title-case-2.1.1.tgz","integrity":"sha512-EkJoZ2O3zdCz3zJsYCsxyq2OC5hrxR9mfdd5I+w8h/tmFfeOxJ+vvkxsKxdmN0WtS9zLdHEgfgVOiMVgv+Po4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrioZOmoGZDmACfxvWy7OY4bQZd75AqkR2208XMtHMJAIhALCjxAORiSeysWHM6gvG8Xwt0MmSoeb+jh0EinrIDB1v"}],"size":1992,"noattachment":false,"key":"/title-case/-/title-case-2.1.1.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/title-case-2.1.1.tgz_1489799376340_0.04491470451466739"},"directories":{},"readme":"# Title Case\n\n> Transform a string into [title case](https://en.wikipedia.org/wiki/Letter_case#Title_case) following English rules.\n\n## Installation\n\n```\nnpm install title-case --save\n```\n\n## Usage\n\n```js\nimport { titleCase } from \"title-case\";\n\ntitleCase(\"string\"); //=> \"String\"\ntitleCase(\"follow step-by-step instructions\"); //=> \"Follow Step-by-Step Instructions\"\n```\n\n### Options\n\n- `locale?: string | string[]` Locale used for `toLocaleUpperCase` during case transformation (default: `undefined`)\n- `sentenceCase?: boolean` Only capitalize the first word of each sentence (default: `false`)\n- `sentenceTerminators?: Set<string>` Set of characters to consider a new sentence under sentence case behavior (e.g. `.`, default: `SENTENCE_TERMINATORS`)\n- `smallWords?: Set<string>` Set of words to keep lower-case when `sentenceCase === false` (default: `SMALL_WORDS`)\n- `titleTerminators?: Set<string>` Set of characters to consider a new sentence under title case behavior (e.g. `:`, default: `TITLE_TERMINATORS`)\n- `wordSeparators?: Set<string>` Set of characters to consider a new word for capitalization, such as hyphenation (default: `WORD_SEPARATORS`)\n\n## TypeScript and ESM\n\nThis package is a [pure ESM package](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) and ships with TypeScript definitions. It cannot be `require`'d or used with CommonJS module resolution in TypeScript.\n\n## License\n\nMIT\n","publish_time":1489799378203,"_cnpm_publish_time":1489799378203,"dist-tags":{"latest":"4.3.2"}}