{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^2.4.0","eslint":"^6.6.0","eslint-plugin-import":"^2.18.2","eslint-plugin-markdown":"^1.0.1","npm-run-all":"^4.1.5","nyc":"^14.1.1","rimraf":"^3.0.0","typescript":"^3.6.4"},"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 --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives","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.0","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Sn8xJf6ko+2y83bCSSaE/Ez7FRkkdmLV+5k61ugwGpv67IHfumBQxyT2+VzqYOpc7FDctzXuyZQzzP96/yLGXA==","shasum":"a35aa35559ef96b389fd95dff469af85a602e133","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.0.tgz","fileCount":62,"unpackedSize":318111,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5bTLCRA9TVsSAnZWagAA/oMP/j7lroF5tB9FrMzLEsD0\nrEUAmXXjakxQ4Oe+ClQE6kbczvzkGWXdv2uOyP41l9/yOwmg/+rOxb8/it/P\n6NEdQXVpZIzh/v/UG4V3xwdTM4QPyRWSsZgXsoSwYpHoAQ9fsKpmO2UJFs0h\ntWRfYBmo2Ns4cYT5XWy+/HWjgU8U1zq3K8rSUcTvkQwbN6mD9OnGZ+JuDTvL\n+VUM7fRIoHPBajVmbZPHPfV7vWDHA4GujEJgNRwMDq0DU2vhyoRDss854+UX\nMWrSh+Y6YPzwHhA21+lkvpwPV921UgWb+xeAILsBDaBLteT8Ev87oI/rHbkE\nV13L/a959kYfG9yCQCsAkqhqTGZCqCX2dPSr+i3f8JhRRKoBC7LLj29RfI1I\nY3GyLZ/5y1iqtL7JGAV5DEQ94+aEkYtazNKQLg+Eiy36COrVJ3nu3NSBADtp\nlGPp/m3sbngp+FosJx0oriuVDdSNbwDqOngYMBYkZLsdoNNsUO5o5Wj4Ni7a\n4Cp8PgiJ4QiYBiQ5tk2nHpPOC5QqmimIvYZPh/f74pLXtpDTONOXesik2fs8\nFfUbuHA4RzQKSkxAiM6lpS+dUpOSKqiSnmerCR/ez6tzxtj+9Jzchc9JeYhT\np0wLT2l1XfRMaozMkPLxw3dD/Ii0YAhM88f8lZUtlDZn5QuNDeLOTYmExmxv\nZ7rn\r\n=LBBK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEALzYqqzWzdQ52sM8NV9di66BmfmJKGj1974tfaT76WAiEAoYdGXMPxvBXVwhBeP7z/azOo6FOjxfo1jvMq0jrVPZI="}],"size":33495,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.0.tgz"},"maintainers":[{"name":"antross","email":"antross@gmail.com"},{"name":"molant","email":"amolleda@gmail.com"}],"_npmUser":{"name":"molant","email":"amolleda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-string_1.0.0_1575335114869_0.977816633260701"},"_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":1575335115000,"_cnpm_publish_time":1575335115000,"dist-tags":{"latest":"1.0.14"}}