{"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.25.4","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.11","types":"./dist/src/index.d.ts","gitHead":"958c5ae10b0cdfebd292c67584ef5b99de8deb14","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.11","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-vBZckUX5j/XxnSeBT3cKYOYFydjptgPqSXG4bfFo/OfEJ2L5p3QmsCsEYj0D/+xHFThGZb86UgEVK+6KCGUeJg==","shasum":"dd3bdded97a63d8c6d688c910ed3e72b91f218fe","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.11.tgz","fileCount":61,"unpackedSize":127903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKkiOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMeg//Wma2Y4X+Tx7yI5u6n6le7N4L0vW8PPpbl3Ivx2+OpzMbhsMp\r\n3FnA72lPMQRzl2PmCAuqcqfiwmv2sA9Lap2t3JpXgBT9nZmTbTcMEirv05zP\r\nvWKP8kZSqV4o8IFtXX9sOACPH9QHE54Vjf6A/uorYCi/EElhz6pecmduqiI+\r\n3Jlj9HboIBYJVBPwa2I0mi5IWoCphI9/Osff3R8zcFl8uwe946R6YzYtFtQ6\r\njVzvPrrU5nrWdstPq9UNLWKQXavNzQfEgaZIVyi/2oFF3GVbFzovhbOLeZv0\r\n/wX/d7LpPKoYdw4BNKX0ouGus97KmfekHEpMVaU6cvZjIadqo+IvANcX1Y0v\r\nuAojXBadHJXSde7YhVeMuratQBt7EX6MGig1p7gz7LL5bWm/3gZ3HAOOz+h+\r\nGmK3VW1pdOdqC/SQwSiGOrUJMzi6Kz17AGYQWtY1VguQITEDOCE2WCWB9J+u\r\nWa7ZajsaPH4SVedJEBu53QsOtrIS/AGB48bWYP0Ko3ZPfemIEIBANeASWB0i\r\nsVZw8XbLy8VfC35cFBY579RX5yybsRAFVjdFR2szCbC8gFaXZUWY6Lpz7O3Q\r\n9wLNQYZgrDd/9Xnh24gW5j3kp8jy5ARH4/R/keXbowyYw6/HCkJxwVPwB/Ic\r\nsctFvLep+IsfuYEKwSeTMYC9z3DBzOeBoMA=\r\n=nX07\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ9fib1s+MwbbuNt+fkuMD6nqoWoFKqK5YFjgF3x1BBAIhAO5nATOaYer5G74GVUvC4S03m9aCG6uYXa7XOhG4FPF5"}],"size":41718,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.11.tgz"},"_npmUser":{"name":"oaflynn","email":"flynnolivia@microsoft.com"},"directories":{},"maintainers":[{"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"},{"name":"sarvaje","email":"jdgarcia@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-string_1.0.11_1646938254109_0.9047528386891066"},"_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":1646938254243,"_cnpm_publish_time":1646938254243,"dist-tags":{"latest":"1.0.14"}}