{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^3.5.2","eslint":"^6.8.0","eslint-plugin-import":"^2.18.2","eslint-plugin-markdown":"^1.0.2","npm-run-all":"^4.1.5","nyc":"^15.0.0","rimraf":"^3.0.2","typescript":"^3.8.3"},"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":"cpx \"./{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.2","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.2","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-+OEdgB7qP+PxgwEJWkjOzLHo7AjS+d1ZUeesmbj78tVMHTPT1qstdqvHOaeQtd9TjQUwYAoc92GTO/wU+hrUWg==","shasum":"b8b94b169ca60472a6ac5a2da1e6a0b24f843dd3","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.2.tgz","fileCount":62,"unpackedSize":379668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJel17jCRA9TVsSAnZWagAAaHwP/2SsUE6FCEVpOFTZ2UsF\niqmKLJnTSfO8G2EXr4VWYSpKNGcMhp+VroZ+q79c/a96C68poFmHzUBnaSLk\nLCXc7rz4G5SsvDpst/GEaYWoHIzdCb9p0Facn6cR1zsg72qUqbNYvD2Lj6VJ\nwD+WFojMcE4SxuVNHydnNoODP6pFWqcHisYfsNDj9HOMpQLsX3Qk6EuqXpPO\nO542kfyoFEkem/4SuP17su183cOXU1hfM11Z0DqeTh/DV0qyxw/lFLEeXzfK\nRB8LliD9DRRSkuL1ej1n+Sjd/b+LTHT1bGDrnkRL2TLKnSR+aMuLrxDyYQs9\nIg5m5DtcihUljxSw+47WU6ik9BquIkawW+kEvWeK9/NKQT1hfhrtoP6HUaz0\nm5l0B7Asw4gW9QkWzgRRx2ChWOln1yMCuL6rGrZcwc2FbytzH9Vm+PA5PuWZ\n8h0G659VMbpaLUauWfW6W7deAt2dJQBYayRbP5aWvxklIJqD0lbti1irJPBK\nOsT0O5fcZqophNla9EkJXFJlN9UsxNpAf0qWYfFhNpz1MCzXBed1p4h92b5a\ntv1xMwssApFn7HTiswftnWmYC7pax3RpmdFzXijkw2pomlJJcdR6jOiJhIQ8\nXf413BRBJHAOZt0fqq70KC7IIzOtd6Tdm3dYnmdtlAxAAuVcRNxnOyW1golw\nh5aJ\r\n=UFrT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCceN8uVlwjPDMt89VcxNkqS2yU1NGvgWZehE9wWjrdGQIgHrePYkq9lSZS14ZxOfQDKjGjHkrzVI2Ojsdtfr2t340="}],"size":38439,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.2.tgz"},"maintainers":[{"name":"antross","email":"antross@gmail.com"},{"name":"molant","email":"amolleda@gmail.com"}],"_npmUser":{"name":"antross","email":"antross@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-string_1.0.2_1586978531342_0.11129600882017132"},"_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":1586978531424,"_cnpm_publish_time":1586978531424,"dist-tags":{"latest":"1.0.14"}}