{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^3.4.0","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.1","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-dAD8ANszJBHcm/8u82o5DF8CSsMcvxzrun/DKDScLBVXb/qh2nJDNsBX470/MZ9ah0Ks1UN0kBOIc+lZNveZ0A==","shasum":"677f00001059cfe0f770263389dbcd21a338e3c7","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.1.tgz","fileCount":62,"unpackedSize":377889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecpnJCRA9TVsSAnZWagAAYg0P/jTZlyqYfVpP0eS9MQ4A\nKSpR4i644Ak7Mcubz77geAo7l3UpA7LWrP6X1Gt6hD/m9f1Ao6Vb/jnbMw1r\ndXNMKKI0G+Wp1jvlT7e55f9Z6smlRq3ARgKEhypvsuOKxn/Yuwkk4BCeHqcs\nhrcSmjIcegcXxOOUbkPLeDoAKd2trKFML7zuOcblInwvJ75CbCkkjfH6grho\njs0AFNMfgALuWgvBpoTBqxSWE+gYG5Y3mBI7PJADTvdxa2B2b0X1RW6rUi1h\ndaLWRQgyUxGsB9xjCkScTxJ9EpbmntBmRlK5CEcm40qOmXCDBSxEWZMDCI7/\n7NR8H0YFdvfZRP8GtleOmYrA81COD1AoLRxAIEPm+zNLz+enm3S7WLM4w2Jx\nWkIj1URyhIFRUc9iS0/vhROUclwcpWORkrScsEWrD+GKejnKig16GeNivL0e\nG/XvvEts+tedf42EcjuRWuWXDFK+Z6O2+jDjkFniDs2VJ1HGLGTschwCo+DR\nbRHYZSqg/Tgw8gc1ihzJ3ydl3IK2irb4Wxn8ALsljMYKlQCGaXweFnWxn+1r\nf3AZ2sdBn1yqB8GEnvSwFt3Q2igZXkhqisRESVEDaVOEROgrIlHY2ktXFrIX\np64GTP/ldVWNSORS6QdnnboQmDUVZFD8/gE1oYHO6cYgoWGAZ/aNoiT/U8LU\n1nQ9\r\n=qwvs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdmMK/g+5NMFksIrORRzwKP2Zg80Qy6Whq+oTghLta4AIhAJs7z7tM5mQTIn2jUx3LDEHk8SqMM7/GfBfpOB+xNfYM"}],"size":38242,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.1.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.1_1584568776934_0.8387780628915"},"_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":1584568777085,"_cnpm_publish_time":1584568777085,"dist-tags":{"latest":"1.0.14"}}