{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^4.0.1","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.12","types":"./dist/src/index.d.ts","gitHead":"86a21f9d09e2e0c824fff06081f329f0382af256","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.12","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-Rt/vhjsZZc7mHLPVr8JYCRpSQs+AV/e2NsEfSUJoHZrv9ZMLuPLGW1RobEBod3S6k7mvCcJM5Ekwre9PyyLcnA==","shasum":"b3931d97eba7fa599cc02312bc4667bdb6855476","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.12.tgz","fileCount":61,"unpackedSize":127903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvFrU6T8sC8wPgIQZml5DZaGkEF+FycKYC299/iTvfuAiEAmY2O0Va7L6uu5VQjkhXiyPlacBZ8H/db89UW4FtF5yk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicdqkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8zw//fFwMW6EHaypJFVVbsn0zG3oSc8Q8zoiOHPs6fGVnP+XCVr4I\r\nBih8qGqlIdL+LmzFmV2aPfIKQ3Agu1uz3Yr9RBPc6BuM1MkVZyNVJc9cYIq1\r\n1GSby0XC1DUuJsRpsD0LRwfPG4Kg0tYJkkvAkC3zMp6a7ewNia504by0U6C8\r\nOyeWFgUKLC7KmeqcSl2o3XBD+PctWjkFqk2/lA7ZLeZF3c/OO2dC8Zu+7UHM\r\npvrldwtAyugQ0Z7BY/erhSTggHRZmOl1J4hcFpfJXqO6u9KMAKXp167KIyGd\r\n65F4SFvaDBcnnxZNZSzgp9ZSRyYFF+4Vegb9i4nH63AjVwzXmP29ceKcoPzN\r\nI24r+vYgaHC72aChUFoqnB0cHyrfHl6tSVxmbYZWXdxT3fnPW5m/wRkpR2Ey\r\nobNdrw1n9uZj+C5M0jtTM+jrFoR9yeJS8FZBK++WU7N02veAvddZ/2oPvvuN\r\n8y/fjaRvy3nyboxBdlonI/+D7S9LArBImslehd4TFe0kwx8jvm2mZriRpcm5\r\n6k5ApeHTHZzfl2xVJyZEn/vikTfEkpyg5hGTQbLBCzRCPW9uwbl5RH5lJoyD\r\n7mIrd7F1kyS2Zic2wXRr3lbOnSp2bxVOVjIXd0trjONmsbVNsUvkr8q4ybiO\r\nIdlxpiLtVT8/MnnfP8eZJlrq+Rk7CyEcPZo=\r\n=MEip\r\n-----END PGP SIGNATURE-----\r\n","size":41719,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.12.tgz"},"_npmUser":{"name":"vidorteg","email":"vidorteg@microsoft.com"},"directories":{},"maintainers":[{"name":"vidorteg","email":"vidorteg@microsoft.com"},{"name":"oaflynn","email":"flynnolivia@microsoft.com"},{"name":"molant","email":"amolleda@gmail.com"},{"name":"antross","email":"antross@gmail.com"},{"name":"johnatms","email":"John.Emau@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-string_1.0.12_1651628708695_0.32860757273549135"},"_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":1651628708878,"_cnpm_publish_time":1651628708878,"dist-tags":{"latest":"1.0.14"}}