{"_id":"@aalencarv/common-utils","_rev":"19-f57c00b967c80c9a392f24e512e64262","name":"@aalencarv/common-utils","dist-tags":{"latest":"1.12.0"},"versions":{"1.1.1":{"name":"@aalencarv/common-utils","version":"1.1.1","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.1.1","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"33661f50b39345233a5733c67210af5dd15cae58","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.1.1.tgz","fileCount":6,"integrity":"sha512-f+5oPzfYzjVA6+BBBA6dps2DjnDRYhnklXvobVDccFJkVuMy7vG8ep8KGLrBLDKAOuiQLTRzPLxA/4T66RcpMw==","signatures":[{"sig":"MEUCIQDWeURp4qL9yaGTHOJUSGj7xurhBEh+bah4bmm/jjJ2tgIgHdVYETu96XsZ6ogQ6ZQltCMsT8vGj7VqbB/5cviJwFc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17715},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"da0103757a32b35be5bde4638f0a73e5f5209795","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"11.3.0","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"22.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.1.1_1748260209774_0.024479976680871873","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@aalencarv/common-utils","version":"1.2.1","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.2.1","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"01b1c803e3ba4aa6db7be276276b28b93c740fac","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.2.1.tgz","fileCount":7,"integrity":"sha512-78gvlDKAaDJAJsHsJeZoL/W3/zQ4/bH6bAH4Hz4GEOfnOOfKTEQu3Y5s5N8FeEGYl0NTECwq2KBaYatJIVse/Q==","signatures":[{"sig":"MEUCIFnYv5GVMiVinRAouofwJ2KE0E8H4XpQkb9Yja+BSFrGAiEAlqm4jYDYJsJEydhCW28KIOSsl/Ppt401th8YFitNjk4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41015},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"4b2c59f0534b4137dab9d4c608ca870e030b8ab3","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"11.3.0","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"22.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.2.1_1748264917025_0.3987567960651679","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@aalencarv/common-utils","version":"1.2.2","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.2.2","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"9c45e263da764723f4c220a33208c0855558e726","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.2.2.tgz","fileCount":7,"integrity":"sha512-L9jDuXoFvwlF820OWzKTIykpRHqBSewPzuGbAUpvo4TCkf0mKNM9MitbnDN60Cr8FuPdYwv7FGymrGvCRdi3zg==","signatures":[{"sig":"MEQCIG2BjuDLRu30ohde3DPOw2+llMpl5aQLxuo9GXG8QGKMAiBNtimfn8v/qBfVTG02cc1GnW2b5RhA6n+nMT5xxl9pnQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42750},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"ab57a70c5d04ea4a2ae311c9ed6703c65f25e8f0","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"11.3.0","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"22.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.2.2_1748271487320_0.594649439370238","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@aalencarv/common-utils","version":"1.3.0","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.3.0","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"87071bafe8438a119fb89f1f9ba4e703e88d0472","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.3.0.tgz","fileCount":9,"integrity":"sha512-JTEdWT4QMUIE8Qsg6AEOolfKM872eJcE88Es37HEnee8BOD7Hx1gkt77Dv7+kLIq+CWVmRoSEOS4MQ0DfoH86w==","signatures":[{"sig":"MEYCIQDcro4iNEjDKTABQwil4k6ihBqLoEH1X/kwbDUIEZq1hAIhAJ4ntYNcKUm/jpWFdOtTh7doXcbX26cbW8BvYmLKoqQk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44747},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"df021a6d81e77c8b658939d3e45859490a0cca3a","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.3.0_1748289190327_0.8564452920647259","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@aalencarv/common-utils","version":"1.3.1","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.3.1","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"5425bd87df0ecd4484a741df70409f4836a09a13","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.3.1.tgz","fileCount":9,"integrity":"sha512-mvJcMnNHEnOp1RssEEg86Dk2kG+OYz2WQ1tTrsH2YfE//hkrmkh0VotjNQfEG6ujupi+os7YZXHGEtQlpdwL7g==","signatures":[{"sig":"MEUCIFnvd+o/Cz2ZifchPoMVysO7OjLa4TOo92lgu9nstKXYAiEAgFh73GnN1p0HBMrHoehAFdeUSuDZkLB5sg/69s365+g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45461},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"9e49dac1e7414cc2599a4a2bc8345447739f014e","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.3.1_1748437249118_0.2379734776614626","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@aalencarv/common-utils","version":"1.3.2","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.3.2","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"bb3885d8703b125714847335f9ff87b7552009a5","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.3.2.tgz","fileCount":9,"integrity":"sha512-0+9pwt+Uq7S+g5WEszoaAAumq/R2HcMaaSWQsIeDg9PahLQf52H/7nWwUnYXRp31BqrMavCQGXmcPnS0vERRzw==","signatures":[{"sig":"MEQCIE6SN7iy93q01M/tf43JrZgqqBgNPGDIv+lSaNMmPxgdAiBqk+mnfq7CEm9kqiP4xtwp56B3XaXTAFHjaBWDLXJazQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45568},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"4e5f232c040baad48cc0f5f3af41936e41dde96a","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.3.2_1749213755784_0.4236255122978023","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@aalencarv/common-utils","version":"1.3.3","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.3.3","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"2d767c0d8c96e2f07afb837c4403506f1645ced8","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.3.3.tgz","fileCount":9,"integrity":"sha512-US4VJWLGxoIIAl7sj8ug6RNoRP1oMNQchdKyQsIDWhxFeYundPeKD17vz6NQlI5tB1qsusaiWjaE9PsSqu+s7g==","signatures":[{"sig":"MEQCIClp/AHsjXSBhbUPPZYm6pOi3Z5xWOiRGqd+mwrb/neXAiBJqKgo/eDVyStO26iCxb1hqHEKnHSsgqAVGBoUfOEAog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45676},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"9737dfc3cffb0445e2e17b99be4ddea0b3269e81","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.3.3_1749299994942_0.2804692318169242","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@aalencarv/common-utils","version":"1.3.4","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.3.4","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"cfb74a6ef934e608dde772d6a7ca6697fd53c795","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.3.4.tgz","fileCount":9,"integrity":"sha512-wpuQXkf2092d4LV719hQaa73qqLh3y+mvj2mxbMANnXQ8C6JMTsKSFN2KT7OE7BGijuHmUtax2BcZLdVI6nAJg==","signatures":[{"sig":"MEUCIEeEmDiIchdL43qCJ9nEsn+k/7gaV6IW+DKuJQYPzJltAiEAjBlAeWpnmhibj63PvgdXSriehY24F7QSEwnDGKXSO2g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45676},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"a2a3570e722cd3cf749744ca0a01f3288559038f","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.3.4_1749300113163_0.24062803696537727","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@aalencarv/common-utils","version":"1.4.0","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.4.0","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"79efe1f4bf74fda357cc2a8992d5ace9b71af7a9","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.4.0.tgz","fileCount":9,"integrity":"sha512-MO2yfmVxLM0DbaKduSmCI8e0RMuU6qkr203nCPEpfplwKMQZTyj+Z7ypFCZeDLRgnWgrS/S4QXJjlabobkWZ/g==","signatures":[{"sig":"MEQCIFa/I6yGzs+K3mnvAX0BkfFXAPA/zqzmvICrWffKOyfrAiAhT2r7fX0whfdBRAgJzzpVgvJdyBuy16WNus3hDYoMcA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46867},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"57c75e99f527dde8fd604ddb7fee486149398244","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.4.0_1753996561999_0.23268768788073935","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@aalencarv/common-utils","version":"1.5.0","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.5.0","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"2b6dc8ad3f67d6886296ea49d1d8a97e82641ad1","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.5.0.tgz","fileCount":9,"integrity":"sha512-2IzqHxdkJ6sHPHY/eb7jeab2SfiD6SrLqUKD09YtcenV23Ub7IY9YTVABMfnkqk6lmoILr3DRSPvGQZRgc/PhA==","signatures":[{"sig":"MEYCIQCgKtaEAUTqeA54cAgqlvhAO748/FQ0KjcstpRts6r+5QIhAJzFggI9O2vxBUDVTP/A8sDnP6N8QbemIsPi0W/oXCT4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49150},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"8b7f69165d3ce860198ca90a2319e464acabb904","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.5.0_1759753597194_0.09149603832342468","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@aalencarv/common-utils","version":"1.6.0","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.6.0","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"176adeaaa02342c26b9fa0f352c7ac7a85a96e8d","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.6.0.tgz","fileCount":9,"integrity":"sha512-Y62COaibxUSYkTE5FO6r5ZEOUglfnHeJHb7xMeSVrmL6A+9yAqn4dQDlqkbSIr+KxWXg2uO1kZvjw/NUKYA0jQ==","signatures":[{"sig":"MEYCIQC1zoEahbFWuDq5wAZyngMZsfy598cGSuPH0+WdKag96wIhALDPdJn0tOIxvDaNvjLScQq1pRN7//MKBAJeWL4CF2gk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51988},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"4d27b0559b1fc05c1ef8b8e874de401f482263b8","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.6.0_1759758830881_0.19338990071061923","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@aalencarv/common-utils","version":"1.6.1","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.6.1","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"bdf30a0f87a7d89341ca590bf3ab3101f7fcb765","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.6.1.tgz","fileCount":9,"integrity":"sha512-6g7+kZv8syrQVHGfTA3b5RpCcUr6cNXWXOGCz/MOoJNEi3L7Q+JsipYalbLjodYYbkWwjDidF4YFiz05A6ZrIA==","signatures":[{"sig":"MEYCIQDjh2fzsj+C/uC3wEiEfqSDm4hjD/GTslHYfPHEUVXs7QIhAP+rCF2XSQ6oi5QF3Tt4Yf8VeIyseOdCox7lxiOqb+ga","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52267},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"6894793ca7407e92e40c6caeb3a2666ac47d32aa","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.6.1_1759783618675_0.977310496042127","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"@aalencarv/common-utils","version":"1.7.0","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.7.0","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"2c690b3210d301ddd715afab96347613d5efd579","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.7.0.tgz","fileCount":9,"integrity":"sha512-Fzlgz4fjDoNKU2e/Vp7oJ9SRE6bKQVpScEaOmQQ7HKfuLd1/GPwwy4ir90Cqndsci5ZIEQtxe2eRnpm8gV1Kkw==","signatures":[{"sig":"MEUCIEppgw0+/Z7YkiytIBziXosnlfhi7XINNpSKPyYemcMrAiEAn4hsDScaIkU0S/vGH+RmL8mcvZDC2Puu3oeqwZfLUaU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55832},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"4f00375004863c132db310cbcd26810b5d91257c","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.7.0_1769722546225_0.6792574644837901","host":"s3://npm-registry-packages-npm-production"}},"1.8.0":{"name":"@aalencarv/common-utils","version":"1.8.0","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.8.0","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"0539b5c5189cc25dd1dd0c133d79e63c609da206","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.8.0.tgz","fileCount":9,"integrity":"sha512-2rGSTxzhIlmqYvnlBj7VDj086BGBMPlRNUnvw/FthZHi5w8eaNBfKQ2aqW/yK++Bqg9nadWVxDdYGi1qJCSgqw==","signatures":[{"sig":"MEQCIExDbZcE6zQh9+pMxu9ll10wLotH1e84zzP4b4wwJaTZAiBkF9Gxuc16VNVPkZ47FyMe9vjLsfF+2cP5hGhAi9/37A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60413},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"d22bd8a6fe2ff297bc14a0ec22d5619a7ad9d59e","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.8.0_1769912284159_0.5838094950579689","host":"s3://npm-registry-packages-npm-production"}},"1.9.0":{"name":"@aalencarv/common-utils","version":"1.9.0","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.9.0","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"74b9fb05c09e1014033936fce18e3fb337663f37","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.9.0.tgz","fileCount":9,"integrity":"sha512-YmouWnAQ0RVaFOUI2O3LqR1DSo9ID2gShemvAW0g9Dwxljil9nunxj7ZhskFylcLRUqb3YbnGpNhSD6o6HloWw==","signatures":[{"sig":"MEUCIGSPleiC7aBYOpccim17zMV0ZgzkusgbQD3f8f/TgK4HAiEA+xnfDYKRUmwbSJ/xKVLOyehDXRRoNSyEKSfRxgLpTW4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62633},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"6627a1e1052863c1040f56418070ef7335f57570","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^7.0.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.9.0_1770668233027_0.15265501747867405","host":"s3://npm-registry-packages-npm-production"}},"1.10.0":{"name":"@aalencarv/common-utils","version":"1.10.0","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.10.0","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"97f5f4550d1c900338b30115a9630236b2946a91","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.10.0.tgz","fileCount":9,"integrity":"sha512-immrt4pTpM8mPbtlb0PsLpfKyUbc63icb/ds8WBGOIEGLGE2fGs8gEvc24ae+XJBzEoDjzbD1BYfpodCk+44SA==","signatures":[{"sig":"MEUCICzMb2mz3qgb3yKF44CxTeX6SzvttwNYP5WMrQMZOA8xAiEA875uoRQggxnA/jq5OuZ2nzzhe5bQb8IaMfkzpvKjq4s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64811},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"591305a427f1662781e5be0320282c530736283f","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^10.1.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.10.0_1772820678855_0.6858233809878904","host":"s3://npm-registry-packages-npm-production"}},"1.10.1":{"name":"@aalencarv/common-utils","version":"1.10.1","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.10.1","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"1c2263d0b5e281259898f94ce190ca0b201db2bc","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.10.1.tgz","fileCount":9,"integrity":"sha512-MTUzfgqApQjZgHBRdWg/DIJq+olYSXH4zdaO7fqeCNj3R/eydJJZInWEZnXvcuIPfj+2i2v3hQ/T0+NJUGpIKQ==","signatures":[{"sig":"MEYCIQD8tUJHlU4qEueFeM9edQN3v/PhAlwAHMf4QuXoqYoVxgIhALitB26IJ92pd45p3zBuXa65KMQWyPbXS44pYaMQaKvQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64919},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"b2fab79397f000a4b50f8915994cb806d3a03c0c","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^10.1.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.10.1_1772832009038_0.18080392669802015","host":"s3://npm-registry-packages-npm-production"}},"1.11.0":{"name":"@aalencarv/common-utils","version":"1.11.0","keywords":["utils","javascript","js","node","common"],"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","_id":"@aalencarv/common-utils@1.11.0","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"dist":{"shasum":"c21f43341cead0a1defe579e352f9bc8d8335d64","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.11.0.tgz","fileCount":9,"integrity":"sha512-Q+swg7jE0rrk4+W1miufB0yK08joWtYgB61Tl6QjHQM6rAqSp4SWqcGgU21CK/rXIqdnuIIIglrNQEn9BrmgdA==","signatures":[{"sig":"MEUCIQDklHNix4zL2EVRyKHvt6RPuHiYmiRXU1YLlIpC034BSQIgQzJtJowCHxf73eHkLWnuLtNhYuHXIY+1jpA9WmyPBBU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71636},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"d95ceb92e4b95f921c3f535f3889ec199b8367d9","package":"@aalencarvz1/libs-js-ts-node-common-utils","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"_npmVersion":"10.8.2","description":"a common utils functions to use in javascript and node","directories":{},"_nodeVersion":"18.20.8","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"cross-env":"^10.1.0","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/common-utils_1.11.0_1772899660018_0.48727611472395127","host":"s3://npm-registry-packages-npm-production"}},"1.12.0":{"name":"@aalencarv/common-utils","package":"@aalencarvz1/libs-js-ts-node-common-utils","version":"1.12.0","author":{"name":"aalencarvz@gmail.com"},"license":"ISC","type":"module","description":"a common utils functions to use in javascript and node","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --verbose","build":"tsc"},"keywords":["utils","javascript","js","node","common"],"devDependencies":{"cross-env":"^10.1.0","typescript":"^5.8.3"},"publishConfig":{"access":"public"},"_id":"@aalencarv/common-utils@1.12.0","gitHead":"7ab521cfd186a3925f281bba62c50715231f497f","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0mBJWhqbQYiyroJ3WVGR0S8uDJtVSs9li53S8jSbDImZqpv30IIQjrCpEoBd5WtnWj3MRDqKOCHN3kHiSMmdng==","shasum":"6ace65d110f63e1386d3be00a54f32dbb9aa0291","tarball":"https://registry.npmjs.org/@aalencarv/common-utils/-/common-utils-1.12.0.tgz","fileCount":9,"unpackedSize":71676,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDuhYKqrr5rVO5pSZE/ByunA6eAnq6hm9vuSJgwj7rTcwIgJBSZ402nYKdcH4nfyw35BizK/flgtJwig9c5dE45oUQ="}]},"_npmUser":{"name":"aalencarv","email":"aalencarvz@gmail.com"},"directories":{},"maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/common-utils_1.12.0_1773434035436_0.5564875532452327"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-26T11:50:09.697Z","modified":"2026-03-13T20:33:55.682Z","1.1.1":"2025-05-26T11:50:09.956Z","1.2.1":"2025-05-26T13:08:37.204Z","1.2.2":"2025-05-26T14:58:07.506Z","1.3.0":"2025-05-26T19:53:10.534Z","1.3.1":"2025-05-28T13:00:49.303Z","1.3.2":"2025-06-06T12:42:35.987Z","1.3.3":"2025-06-07T12:39:55.149Z","1.3.4":"2025-06-07T12:41:53.370Z","1.4.0":"2025-07-31T21:16:02.167Z","1.5.0":"2025-10-06T12:26:37.404Z","1.6.0":"2025-10-06T13:53:51.070Z","1.6.1":"2025-10-06T20:46:58.843Z","1.7.0":"2026-01-29T21:35:46.377Z","1.8.0":"2026-02-01T02:18:04.327Z","1.9.0":"2026-02-09T20:17:13.165Z","1.10.0":"2026-03-06T18:11:18.998Z","1.10.1":"2026-03-06T21:20:09.227Z","1.11.0":"2026-03-07T16:07:40.183Z","1.12.0":"2026-03-13T20:33:55.570Z"},"author":{"name":"aalencarvz@gmail.com"},"license":"ISC","keywords":["utils","javascript","js","node","common"],"description":"a common utils functions to use in javascript and node","maintainers":[{"name":"aalencarv","email":"aalencarvz@gmail.com"}],"readme":"# 🛠️ common-utils\n\nA lightweight TypeScript utility library providing helper functions for date manipulation, type checking, array operations, GTIN validation, and more.\n\n[![npm version](https://badge.fury.io/js/common-utils.svg)](https://badge.fury.io/js/common-utils)\n[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)\n![TypeScript](https://badgen.net/badge/Built%20with/TypeScript/blue)\n\n## Table of Contents\n- [Installation](#installation)\n- [Usage](#usage)\n- [Functions](#functions)\n- [License](#license)\n\n\n## 📦 Instalation\n\nYou can install `common-utils` via npm (assuming it's published) or by cloning the repository.\n\n### Using npm\n```bash\nnpm install @aalencarv/common-utils\n```\n\n### From Source\nClone the repository and install dependencies:\n\n```bash\ngit clone https://github.com/aalencarvz1/libs-js-ts-node-common-utils.git common-utils\ncd common-utils\nnpm install\n```\n\n## Usage\n\nImport the functions you need in your TypeScript or JavaScript project:\n\n```typescript\nimport { getMoment, toBool, toNumber } from '@aalencarv/common-utils';\n\n// Example: Get current date and time\nconsole.log(getMoment()); // e.g., \"26/05/2025 11:39:00.123\"\n\n// Example: Convert value to boolean\nconsole.log(toBool(\"yes\")); // true\nconsole.log(toBool(\"0\")); // false\n\n// Example: Convert string to number\nconsole.log(toNumber(\"123.45\")); // 123.45\n```\n\n## Functions\n\nThe following table lists all exported functions in the `common-utils` library, including their parameters, return types, and a brief description of their functionality.\n\n| Name                     | Parameters                                      | Return Type | Description                                                                 |\n|--------------------------|------------------------------------------------|-------------|-----------------------------------------------------------------------------|\n| `getMoment`              | None                                           | `string`    | Returns the current date and time in the format `DD/MM/YYYY HH:mm:ss.SSS`.  |\n| `toBool`                 | `pValue: any`                                  | `boolean`   | Converts a value to a boolean based on specific rules (e.g., non-zero numbers, non-empty strings). |\n| `typeOf`                 | `value: any`                                   | `string`    | Returns the type of a value, handling arrays and NodeList specifically.     |\n| `isArray`                | `obj: any`                                     | `boolean`   | Checks if a value is an array.                                             |\n| `firstValid`             | `arr_valores: any[]`, `check_null: boolean = true` | `any`       | Returns the first non-undefined (and optionally non-null) element in an array. |\n| `hasValue`               | `pValue: T \\| null \\| undefined`                 | `boolean`   | Checks if a value is defined, non-null, and non-empty (for strings, arrays, objects). |\n| `toNumber`               | `v: any`                                       | `number`    | Converts a value to a number, handling strings with commas or dots.         |\n| `addFullMonths`          | `date: Date`, `months: number`                 | `void`      | Adds a specified number of months to a Date object, adjusting to the last day if needed. |\n| `arraySplit`             | `array: any[]`, `tamanho: number`              | `any[][]`   | Splits an array into chunks of a specified size.                           |\n| `arrayToObject`          | `array?: any`, `key?: any`                     | `any`       | Converts an array of objects to a nested object based on specified keys.    |\n| `currentMonthDateShort`  | None                                           | `string`    | Returns the current date in `YYYY-MM-DD` format.                            |\n| `calculateGtinDigit`     | `code: string`                                 | `number`    | Calculates the check digit for a GTIN code.                                 |\n| `getGtinType`            | `code?: any`                                   | `any`       | Validates a GTIN code and returns its type (8, 12, 13, or 14) if valid.     |\n| `deleteNotExistsProperty`| `object: any`, `properties: any`               | `void`      | Deletes properties from an object that are not in the provided list.        |\n| `dateDiffInDays`         | `a: Date`, `b: Date`                           | `number`    | Calculates the difference in days between two dates.                        |\n| `deepCopy`               | `arr: any[]`, `subKey: string`, `key: string`, `ignoreIds?: any[]`, `replacements?: any[]` | `any[]` | Creates a deep copy of an array of objects, ignoring specified IDs and applying replacements. |\n| `deepFindByKey`          | `arr: any[]`, `key: string`, `targetId: any`, `subKey: string`, `returnArrayKey?: boolean` | `any` | Recursively finds an object in an array by a key, optionally returning the array and index. |\n| `firstMonthDateShort`    | None                                           | `string`    | Returns the first day of the current month in `YYYY-MM-DD` format.          |\n| `getAllProperties`       | `obj: any`                                     | `string[]`  | Returns all properties and methods of an object, including inherited ones.  |\n| `getKey`                 | `obj: object \\| Function \\| null \\| undefined`, `key: string` | `string \\| null` | Finds a case-insensitive key in an object or function.                     |\n| `getMethodName`          | `obj: any`, `methodName: string`               | `string \\| null` | Finds a case-insensitive method name in an object or its prototype chain.  |\n| `isClass`                | `func: any`                                    | `boolean`   | Checks if a function is a class (has a constructor in its prototype).      |\n| `singleArrayEquals`      | `arr1?: any[]`, `arr2?: any[]`                 | `boolean`   | Checks if two arrays are equal by comparing elements.                       |\n| `to01`                   | `value?: any`                                  | `number`    | Converts a value to 1 (true) or 0 (false) based on `toBool`.                |\n| `toArray`                | `value?: any`, `delimiter?: string`            | `any[] \\| null \\| undefined` | Converts a value to an array, splitting strings by a delimiter.            |\n| `toDate`                 | `pValue: any`, `pFormat?: any`                 | `Date`      | Converts a value to a Date object, supporting various formats.              |\n| `toYesNo`                | `value?: any`                                  | `string`    | Converts a value to \"yes\" or \"no\" based on `toBool`.                        |\n| `valueOrNull`            | `value?: any`                                  | `any`       | Returns the value if it has a value, otherwise null.                        |\n| `valueOrUndef`           | `value?: any`                                  | `any`       | Returns the value if it has a value, otherwise undefined.                   |\n| `getTempNumberId`        | `currentData: any[], tempIdPropName: string `  | `number`    | Generates a unique random number ID for an array of objects, avoiding duplicates based on the specified property name (defaults to 'tempId'). |\n\n\n## 🧰 Tecnologies\n\n- [TypeScript](https://www.typescriptlang.org/)\n\n## 👤 Author\n\n[![Aalencar](https://avatars.githubusercontent.com/u/69355209?v=4&size=32)](https://github.com/aalencarvz1)\n[@aalencarvz1](https://github.com/aalencarvz1)\n\n\n## 📄 Licence\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","readmeFilename":"README.md"}