{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","eslint-plugin-import":"^2.22.1","eslint-plugin-markdown":"^1.0.2","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.1.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.7","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.7","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-JABisa7oYdrkc/6lWxRrOrS2L4TmjRFCWJh7YLKqBpgJlhIb3/rpeusZIRHG299SD9QKuz16c01hm8jHg0jbww==","shasum":"184bd1ca52b7b2321222c181dea7f4b106ce8afb","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.7.tgz","fileCount":62,"unpackedSize":475457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHEwtCRA9TVsSAnZWagAAU4QP/08fFCkf5vkDF/s6dB7J\nhlPP/YRwlcEvmsgsmdIyid8ul9XiT8JPLD9928SZzr6Mk1MHNmL9J1Pfc4jI\n3Ureep2ZyDaw5JDpB/2JgHIyiNC+vOZTxawN+qeBUBdGs52g5CwfCW1FK2TZ\n2aELMEBjKajZZLLdDcHbVuGmJSMo3mswXUSGdw6eT3rhvQ2QqdACEzl3iYQR\n6oYwbtXY1A8Sqd9zxiQ/bjtrWS18cKfLqnQaLqu+MoXonOBaUCE1K7MuERyX\nHYbKB5jZMXWtuMya2NU+4q0YPLdD5SRRaFYVSfVI8HDxsPxThwjNdcoXy9if\n0dk/g5v/AayYAYFVY+HNQ5bbRxypw0BpUA6WFXqklTnf3dF5Slz94qpeuqFH\n5fawR/qUAbN5ht0o+oYRNL9bOuKKWRncdFoIInvjIp0T3pG9QV7APGBmO66k\nfn3cVxbS+mupubkg8kx+nN8zs9LqP7VB0dNRNYXDNoF0jpK9IVt/gHFcQ/Er\nTnJ3khTwJsVB1zzb/jIwMF3bQBmyL5PJ1VVszas6bJ+oPSW2WSFa7jDh4957\n966Be3kiUoUNRe6FHVfIY2TV8Le9vCi2bTdJZJuBLszDCe1H4KbmnLG9EVWs\nnxdBYI1pNGrHbetiNE2VvmKfUy08bBo4dkGhBGsXc7A+bKpG3bQxI1yhEGZY\nAEs1\r\n=BZNt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAj5BUtcwWNv0LTGu4Oc/Enogna1IzH567gXkIsScMXQIhAKfDukdSLbVBBxH3lOKc6QPTSEUneduXBPjXVCS8y4Pw"}],"size":45586,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.7.tgz"},"_npmUser":{"name":"sarvaje","email":"jdgarcia@outlook.com"},"directories":{},"maintainers":[{"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.7_1612467244421_0.34660776830202766"},"_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":1612467244910,"_cnpm_publish_time":1612467244910,"dist-tags":{"latest":"1.0.14"}}