{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^3.15.0","eslint":"^7.27.0","eslint-plugin-import":"^2.22.1","eslint-plugin-markdown":"^2.2.0","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.2.4"},"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.8","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.8","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-i3Q+L5/Obu75cqcL4fNOUNO4lxhaS5Xzg/FRkNvx+qu7oA3zk3aeccbI16kcc8wAA83qNFAd6zSCK7JTY9BS9g==","shasum":"9c60a546cf8f98732c40c40a30d774d8a978320c","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.8.tgz","fileCount":62,"unpackedSize":476205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwRLuCRA9TVsSAnZWagAAq+gP/2P9tYE5JpuNtUQS9jFW\nGecwzTHzt4uIFdBzuCl8WS2IZ/lsMIJHftVYGoWHbzpJ/ayjaXAqShimDmJl\nHMTpiXPvLm38B3vSrRjaxM34gF0zBtfDllfjqI7GpHmzKFGkBMzEwYQXO80w\nfnZGk815DEm90Fu0mRHs4Otwa5jK/Dg4vAyrRRTY5M5nTy3lbdafwTvWWe32\nob/esz34GWJBxNi3O1aTN0LxIQq1fXj/Q5D6uE/AB8dhP16QNz9Idgnj1JjG\nywbJg1CBp2rsmaOSj00WiRtjJi72d7RPDzw2cl1EEKzkHLg3hLcv5KPV5Qwc\nN7BOrnS6t3dxjFbK1VwkQ3FlhkuaK0HpG3asHP7/lICxs7sJk3LUGp8KS3Up\npeFPJzld9YcKcnJCT9bTsv3rEyRa0drYn08DbMzYJBKXGG+mFgJm2jaR+m3Q\n+l+ErauhhiGH0xoFEb+9+G5HSsd/ncfNKINq/86ENEKx+heLGIfhMC0PTxyH\nwEh44+FKolkzqz9Y55Z3gzwhDG4kF4UZfsT+lZacyoIUpqSpHODxnZfR+yQr\nsLFtjVH4n/AdRgDIcTBnGeEYkIkea2IYYs46g4Tz9xb7yhaCuwVhFuffwLdD\npkK5ji8hMGuGSGxAg1qjgcMVMWxobMkj4yt4SlCwaqlX/Fdzu/FihPiW62+f\n0ECh\r\n=bbZA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpXP3AlukNKJlCd1ThVBeAwfUTPO+ciVEFc4oAiK6K5AiAgwcIy/lc6aIZOU09vRromypMx3/Qk/P1Vksl5JSCefQ=="}],"size":47916,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.8.tgz"},"_npmUser":{"name":"sarvaje","email":"jdgarcia@outlook.com"},"directories":{},"maintainers":[{"name":"molant","email":"amolleda@gmail.com"},{"name":"antross","email":"antross@gmail.com"},{"name":"johnatms","email":"John.Emau@microsoft.com"},{"name":"sarvaje","email":"jdgarcia@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-string_1.0.8_1623266030152_0.3988506010827906"},"_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":1623266030287,"_cnpm_publish_time":1623266030287,"dist-tags":{"latest":"1.0.14"}}