{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^3.10.1","eslint":"^6.8.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.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.4","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.4","_nodeVersion":"10.19.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-bCtH2Vrdcul6aiWu2htAb5uD2LxdQEN35Cbk6/MxsRSAo9stQYqNBCaLXmUMeE6HZGunMqXa4MnTfHEFKXR2TA==","shasum":"9d54682e6a1026263fde15c6775427389cec5c75","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.4.tgz","fileCount":62,"unpackedSize":569604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHzvqCRA9TVsSAnZWagAA+j0P/1/Wp/IidX6f6KifIH7g\nlBaBSh80XtzaRsmbRlMo54cWcSN+BMYgxA66+1RoVn7gMDf4i4llTfQB+Kc7\ndBreq1pD0mRprgzI6OliAlDCBgg86YJNobH6aFJAzkxmwN+QNhCeABFoXx0X\nivBVJvXG9yveUsQ0i8u4Z3T0YsodOC4O+4zQqnMzXoAD6urYP/gfftYrnATT\nAhjHXW9B2KzCKBwBV5XCuyDLHN3brpMO+3UtLImqcJ0fP9FBoHrk1+WPedJR\nt63JzBRTh0N7j+BdusgQvjL4+/12LWz29EEBB8zhrp/JP3DqMLxFNdCCLGOj\nvLsMNiJJSZv33pG39K5PIfrwLD8oFlFpxRZK3cZUyRdu7cfVU6NBPDkxlaPo\n0CLl9OmEQrVeAzxFefh5CbJ0yrQaHE9t+vqjm92EIXttNi+8pPB5ZwycOfrx\ntfZ1+CdhegA4hSkq7Uf7ccuWqPWxj0cVqs5KYCwRiMIBG/nnC0P9Kg6ctbjl\nMP+whJWeBqIvD6ZjTEgmHDFNwyKEUace9DBDrogALbJmtjHzN6Vqvw3SkLFS\nHCVwMsWyqw4J+7MasioeGw0aLIVD6352ogb/Dnec1WpOvGAWPek8b1FULJO4\n93fv8KqLQrQ57slHHORlUYReOwD4U/brvJwqydh/xFW8CEqknjLRMYkVRAqp\ne86V\r\n=Ewzs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEzrzEkptI3JdfcCq7JKwrL/DWB1AeCit04aQ/Aztlr9AiAcIGBgZMP2Pts+4G4GRhB2KPuPxmcrB2B2aYFVcVX35g=="}],"size":41522,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.4.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":"antross","email":"antross@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-string_1.0.4_1595882473709_0.6314232660515147"},"_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":1595882473874,"_cnpm_publish_time":1595882473874,"dist-tags":{"latest":"1.0.14"}}