{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^4.3.3","eslint":"^7.32.0","eslint-plugin-import":"^2.26.0","eslint-plugin-markdown":"^2.2.1","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.5.5"},"homepage":"https://webhint.io/","keywords":["hint","hint-utils-string","string","utils","webhint"],"license":"Apache-2.0","main":"./dist/src/index.js","name":"@hint/utils-string","repository":{"directory":"packages/utils-string","type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm-run-all build:*","build-release":"npm run clean && npm run build:assets && tsc --inlineSourceMap false --removeComments true","build:assets":"copyfiles \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","lint":"npm-run-all lint:*","lint:js":"eslint . --cache --ext .js,.md,.ts --ignore-path ../../.eslintignore","lint:dependencies":"node ../../scripts/lint-dependencies.js","lint:md":"node ../../scripts/lint-markdown.js","test":"npm run lint && npm run build && npm run test-only","test-only":"nyc ava","test-release":"npm run lint && npm run build-release","watch":"npm run build && npm-run-all --parallel -c watch:*","watch:ts":"npm run build:ts -- --watch"},"version":"1.0.13","types":"./dist/src/index.d.ts","gitHead":"8869f1b823276a7cf0417925b78b6aba21d4ee2b","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.13","_nodeVersion":"14.20.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-yXBdDTj8diby+OjgX7TG0hhfVKhgcy2OgSrvT7rYTLSUsPJOtcWhAm+5MIdN7JbQwqv0QwpSIowz14rVBkln7g==","shasum":"aa3796439f82cdb660c4291ed0a870deaaa8f9e1","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.13.tgz","fileCount":61,"unpackedSize":127526,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPrKcS4eX974z5m5OQFnYZh4DIUi8IXLhaLbl/qWrHKQIhAPnEI5FgmGjDdu/buU0ad0rc5TSqQYVjW+pmG2Ytq5hz"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPzBhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmBQ//VeuAfAmmWdiAwPm1QM5ccF/lqXvzQWB/XB3zenSd7uHSrDem\r\nJd4ey9nxtCbyniyCuYqSgjrUhqY0aDpfiBWIuIBCnj3w7Q7NosgK2ZyIjRlE\r\n32Psq5k/Q05jaHmtMwwyZJ4xlH7NI7ovyep6Qovdm0DXhns0PqLNoLSOpcO2\r\nPjratUgq1M5tXJKPnFM/BGZ4Ca4WKARt7mZZP4rX8NtxL4BLhRZMdqpTaVRU\r\nkgtTSWxY1sB3O2i6t2PMvqgFUrJOXVA0C7mMBrb2nzqTj85wIlYaBhvQ0oUO\r\nFyqehypPz3ZS9txdQGwG2Fvg385AT/ekZHGMWOI5Iw256suWriMxgKKleP0y\r\noUnOeylqyBRRl8fDPnbe58sWt4UrfGcAexl0U/FwP4fXiWHtIbtKyO/vEeq0\r\nFOBA3TUIuti+G3jyR/oYRzMTZztvPFlXgAzpE+jRYqvKsCmeBvHdSEEUz94F\r\neMzSzM5TKJI1NLMaigMK68T3XddjB93qFuNc6UwbN1TJUkufgWFJfjY45Cig\r\nSFay9LlA7iIS5JlkH622RJczNnZ4hKWYpJxlMpW30jEvnJV321LaP+FhLVKy\r\nTbBfbUx35Jr/5De10S2tM5QsyAvkwz/1cqdRRG6bYmbm9JXAB/VOz3TOSKoj\r\n1IS+52YQn6qFpt0i6RZlhHo/fHxXTi1PCVs=\r\n=HlNl\r\n-----END PGP SIGNATURE-----\r\n","size":42276,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.13.tgz"},"_npmUser":{"name":"vidorteg","email":"vidorteg@microsoft.com"},"directories":{},"maintainers":[{"name":"leotlee","email":"leolee@microsoft.com"},{"name":"vidorteg","email":"vidorteg@microsoft.com"},{"name":"oaflynn","email":"flynnolivia@microsoft.com"},{"name":"molant","email":"amolleda@gmail.com"},{"name":"antross","email":"antross@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-string_1.0.13_1665085536994_0.44989459351403616"},"_hasShrinkwrap":false,"readme":"# String utils (`@hint/utils-string`)\n\nSet of helpers to process string.\n\n## Installation\n\nThis package is installed automatically when adding webhint to your project\nso running the following is enough:\n\n```bash\nnpm install hint --save-dev\n```\n\n## Utils\n\n* `cutString`: Cut a given string adding `…` in the middle.\n  variable available with the given `options` object.\n* `mergeIgnoreIncludeArrays`: Adds the items from  `includeArray` into\n`originalArray` and removes the ones from `ignoreArray`.\n* `normalizeIncludes`: Return if normalized `source` string includes\nnormalized `included` string.\n* `normalizeStringByDelimiter`: Normalize String and then replace characters\nwith delimiter.\n* `normalizeString`: Remove whitespace from both ends of a string and\nlowercase it.\n* `prettyPrintArray`: Returns an array pretty printed.\n* `toCamelCase`: Convert '-' delimitered string to camel case name.\n* `toLowerCaseArray`: Lower cases all the items of `list`.\n* `toLowerCaseKeys`: Returns the same object but with all the properties\nlower cased.\n* `toPascalCase`: Convert '-' delimitered string to pascal case name.\n","publish_time":1665085537222,"_cnpm_publish_time":1665085537222,"dist-tags":{"latest":"1.0.14"}}