{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{},"description":"utils for strings","devDependencies":{"ava":"^3.12.1","eslint":"^7.8.1","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.0.2"},"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.6","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/utils-string@1.0.6","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-CykHFquHdRsSMGvMkfFymIVaygBSPxfD28abEwb5w5I+aOXyKH9UfQhnIICXWLi0061iCyxEsWKvsdrfGCxaCw==","shasum":"947c9a838759c341db2923ff91d1552692bd9f1e","tarball":"http://registry-npm.ywwl.com/@hint/utils-string/download/@hint/utils-string-1.0.6.tgz","fileCount":62,"unpackedSize":466625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrE17CRA9TVsSAnZWagAAGA0P/0hhSYJy5ibC/4ROFvBQ\nSomAPqAHzF0DhL7ijQo8omG+y9Pg10WssoR4CW3cLvW/EJ+ZSCwsNqZZFQPq\nUmkyM7WwZL1aIM56LVrol7mGsBhFGnTE2n/EcWTorwUY2JO8tWwCZn4tP929\nji51DOVGA1H1rMoOTsCOdLC07DX7FZm9Kp5PSyOxgKSuTpctfndnaUEkkQyE\nhCY9GQD+ChE+FnMOVyOJU1R7F6i6Xt2I30vqZvwPxWbnYQbqDNhBxcEd7K6d\nG2VrF+SZfQ+2XCcM1ts5b01POMI/udptZlvndzCHHlBW67/xvVjBNp/A6xwK\nNbh6P21BqE4R24wyVnJAZupy5ncGW5Rb8NRcAIGqxgxOp495xiU36bhoG+l1\nAGJ433rv0TaSF905f4jA1q5XByNzTDEcvkj+/dLM2tArJEb+7n+74TxHkxkU\naBM/srsOjfgeFqouuy9eZuYQp6jLIHs0v0N9kPjHIq4PN7djp8//0bNQiRBb\nO42k74XdwJcNLQIB5ybBgLUbHapglPRIUgu3nIhaYNArxeGLHgPZk5qPZwJX\no0GucZjXMCex+CzgLr/+3U7ZpeM4p9h3IODirgZmlK486i1st96senZvlELr\nBS4x2vPEWFk31fPLhqTPFar2mOUknXxRf7i7tLoU+aovewRsbQk7f3H+0H81\n8LnQ\r\n=TcVc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3iokxU6BsF+Lj99aLz9cS/wnyYPgffUx9ToMVQrVsfAiA/AwwH3tWiUFHwCCSMyPhxdcdWKUEARn0iTuFgjeG0yQ=="}],"size":44658,"noattachment":false,"key":"/@hint/utils-string/-/@hint/utils-string-1.0.6.tgz"},"_npmUser":{"name":"sarvaje","email":"jdgarcia@outlook.com"},"directories":{},"maintainers":[{"name":"sarvaje","email":"jdgarcia@outlook.com"},{"name":"johnatms","email":"John.Emau@microsoft.com"},{"name":"antross","email":"antross@gmail.com"},{"name":"molant","email":"amolleda@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-string_1.0.6_1605127547480_0.7894358068352427"},"_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":1605127547608,"_cnpm_publish_time":1605127547608,"dist-tags":{"latest":"1.0.14"}}