{"_id":"@andrew_dominican/string-lib","_rev":"2-82bdeff7df7811d4ac7386d3487adfc1","name":"@andrew_dominican/string-lib","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@andrew_dominican/string-lib","version":"1.0.0","description":"A collection of essential string utilities to aid in the manipulation and transformation of strings in JavaScript.","main":"./src/index.js","scripts":{"test":"jest","test:coverage":"jest --coverage"},"keywords":[],"author":{"name":"andrew_dominican"},"license":"ISC","devDependencies":{"jest":"^29.6.3"},"_id":"@andrew_dominican/string-lib@1.0.0","gitHead":"349fbed2bf6ebdfb6a8d82ef691b9f07f6255bcb","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-HJ9/IWdVogMcb/wcZS7OPxC6IbPZYBXz8BCkfcAt/e8bCmDPNIf3hvV8WUV9uihlANk30FheRfrOyB1UIUVr+A==","shasum":"c70214b6ecf88ce80b44829688c4eaa3e0b26295","tarball":"https://registry.npmjs.org/@andrew_dominican/string-lib/-/string-lib-1.0.0.tgz","fileCount":4,"unpackedSize":7363,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA5Q9G8waMCEcgQzVCkXaPFI4xPIRTO//MjIidzg30wgIhANN4YyfxKPfDyPCVDwiJ1dgzNANCYyZQ54eP7Y0gswBq"}]},"_npmUser":{"name":"andrew_dominican","email":"andrew.alsing@students.dominican.edu"},"directories":{},"maintainers":[{"name":"andrew_dominican","email":"andrew.alsing@students.dominican.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-lib_1.0.0_1692810305624_0.3591215675656054"},"_hasShrinkwrap":false},"1.0.1":{"name":"@andrew_dominican/string-lib","version":"1.0.1","description":"A collection of essential string utilities to aid in the manipulation and transformation of strings in JavaScript.","main":"./src/index.js","scripts":{"test":"jest","test:coverage":"jest --coverage"},"keywords":[],"author":{"name":"andrew_dominican"},"license":"ISC","devDependencies":{"eslint":"^8.47.0","eslint-config-airbnb":"^19.0.4","jest":"^29.6.3"},"_id":"@andrew_dominican/string-lib@1.0.1","gitHead":"acde71f7595f1597c57242c27c008e8569a9e7e0","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-aFahixPDkb0VWcNuHTVI3hQZJ0Wd+RRX+Xjf7xO85qBGJEpWx/I/rSqfXdRqCu3s3w4/6v7SwLvXQh6zccGDPg==","shasum":"f563c969d0748128b468791cb0f972bfb9d144dc","tarball":"https://registry.npmjs.org/@andrew_dominican/string-lib/-/string-lib-1.0.1.tgz","fileCount":6,"unpackedSize":7766,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmDasUzTFyjvzbIEjc5vcKVuOCIeNZopxy4PdW4TMNpQIgGnFVPqm3Zya9Zaz+bKAeGppVp140UEhT7kOSs99YkDY="}]},"_npmUser":{"name":"andrew_dominican","email":"andrew.alsing@students.dominican.edu"},"directories":{},"maintainers":[{"name":"andrew_dominican","email":"andrew.alsing@students.dominican.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-lib_1.0.1_1692813403072_0.10033726377386709"},"_hasShrinkwrap":false},"1.0.2":{"name":"@andrew_dominican/string-lib","version":"1.0.2","description":"A collection of essential string utilities to aid in the manipulation and transformation of strings in JavaScript.","main":"./src/index.js","scripts":{"test":"jest","test:coverage":"jest --coverage"},"keywords":[],"author":{"name":"andrew_dominican"},"license":"ISC","devDependencies":{"eslint":"^8.47.0","eslint-config-airbnb":"^19.0.4","jest":"^29.6.3"},"_id":"@andrew_dominican/string-lib@1.0.2","gitHead":"a72f037f5635ef001ef2121d0419115873e6e96e","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-oTG9is5Oe1Pr8Yd8Vq5P/2ZhSR0SgxZEYHYexIWaNBSJ+dW5V4XOIW45O7hfp0DsY4pAu/it3MwweOtsbKGllw==","shasum":"ee82c3e5ad6164e3334bb18db187bfa194cce0fe","tarball":"https://registry.npmjs.org/@andrew_dominican/string-lib/-/string-lib-1.0.2.tgz","fileCount":6,"unpackedSize":7893,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6igrJqDQXo+cb5mk/pVuMLgeEOoIs3PDIk/kiCo0FOQIgL6YUyhqPHhES33lpywK0gArpsEk1giQYWEksJVz8uf0="}]},"_npmUser":{"name":"andrew_dominican","email":"andrew.alsing@students.dominican.edu"},"directories":{},"maintainers":[{"name":"andrew_dominican","email":"andrew.alsing@students.dominican.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string-lib_1.0.2_1692814599059_0.41163948303460973"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-23T17:05:05.501Z","1.0.0":"2023-08-23T17:05:05.852Z","modified":"2023-08-23T18:16:39.458Z","1.0.1":"2023-08-23T17:56:43.243Z","1.0.2":"2023-08-23T18:16:39.267Z"},"maintainers":[{"name":"andrew_dominican","email":"andrew.alsing@students.dominican.edu"}],"description":"A collection of essential string utilities to aid in the manipulation and transformation of strings in JavaScript.","keywords":[],"author":{"name":"andrew_dominican"},"license":"ISC","readme":"# String Library\n\nA collection of essential string utilities to aid in the manipulation and transformation of strings in JavaScript.\n\n![npm package minimized gzipped size (select exports)](https://img.shields.io/bundlejs/size/%40andrew_dominican%2Fstring-lib)\n\n## Installation\n\n```bash\nnpm install [string-library]\n```\n\n## Usage\n\n```javascript\nconst {\n    capitalize,\n    allCaps,\n    capitalizeWords,\n    capitalizeHeadline,\n    removeExtraSpaces,\n    kebobCase,\n    snakeCase,\n    camelCase,\n    shift,\n    makeHashTag,\n    isEmpty\n} = require('[string-library]');\n\n\ncapitalize(str)\nDescription: Converts the first character of a given string to uppercase.\nExample: \"hello world\" returns \"Hello world\"\n\nallCaps(str)\nDescription: Converts all characters of a given string to uppercase.\nExample: \"foo bar\" returns \"FOO BAR\"\n\ncapitalizeWords(str)\nDescription: Capitalizes the first character of each word in a string.\nExample: \"do all the things\" returns \"Do All The Things\"\n\ncapitalizeHeadline(str)\nDescription: Capitalizes each word except specific small words unless they start the string.\nExample: \"the most foo in bar\" returns \"The Most Foo in Bar\"\n\nremoveExtraSpaces(str)\nDescription: Removes spaces from the beginning and end of a string and replaces multiple spaces with a single space.\nExample: \" Hello world! \" returns \"Hello world!\"\n\nkebobCase(str)\nDescription: Converts a string to kebob-case, removing extra spaces and replacing spaces with hyphens.\nExample: \" Hello world! \" returns \"hello-world\"\n\nsnakeCase(str)\nDescription: Converts a string to snake_case.\nExample: \" what the heck \" returns \"what_the_heck\"\n\ncamelCase(str)\nDescription: Converts a string to camelCase.\nExample: \"Camel Case\" returns \"camelCase\"\n\nshift(str, n)\nDescription: Takes the first n characters of a string and moves them to the end.\nExample: shift('foo bar', 3) returns ' barfoo'\n\nmakeHashTag(str)\nDescription: Converts the given string to a hash tag. Picks the three longest words if more than three words are provided.\nExample: \"Amazing bongo drums for sale\" returns ['#amazing', '#bongo', '#drums']\n\nisEmpty(str)\nDescription: Returns true if the string is empty or contains only whitespace.\nExample: isEmpty(\" \\n\\t\\r \") returns true\n```\n","readmeFilename":"README.md"}