{"name":"title-case","version":"3.0.3","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":"^4.1.2"},"dependencies":{"tslib":"^2.0.3"},"gitHead":"76a21a7f6f2a226521ef6abd345ff309cbd01fb0","_id":"title-case@3.0.3","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (darwin)","dist":{"integrity":"sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==","shasum":"bc689b46f02e411f1d1e1d081f7c3deca0489982","tarball":"http://registry-npm.ywwl.com/title-case/download/title-case-3.0.3.tgz","fileCount":15,"unpackedSize":27683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxuBzCRA9TVsSAnZWagAAbwkP+QAcl3KuenzPzzaau3rq\n+8jyVWrnB5f+HMxsIXmiJWTqZYbIzFI1p6CA8UGLW/CHSw6sTtMVE6HsRdYF\nt+aa/3NsjRRz7dnTUqK2FT9uXKb6oEadCI7w16ja6g1alBn66TDfFNVzNBMI\nXXqeDo7WHPaUxj/7NaJuFo7cowAHlLekY6bjGJQXuQ0iR1Ns6YppmEjXoTzM\nvNvC2v8Cme2EDbRLT6AAv4o3cx4+a+xFTxeKeutiPC1CMycyynOCWSt3jr0b\nDsBzfJPltDdFg83521Mp92wPifaugiIgRQo0QV64lRB7SHXxFErfPasY5gE7\n+Jp+ra+d1b7TGMUpjrBg7ROGwXf2WbnQd2RgOJOvq98/4lYOzf+oT74x9iKF\nDBkZzVGCC7Lnf60eZ9aiI2JSEXBJIvjZATEOsXS2XyCao58Zv0QM2fCE+B2g\nIfVDJlwhrITX0Xp4rTQkm5TIlpfQHP0cXselqamPuT/IolALkG90MMCq8ffG\neMw8yTBT7CxP72gskkgsGvA4OYcDliYNYok8LKOsG+BO5Cf22z5ZYIIG1j/g\ndZ+8G8MMuY2bxfSe4YhDpYRNndLI4TL8wp6BqOQm4Nxx9/UtuEPQX4W2wgQj\nmIGglci6qSn7oXYYatmuEMqDhD2aU4j++c5K2OlNxU8bmfHIOd4wl8xZtXfa\ngopo\r\n=lHjF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5YNpRDRlSA2UF1etqskJSyx6LZRCJk926m4tf2KP/+AiABBuVDJq2X4VCx1VWN7hbBSBXddlUWuVIqmE7zDlC+SA=="}],"size":6061,"noattachment":false,"key":"/title-case/-/title-case-3.0.3.tgz"},"_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"directories":{},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/title-case_3.0.3_1606869107233_0.2834448825772149"},"_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":1606869107340,"_cnpm_publish_time":1606869107340,"dist-tags":{"latest":"4.3.2"}}