{"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.27.5","eslint-plugin-markdown":"^2.2.1","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^5.0.0","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.14","types":"./dist/src/index.d.ts","gitHead":"fe6feadb1f77798203ea9d75edd88cf2fcfd1b61","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.14","_nodeVersion":"14.20.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-hyEqnFB1noTw7y1UNvFLxfRV9nPvdzgM4ahisA035Xz193zF9o/cjgVMSGZyWy0QcTZnbHke334vsYWytEnudw==","shasum":"7fef639c549703372217e6bce21853a9c7b2900e","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.14.tgz","fileCount":61,"unpackedSize":128534,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD54pwYSDqj5PVJqm7fJa0JhSZYK6ncCwfX4k/LCVJtJwIhAN3fqG3nnPjqFiQ0+ta1T9G2e/c05WMLX3tagvYgN1nH"}],"size":42486,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.14.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.14_1686328272948_0.9794348232597936"},"_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":1686328273176,"_cnpm_publish_time":1686328273176,"dist-tags":{"latest":"1.0.14"}}