{"name":"title-case","version":"3.0.2","description":"Transform a string into title case following English rules","main":"dist/index.js","typings":"dist/index.d.ts","module":"dist.es2015/index.js","sideEffects":false,"jsnext:main":"dist.es2015/index.js","scripts":{"lint":"tslint \"src/**/*\" --project tsconfig.json","build":"rimraf dist/ dist.es2015/ && tsc && tsc -P tsconfig.es2015.json","specs":"jest --coverage","test":"npm run build && npm run lint && npm run specs","size":"size-limit","prepare":"npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/change-case.git"},"keywords":["title","case","english","capital","sentence","convert","transform"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"MIT","bugs":{"url":"https://github.com/blakeembrey/change-case/issues"},"homepage":"https://github.com/blakeembrey/change-case/tree/master/packages/title-case#readme","size-limit":[{"path":"dist/index.js","limit":"350 B"}],"jest":{"roots":["<rootDir>/src/"],"transform":{"\\.tsx?$":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$","moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"publishConfig":{"access":"public"},"devDependencies":{"@size-limit/preset-small-lib":"^2.2.1","@types/jest":"^24.0.23","@types/node":"^12.12.14","jest":"^24.9.0","rimraf":"^3.0.0","ts-jest":"^24.2.0","tslint":"^5.20.1","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^9.0.0","typescript":"^3.7.2"},"dependencies":{"tslib":"^1.10.0"},"gitHead":"07b68e1a696a1a34090d4f1fc136b1bd467aaa3f","_id":"title-case@3.0.2","_nodeVersion":"13.1.0","_npmVersion":"lerna/3.19.0/node@v13.1.0+x64 (darwin)","dist":{"integrity":"sha512-1P5hyjEhJ9Ab0AT8Xbm0z1avwPSgRR6XtFSNCdfo6B7111TTTja+456UZ2ZPkbTbzqBwIpQxp/tazh5UvpJ+fA==","shasum":"9f926a0a42071366f85470572f312c4b647773ab","tarball":"http://registry-npm.ywwl.com/title-case/download/title-case-3.0.2.tgz","fileCount":15,"unpackedSize":27547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6cWDCRA9TVsSAnZWagAAJdcP/1Weqtf9NFT1fcJIej15\nS3zDonlW+riLoWUyxZMPrlsK2RwoOeD24NpPNqm6D9rfxk2I+53pse100WIc\n9IDbLz/vqiWq6EPwQOpbSJi1KugMnaar6nsWIGl+X+aGYLTJ7CuO/BJ7AIF4\nZG1VNooL6uJBzoKaOxK6h+BOm1U4fdV5RHv4EVdwqH/4GK0cf8cw57jXcGJF\nblmuU7hRw3k4FcqJImXfkAXB1jWZF7Xra/s86yk6APFMbOH7JxMG41VFIRJM\nqmVsVRYkrEUvBT7PHNvs6q3H5QmHMJovGj5yBRtJYqA2hVfisg09Z0gCBGPs\n/rL8GZOdyrv2wcOAr4iOvJvsWVgZ33eV9/XbW/9rV5xPY87khz9yCtlDw0N6\nVXu7awx8LPrHjZa4Lb9Wx4l4EYb9a2UB+hK/vPVeSBVsGLMOwhHkjz0qwdl+\n7i0AOFq3P4qaok/UZd8Y5l6wt1y0RMyj1l3kYDy5TV6NZ6Il24BNqDDubl7X\ngNQMtixF4fIDCbf4+hp4mUgzMWuO2GvtBQ5ZOKUxh29yrdCWQRjQzbJiyDQI\nCc2n9h5GHV0g5TzG42E14fpeImP2JhsgcfJ0GMdumogU5jYUZg+CFflS+wcc\nidOfcnrj/1Nkmno0EXvWHMHx04jaAutAbxEmbW1WliuccuD580jOFlew8hxf\nhTOk\r\n=ePTk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqeJGRm8YWK4QlecbFN7C2cgQ0g/8EhuQ6JKPdlkMxXgIgDgLF/17RVY7cgbwgiGnAW8VkqICJjKT7tR6tOZwVXaw="}],"size":6034,"noattachment":false,"key":"/title-case/-/title-case-3.0.2.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/title-case_3.0.2_1575601539018_0.022371169678404357"},"_hasShrinkwrap":false,"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":1575601539168,"_cnpm_publish_time":1575601539168,"dist-tags":{"latest":"4.3.2"}}