{"name":"title-case","version":"3.0.1","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 && npm run size","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"},"gitHead":"a3df3a43bfd3d8e3386d0fb09b69454b91516d18","_id":"title-case@3.0.1","_nodeVersion":"13.1.0","_npmVersion":"lerna/3.19.0/node@v13.1.0+x64 (darwin)","dist":{"integrity":"sha512-HN5ok/Vj+jNQ29ut5FkvHvn3yAW22deZbVg2qANkqP6l9k31Zky+AngKqCOg5CPZEx03F47oh2aghDPqoIcBjA==","shasum":"68433e9813ebd8be8eaee1d522ef52b53a4b408c","tarball":"http://registry-npm.ywwl.com/title-case/download/title-case-3.0.1.tgz","fileCount":15,"unpackedSize":27057,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5fU+CRA9TVsSAnZWagAAx5IQAKSZOpOwQmJne9+d50z+\n8VS4DZQzRmZDP8gFzNGqmDRvo2kP0AL7ERSymoeUtc7DXG9ZWLDqrdb9DYJa\n78M80yGScc5Kc2LDgFT8rbHGSHuYgxWXuwlt7nfQEIEKIQuhVA+v44mAKcpO\n8ZGAdm4KZOY2wJoAT5M/NUocGp213yjyQhps7axUB5Ah7pw+h5/lZINReCY9\nqLx5DSxfQ3e4eKCzNh/MybNZPG3qGHi/km/t1R/MCKV6YlES1XTXTDkHBrHK\nN+DZ/nCarfJVVENjz06TIVFRwBWucvisTTXGLn+LpI+RxRehjKEfXcRPwmut\nRJDBkuKIYan8arW7lJGkvCp0ozMKhVVWWGDw7iAMV23CPHviU39jE1uV1Aej\nG4IdIYh92eyo8PDWHiOrX5n12f0d7IarUKGk1mwLN06DDf+PNedXBfoDcsxD\n5qNOUBHRtZj+oDebztYBTyTCeaDgzYcJ1PylvSKb03BY5dqCA+iDleNat+7d\nVGqTqAxegSxZ1u/wy5jmH9gVne+7LOIZ+hUU1CiVZ+nQVU+gMm2AeZeI2nr6\nQHE8eM97RGzM5Qa0hCNQoTrK622IzD992n3q/xcbjtpe3+nBmpvgjd0O0UU2\nIEnv9x+e641j4LH01rk4Dy2w/uboNIkQd/hVxkhwdz45nF5g5gj1xjUtgEMV\n3iBA\r\n=5HZZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkkc//DC2HbClegTHW++6nbIkM1Q8PgRVwVpyDINIJnAiEA6seW29YD5BRV6XCbXCHl+41eC+cpMX6qNLqGF7FiciE="}],"size":5840,"noattachment":false,"key":"/title-case/-/title-case-3.0.1.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.1_1575351613949_0.8098015588052638"},"_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":1575351614100,"_cnpm_publish_time":1575351614100,"dist-tags":{"latest":"4.3.2"}}