{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^3.10.1","eslint":"^7.6.0","eslint-plugin-import":"^2.18.2","eslint-plugin-markdown":"^1.0.2","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^3.9.7"},"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.5","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.5","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Jm3HuhXxhs0X6NlcEn8EkP03VH/EK2yPb5NRmld+np4qLJZRwnJY+p6Q4JS5w2bz8GxnXSyvqZxGAnn+e3N14Q==","shasum":"01019163533ace81a3d2c95120706e4e8e72a843","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.5.tgz","fileCount":62,"unpackedSize":717695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRDg1CRA9TVsSAnZWagAAHzwP/2WoFVUinYpyBOvN7B5S\nuYKbl6eIJzHBKvsXKliewbb7oEGYB4clK78sB/m2h3IGJWJLezSr6dVNyh4y\neoxOKig5GZzXi8u+glUnhoVy5ojceAg1AlwJBteq4VFxfCG2ca++Jpgxs3PZ\nHyILxYYGkVcWWyB84hRguf38x4DL54S9zpvJmdwtHtiWTFKyAm+v0yMJd+69\nVvY7xsLa1W2QXW5EMjtzHqjtbJjp//wj2u4+oBQJxIbDfnXkHqeMc9Ax0WeM\nnb1ursM5HCVD3R+LwwEu4+zuM1yr0RsvXh17ShMIzabobXPftMsvSkmpuvue\nkFGjlivg46MiemABr1a7fw94SriVW/2ck0NQosf/vNFahqdOSzfw4o5qwzFt\nduhu961NNtPv0MYhtg7pJpDAdj0q6b8aSbOzkDcKks/M8pyyDz4WpTQapFwK\nnTzIzErLacbBTd7lNu3gVcJHhgaEcbHGXBSTZLkanMX5+L/mC3qBaxGhP+y2\n9t+n6+6ASosjgJflFxwlAbV46479AH9GBRr4Ge+vfdx5R+nM37lPJHsplkO/\n9AJKjSL1XbSwoBX1A9e/DIsLIqU5QZ0OEfpoRL8Fou1ydWV2/XqYqA7SEqSq\njZ00WlaGaWT3tE4u1Iqzid5FE2mZXw3W3LFcVWm3Gd1oqQlbI4C7v7zEsLAW\ni3oL\r\n=OdLU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEblaFQJRVUUKQAtocB5wI9zrtl3Knw33aBZ05V77csBAiEA1sfmkL9fTP+eAF2A8rX6nmZXgZomMm7Vj6FPWlDKAqk="}],"size":45853,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.5.tgz"},"maintainers":[{"email":"antross@gmail.com","name":"antross"},{"email":"John.Emau@microsoft.com","name":"johnatms"},{"email":"amolleda@gmail.com","name":"molant"},{"email":"jdgarcia@outlook.com","name":"sarvaje"}],"_npmUser":{"name":"sarvaje","email":"jdgarcia@outlook.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-string_1.0.5_1598306357511_0.42143131726162397"},"_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":1598306357705,"_cnpm_publish_time":1598306357705,"dist-tags":{"latest":"1.0.14"}}