{"_id":"@balboacodes/laravel-helpers","_rev":"16-8741a3b370402a78ceea332b4cab28ee","name":"@balboacodes/laravel-helpers","dist-tags":{"latest":"0.13.0"},"versions":{"0.1.0":{"name":"@balboacodes/laravel-helpers","version":"0.1.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.1.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"c362e3a5157b0e804348127bfbeea4e9aca18d80","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.1.0.tgz","fileCount":5,"integrity":"sha512-uH/9HGSKwdMI81Q6fjZQ/eL6O2pFy8fIzb9UJabD/KBBP4S9hnCwA0hFFlhNiPyKugPqGsHcraNuH5NWkDawpQ==","signatures":[{"sig":"MEYCIQD9Cchmn2PBI35zum9AdKsxIgOQvWnY6WljXtvY/kg2/QIhAORtcle46n5d3EGmA89t938Zgnp0MBKLqUWU4W/A7sqb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":209936},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"32e5edc80daa0601f45925dedc505621f40dadf9","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"balboacodes","email":"npm.md13a@slmail.me"},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"[![publish](https://github.com/balboacodes/laravel-helpers/actions/workflows/publish.yml/badge.svg)](https://github.com/balboacodes/laravel-helpers/actions/workflows/publish.yml)","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.1.0_1761929875417_0.7703441639600217","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@balboacodes/laravel-helpers","version":"0.2.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.2.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"ba806f8fddc3869d7a213108c2ac398032027e32","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.2.0.tgz","fileCount":5,"integrity":"sha512-Yp9ErLpZNE1GtrqpMwErBi//qKXz/imZGOx3YXlT4aWKsdq59LZsgby/9Htb850r/Ld5hYv0ortuDnhaQPkljg==","signatures":[{"sig":"MEQCIEgALDO1OV+vhL0k7IEvaYVNRa2ex4XOGvPTZP7bNKr2AiBnliVuIou+vkBqy6vDEYWg9V6QPs/ucVgP3IidXsqxgQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":214608},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b1014931bd99351689c926d1e06be99ef7908fab","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.2.0_1761980355145_0.7723568544126775","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@balboacodes/laravel-helpers","version":"0.2.1","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.2.1","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"59e40bd4b79d02f5295af2a50b831c4d47fb5b5a","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.2.1.tgz","fileCount":5,"integrity":"sha512-Y1NDUkxVFCdh+RQwJySrNygGjzJnCX2tMVOrsUD0AI0ENny4Jq5TTJdlcsZ/e5BJotbEalQRG056jbTe19aGcg==","signatures":[{"sig":"MEUCIGCcXayCYQEd3MLrSsjBXf49b6Atlo6klGrHU2jmATEeAiEAxwGorTuLK9uG7azJoTxTYOxlFuyOTjGBQcTqlt8PbZk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":214565},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"38788f7eff2aced927283710017ca25bc10b636f","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.2.1_1762104306155_0.7691415466962082","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@balboacodes/laravel-helpers","version":"0.2.2","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.2.2","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"4e3123aa7b423f38d0fff09365f65f40ee8692ef","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.2.2.tgz","fileCount":5,"integrity":"sha512-7tkMMzQhRIdVjZItDdVaM6ALo7QD0CdDnecr5fJANMDuJSN+ndctLIWA1Xpb7fK16ufJrARHNMUqmDK+IZIxXw==","signatures":[{"sig":"MEQCIGzQ1919kpaLlabl7O+O9f+Mxbid/I+oUsDK5br53hAtAiAhr3DQgp+LjKd3ZwwZkoJ8B4z6i9/AaEu2WF3gqOaEhw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":214963},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"aae3d1a92adfdbd63fca52d4d325a3eef9c21d03","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.2.2_1762104832794_0.7065939073283323","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@balboacodes/laravel-helpers","version":"0.3.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.3.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"3b0fb928dde00f062ee6f791f803fe64699a5ef4","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.3.0.tgz","fileCount":5,"integrity":"sha512-uTgZLYvCf7aofWf1FU4v0894G0hAdSIz+YNW7p3IC8JtpjF10f6jadRKoMcva9JUNkuMf2kZS3zRAcwBbLaYCg==","signatures":[{"sig":"MEYCIQC8/1kn8VmuHWsrgdrw9A80ujab2NNJiAt5Fr8e/rv0mgIhAO/w+Wv3nVKpknshB1EqspmjPKR25PTNNTbYDMf+a1IA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":215118},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"e0732ddc545a8f1f35b4bc53148057a747020c2e","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.3.0_1762109042069_0.4705354267315429","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@balboacodes/laravel-helpers","version":"0.4.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.4.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"6b0c2a9029986ea2d586929f77922a6a0da0a28d","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.4.0.tgz","fileCount":5,"integrity":"sha512-mj/RPEmAo8kb8ctV6KsXLEAmRZYg5n9yRjvl16Pq8jqNI2/mSFJ1PuUSZup1SPGrIetdTMnKrhNuICjpQW37xA==","signatures":[{"sig":"MEUCIQCO6YP06hQuTNtWznOP2odk/ylhEyGKIuh50gBvvr/GyQIgRmlmn/1c4m1FVwykYF57B0f+gf5h1l2ixVP+EvPCldc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":217278},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ed1237a8b9d9a1b9f8fa9b0abeb0a675626eaa15","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.4.0_1762109840539_0.635466954701772","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@balboacodes/laravel-helpers","version":"0.5.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.5.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"6bd600c423a64148727e8fee280145a1707dd511","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.5.0.tgz","fileCount":5,"integrity":"sha512-1uyHtjCaYoF3yICTa1lxZeBhZ7dUupBWzredurHBdEGQmld0ILKnA5dtaEQ7aj/hAwDc61KHk8OMPtvSHH1kbQ==","signatures":[{"sig":"MEUCIEdWWZ77Q4rWLUBhbsDfjEpKvKdsk/gSGqqh6yhp0oW6AiEAxG+C2UHWKPdwsgV6tNMdXsSm5CVpmuRrEFIZZzgZs7U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":222825},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"2356c94fc8a36629574d5f1b378f8fe64a7f4eac","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.5.0_1762186761870_0.13947827675338198","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@balboacodes/laravel-helpers","version":"0.6.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.6.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"6353969e08bc647c985ec7aed8e619f56417ecc7","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.6.0.tgz","fileCount":5,"integrity":"sha512-/HlDM9dnQo6BO9UO+PLCdmTJNEuNjHHnMCauo6KW24YIKMZu2HGtsUPeUZBd02Q1zNo7Cd3/JNd3Kl6QTRrr9A==","signatures":[{"sig":"MEUCIGnxhFg0lFN06E1cq6u9LHHoP+I8i97jMiB6VYW6EixcAiEAy0mHd3rNfXIr983A2QsHQoX0eG9uJTXHm0lfyJOjE0I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":228806},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"50d56b1a9b653e64115f57dc4fa237b36b060ed1","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.6.0_1762206073696_0.06270558147165217","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@balboacodes/laravel-helpers","version":"0.7.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.7.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"b9b5f96487ed498ffdc6f175856ecf869f43a138","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.7.0.tgz","fileCount":5,"integrity":"sha512-Gov2D0Fnlg1xDmOwbZlnAquzZCxKmNo6O/wzVMLgiUawCemeoxMvrvIsM8LVE7sck29GxnxM8sSMF2lLLwe7sg==","signatures":[{"sig":"MEUCIHVrdNum6BvIARoVyOqXqPumNifqw1Auyka9JhUpsENiAiEAt7F/+eba7DilkeOf8H/+CzjtZyXUuyB8eqXvOY8wNUI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":229256},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"58957add5f0158826eb7b303670e646032407208","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.7.0_1762206973498_0.9787461259074686","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@balboacodes/laravel-helpers","version":"0.8.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.8.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"45a87dd25517145c78af05cc0541b45c02294ea5","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.8.0.tgz","fileCount":5,"integrity":"sha512-7v0/ku1glMAYKbQT9+hIcGSOf/OMU/JSNCD/eA43i3pI9vb6FNXKX3qwcwLzkhd2tyB6TApw/c2ylXzW6kmcxw==","signatures":[{"sig":"MEUCIGGQHCjlw1a4xJnMHJN6dEBGp1xbwddeMyxWZ42WTvgjAiEA6C7lgP1PhEq1xSC3+L10P6lAncGD6dym6zWJS7nmvNE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":230866},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b3d0cf08223e274e8cce23c606ed1eb82726e0a5","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^4.0.6","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.8.0_1762212988887_0.31635940865251944","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@balboacodes/laravel-helpers","version":"0.8.1","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.8.1","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"77e923b0bdcde7be10257f0fa73ae828c0611451","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.8.1.tgz","fileCount":5,"integrity":"sha512-SpmbQdqNcL2ZhSnTWmQ4hNFO1S068Jw6kMY+NKoGsZntR+AamC3/abmzieW+mu3OAGzV6ILxt6FjHMoUGEPLUA==","signatures":[{"sig":"MEUCIEJgjQ51A4lT7YUHu6I0E02BTi2f/EXlNOm+N5tvcI2EAiEArAS87ZWPeexGxrKcMLHi2B6agOjQT6hZnyZD5WXtXaU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.8.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":230749},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"530fb1cdbd95e1c5cadd365ed393c55f0d4d2920","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^4.0.6","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.8.1_1762213226884_0.6286003235143967","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@balboacodes/laravel-helpers","version":"0.9.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.9.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"f10259d6067adc5497ffe92ed56f1e97ac343831","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.9.0.tgz","fileCount":5,"integrity":"sha512-Gxzd/EsfI5BlMjeJnI6kux6R786WIOGcsAnRY8vpSBZ+ZFFTX1D8b+PdUqbGshjYzPBfLCChc1c4mBlok+YpWw==","signatures":[{"sig":"MEYCIQCC6FAjXrWJMW81qCNjdApwc7wEdMrV2+n8pEJcLE0CrwIhAITsbaOn+mj4pZpbZVtX2tLaQwMwQDXi7PaKA+Nb5XPr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":231614},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f644235094bb3497f53c0bb5ab73b1f45558f78a","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^4.0.6","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.9.0_1762263621908_0.30310975940376017","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@balboacodes/laravel-helpers","version":"0.10.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.10.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"a62287aaefd526c3ccbb619cc2b759cb6f5b7276","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.10.0.tgz","fileCount":5,"integrity":"sha512-u1cEiKz+fu6xRfhrlmGvxK/62S9hhlBIgMWqmdnRCVclx8SPwweeQaQRTX3+a7vlfSADIgZPYNmvJ/LRsIEiEw==","signatures":[{"sig":"MEUCIBLEuWxNv10pD2qwuTM5PYH7L4j96omlHu8MqZF1h4rtAiEAkQHF5st3B3LQHUZXA8J7qx4D8Gg+aEtvHyPkNCrYpfc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":231969},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"fce6c16d94e1e8431d68639ab09dc59c759a813e","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^4.0.6","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.10.0_1762266673157_0.020754618893267462","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@balboacodes/laravel-helpers","version":"0.11.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.11.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"c8a9ae677c9aba8ad58950c8913e50bef223dfc2","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.11.0.tgz","fileCount":5,"integrity":"sha512-xIqVZL1BHbqJTvdzSKWZKW9Br2Bsjdq5iYuZSlfmRMe2LaKzhobcmlY9/qoJN9CbaSiivaQ2hWcoCpAh5Fs6BQ==","signatures":[{"sig":"MEUCIFvCDPC+TYa6qCQfdNYwxbJfMzZHlsJidifScOzrJ/EZAiEAy8mZM5JycaZP7pch49uyya+d0KikYK5n5dWd6OwuQz8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":231749},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"53d7a42d5ae30c103a5595966937b0b9ad83f3a5","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.9.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^4.0.6","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.11.0_1762272759067_0.8578567551053085","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@balboacodes/laravel-helpers","version":"0.12.0","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"author":{"name":"Balboa Codes"},"license":"MIT","_id":"@balboacodes/laravel-helpers@0.12.0","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"dist":{"shasum":"dcbb5853b895abc6f7188cce13ded35b19b05fb8","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.12.0.tgz","fileCount":5,"integrity":"sha512-jHAJYStC04Ei2z6FtaNdr74Qqx53nUQYK7utQhxa1hw5yib6NqNCiHzd0Mamv1J0PTrEupl0KIHaU8EWOGxhvQ==","signatures":[{"sig":"MEUCIF/yOxvouuNeCQuypVs7VhYajwfICunBy/Qycd2X6FBOAiEA61500WSWQsgtQB4eP1W2v9vmPx0/PbUEGoJ1cnvAy8Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.12.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":233092},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"64134f57d423b88efffa86e9728baa5dc94a99af","scripts":{"test":"vitest","build":"tsc && vite build","format":"prettier --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"repository":{"url":"git+https://github.com/balboacodes/laravel-helpers.git","type":"git"},"_npmVersion":"11.6.2","description":"A TypeScript port of Laravel's helpers","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@balboacodes/php-utils":"^0.9.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.1.12","vitest":"^4.0.6","prettier":"^3.6.2","typescript":"^5.9.3","vite-plugin-dts":"^4.5.4"},"_npmOperationalInternal":{"tmp":"tmp/laravel-helpers_0.12.0_1762281471596_0.825726020364167","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@balboacodes/laravel-helpers","version":"0.13.0","description":"A TypeScript port of Laravel's helpers","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"homepage":"https://github.com/balboacodes/laravel-helpers#readme","bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"repository":{"type":"git","url":"git+https://github.com/balboacodes/laravel-helpers.git"},"license":"MIT","author":{"name":"Balboa Codes"},"type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"engines":{"node":">=22"},"scripts":{"build":"tsc && vite build","format":"prettier --write .","test":"vitest"},"devDependencies":{"prettier":"^3.6.2","typescript":"^5.9.3","vite":"^7.1.12","vite-plugin-dts":"^4.5.4","vitest":"^4.0.6"},"dependencies":{"@balboacodes/php-utils":"^0.9.0"},"gitHead":"a147405a236ddc3a66226e0be1908aa981d71b01","_id":"@balboacodes/laravel-helpers@0.13.0","_nodeVersion":"22.21.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-sdYNqOkFGvMDATDVMiuNEoHyvdHbqIDfcgcBw3tlt9Jc7CruD4a/XkeI2liLrvO5Fazfz7z5EwnxnN2h2DSaQA==","shasum":"ee78e81b2968bea4b88edca00a8544efda93380b","tarball":"https://registry.npmjs.org/@balboacodes/laravel-helpers/-/laravel-helpers-0.13.0.tgz","fileCount":5,"unpackedSize":233092,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@balboacodes%2flaravel-helpers@0.13.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCq3eGffAGiVvRGNVgZ/3Hu57rS6PiQP+4FGZF9EZvZJAIhALPplYtVE6yf7z+URPDpJ66q5txMslSTh9lNkuOUj58O"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:97a25e4e-2299-4ddf-a276-d8a75729764a"}},"directories":{},"maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/laravel-helpers_0.13.0_1762367577976_0.33894730697393527"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-31T16:57:55.348Z","modified":"2025-11-05T18:32:58.596Z","0.1.0":"2025-10-31T16:57:55.638Z","0.2.0":"2025-11-01T06:59:15.343Z","0.2.1":"2025-11-02T17:25:06.360Z","0.2.2":"2025-11-02T17:33:53.016Z","0.3.0":"2025-11-02T18:44:02.270Z","0.4.0":"2025-11-02T18:57:20.733Z","0.5.0":"2025-11-03T16:19:22.102Z","0.6.0":"2025-11-03T21:41:13.918Z","0.7.0":"2025-11-03T21:56:13.716Z","0.8.0":"2025-11-03T23:36:29.130Z","0.8.1":"2025-11-03T23:40:27.093Z","0.9.0":"2025-11-04T13:40:22.119Z","0.10.0":"2025-11-04T14:31:13.348Z","0.11.0":"2025-11-04T16:12:39.259Z","0.12.0":"2025-11-04T18:37:51.781Z","0.13.0":"2025-11-05T18:32:58.208Z"},"bugs":{"url":"https://github.com/balboacodes/laravel-helpers/issues"},"author":{"name":"Balboa Codes"},"license":"MIT","homepage":"https://github.com/balboacodes/laravel-helpers#readme","keywords":["laravel","helpers","strings","stringable","arrays","objects","collections","numbers"],"repository":{"type":"git","url":"git+https://github.com/balboacodes/laravel-helpers.git"},"description":"A TypeScript port of Laravel's helpers","maintainers":[{"name":"balboacodes","email":"npm.md13a@slmail.me"}],"readme":"# Laravel Helpers\n\n[![publish](https://github.com/balboacodes/laravel-helpers/actions/workflows/publish.yml/badge.svg)](https://github.com/balboacodes/laravel-helpers/actions/workflows/publish.yml)\n\n## About\n\nThis package is a TypeScript port of many [Laravel](https://github.com/laravel) helpers. It aims to remain as faithful as possible to the originals.\n\n## Installation\n\n```\nnpm i @balboacodes/laravel-helpers\n```\n\n## Usage\n\nBecause there are so many helpers, the usage for all of them cannot be shown here. To see if the function you need is available, you can do a search of the provided type definition file or the [source](https://github.com/balboacodes/laravel-helpers/tree/main/src) here on GitHub. Here's a sampling of some of the functionality provided:\n\n### Arrays and Objects\n\n```ts\nimport { Arr } from '@balboacodes/laravel-helpers';\n\nconst array = Arr.collapse([\n    [1, 2, 3],\n    [4, 5, 6],\n    [7, 8, 9],\n]);\n\n// [1, 2, 3, 4, 5, 6, 7, 8, 9]\n\nconst object = {'products': {'desk': {'price': 100}}};\n\nconst flattened = Arr.dot(object);\n\n// {'products.desk.price': 100}\n```\n\n### Collections\n\nThe Collection class provides a fluent, convenient wrapper for working with arrays or objects of data.\n\n```ts\nimport { collect } from '@balboacodes/laravel-helpers';\n\nconst collection = collect([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);\n\nconst chunks = collection.chunk(4).all();\n\n// [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10]]\n```\n\n### Numbers\n\n```ts\nimport { NumberFormatter } from '@balboacodes/laravel-helpers';\n\nconst number = NumberFormatter.abbreviate(1000);\n\n// 1K\n```\n\n### Strings\n\n```ts\nimport { Str, str } from '@balboacodes/laravel-helpers';\n\nconst slice = Str.after('This is my name', 'This is ');\n\n// 'my name'\n\nconst slice = Str.of('This is my name').after('This is ').title();\n\n// 'My Name'\n\nconst slice = str('This is my name').after('This is ').title();\n\n// 'My Name'\n```\n\n### Miscellaneous\n\n```ts\nimport { blank, throw_if } from '@balboacodes/laravel-helpers';\n\nblank('');\nblank('   ');\nblank(null);\nblank(collect());\n\n// true\n\nblank(0);\nblank(true);\nblank(false);\n\n// false\n\nthrow_if(true, () => new Error('test');\n\n// throws\n\nthrow_if(false, new Error());\n\n// doesn't throw\n```\n\n### Other Utilities\n\n#### Benchmarking\n\nUtilize the Benchmark class to measure the number of milliseconds it takes for the given functions to complete.\n\n```ts\nimport { Benchmark } from '@balboacodes/laravel-helpers';\n\nconst benchmark = Benchmark.measure(() => /* some operation */, 10);\n\n// 0.5 ms\n\nconst benchmarks = Benchmark.measure({\n    'Scenario 1': () => /* some operation */,\n    'Scenario 2': () => /* some operation */,\n});\n\n// { 'Scenario 1': 0.5 ms, 'Scenario 2': 20.0 ms }\n```\n\n#### Lottery\n\nThe Lottery class may be used to execute callbacks based on a set of given odds.\n\n```ts\nimport { Lottery } from '@balboacodes/laravel-helpers';\n\nLottery.odds(1, 20)\n    .winner(() => user.won())\n    .loser(() => user.lost())\n    .choose();\n```\n\n#### Pipeline\n\nThe Pipeline class provides a convenient way to \"pipe\" a given input through a series of object instances or functions, giving each the opportunity to inspect or modify the input and invoke the next callable in the pipeline.\n\n```ts\nimport { Pipeline } from '@balboacodes/laravel-helpers';\n\nconst result = new Pipeline()\n    .send(user)\n    .through([\n        (user: User, next: Closure) => {\n            // ...\n\n            return next(user);\n        },\n        (user: User, next: Closure) => {\n            // ...\n\n            return next(user);\n        },\n    ])\n    .then((user: User) => user);\n```\n\n#### Timebox\n\nThe Timebox class ensures that the given callback always takes a fixed amount of time to execute, even if its actual execution completes sooner.\n\n```ts\nimport { Timebox } from '@balboacodes/laravel-helpers';\n\n(new Timebox).call((timebox) => {\n    // ...\n}, 10);\n```\n\n## Documentation\n\nThe documentaion for all of the helpers can be found on Laravel's documentation pages. All you have to do is convert the syntax to JS. Here are the relevant pages to look at:\n\n- [Arrays and Objects](https://laravel.com/docs/12.x/helpers#arrays-and-objects-method-list)\n- [Collections](https://laravel.com/docs/12.x/collections#available-methods)\n- [Numbers](https://laravel.com/docs/12.x/helpers#numbers-method-list)\n- [Strings](https://laravel.com/docs/12.x/strings#available-methods)\n- [Miscellaneous](https://laravel.com/docs/12.x/helpers#miscellaneous-method-list)\n- [Benchmarking](https://laravel.com/docs/12.x/helpers#benchmarking)\n- [Lottery](https://laravel.com/docs/12.x/helpers#lottery)\n- [Pipeline](https://laravel.com/docs/12.x/helpers#pipeline)\n- [Timebox](https://laravel.com/docs/12.x/helpers#timebox)\n\n## Related\n\nIf you like this package, be sure to check out our [other packages](https://www.npmjs.com/~balboacodes).\n","readmeFilename":"README.md"}