{"_id":"@britt4444/lotide","_rev":"2-079e607d912622cbdf37bb8ad8fc1d71","name":"@britt4444/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@britt4444/lotide","version":"1.0.0","description":"A JavaScript utility library based off of a clone of the Lodash library","main":"index.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://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@github.com/Britt4444/lotide.git"},"author":{"name":"Britt Cowper","email":"brittferren@gmail.com","url":"https://github.com/Britt4444"},"license":"ISC","bugs":{"url":"https://github.com/Britt4444/lotide/issues"},"homepage":"https://github.com/Britt4444/lotide#readme","gitHead":"e50163f337a6e348ba0af31dc663a4f9b655ff5f","_id":"@britt4444/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-zTj/AdjLffvku1+Kr5+F8cwIp+YP7AkwAPUVKlHkgTyGoq3XQaLYIwSXQGeyqpUaJE8z0BgrTAPqKLwXBYfJJw==","shasum":"36d530398de90778e154926fba2852daaca214dc","tarball":"https://registry.npmjs.org/@britt4444/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":21025,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEOURmaik1EHQSTgheKC7ML+LtI2O5EoVR8YBngXbejwIgJyn35+3EZ2f0RA2sUHpdx/85HiDOeiMOyaBUig/XIgo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEhSFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTYRAAjhTS3G2SnUpBZtzG44tKY1rObehYekhP6GnZuIzcSEcCDm/M\r\nQFYCdCnDpK2ZdydknccXi8lhDoqL0pwFu3qtA66afWbmiPK2J+FswRdaHYej\r\nnxkMzbwuwrY23xTvLozJH5Yp2qu9oo5IGmRpPFAgsHHELigpCq9/mUBSo92I\r\nxOTapqHni0L7ImMOL/lOAb79RclV96AaxewCtanzGy3XJxHjq+FDTPaU5Eho\r\nCsUE+FC8Lq9D3oSGtmB/oCJOwfMIBRVpZ3nVBq0roWCcUVhDOiATnU5FLdGI\r\nxhobFKPJL/BI4daYfTNwu6Qcx2bhIsAywvvEIAtuHO2EnoRzylmydMq2hLut\r\nZKhmge4Ff1PHTZ+UGq0r3YZJJZe8xumzyMFimkcSZVxQT8UcF0uxxXl0LrGq\r\nehjoUKyxQgXjv3uxMR4gEAVF1IqXWwMPk5/Tf0a9K/Oc3N9RzTVIL8DIgca5\r\nH6QKQzqLUaQX7sbTbDf+bcUOIMaoQsAAzmpCVCx6CKaw/j5Zx8ZYSfmNrwja\r\nyfY4UmFxgWx77BUSapBlN9d6O/Hsx3HyDQSZcTcMtAMC5Rbb0+xf11Dr3M9E\r\nSgHRxHMX/EasQ3dFs9Kzjna4buyZGmxFwYOMyxo/u82wMjM3pGDuv1tRYKmT\r\nCMVJiG0PE17tRMAsHUNaoAdFFJWza8hsjig=\r\n=Tszh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"britt4444","email":"brittferren@gmail.com"},"maintainers":[{"name":"britt4444","email":"brittferren@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1678906501208_0.46354489956140044"},"_hasShrinkwrap":false},"1.0.1":{"name":"@britt4444/lotide","version":"1.0.1","description":"A JavaScript utility library based off of a clone of the Lodash library","main":"index.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://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@github.com/Britt4444/lotide.git"},"author":{"name":"Britt Cowper","email":"brittferren@gmail.com","url":"https://github.com/Britt4444"},"license":"ISC","bugs":{"url":"https://github.com/Britt4444/lotide/issues"},"homepage":"https://github.com/Britt4444/lotide#readme","gitHead":"036f8008eee5f343ad2e9c29d4e5e83b434c7c75","_id":"@britt4444/lotide@1.0.1","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-sGxXpwp+jRHTpqRKt1ipnjlnF/7G3nWsNjgYSXQzjbqaj6N+O4CR69dHIHxA1jnz1KzvSLt45S9NVzdpjDHMvQ==","shasum":"159a4c48c59a474f7d02295b7d3b0c876f8d0952","tarball":"https://registry.npmjs.org/@britt4444/lotide/-/lotide-1.0.1.tgz","fileCount":35,"unpackedSize":24666,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+cpjvGB9s+r9JfPGhQMWLZl80G59g+aR71COukHPO2AiEAhrXj9NPaaaetyOmuvDF6C4Erz0iUqMloJVTqSAhnS0o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFia+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+yQ/9FEkNietRowSSFTB42LZbcfQXv+kbZcUGkiWh/t2gNIVOH4Fo\r\nIjLGxTjLYLUvcQ5pjQP+hNChf+EMXqa/LN1abD4AuR3WzgbtGXVOxGIR8hcP\r\nROx3Pk6RE8MpevV17z1HQw4wjauMsVtsD1wC71Jp/5vRDMq5CT4REcElj+GW\r\ny/Pc5Ise/cjo49MJNVu5p7NkPhzVhVbNteSOKW26UYTigmR0M0dDzcGGBsXR\r\nBN0frkw6YEnpuWz08Nzy+u8OZtHy6ukmkEGssuhe0mg1aisQVtsJMONfvsAA\r\nTXa7GWu31bx4RMrPFvjiYlCmbfkaGbb/1rJa/LS5dLk5nU+FZiR43a0sUlvO\r\nxb6jaRyvImHN8wkMVRmudb1HhV5cZ/iIh/qSiLXJBpht1+ncLmR93Wy/5Lon\r\na/C1ZZWItsDK3B0SIYBNe56+G+kP/ivHOnnUQyuXMIAYUOtCeg7E6s2ddpcl\r\nF1yo+Gz2gIaFLH525hfS3mqEKAlDEIwmRhy+xbfBRTAiehT9WEJfqfRgq5Vh\r\ndpDtLxTazS4GGV63j5pfhxiYOQIW+DWGmHzJ19yGd7QrBQgp6chSrSBWGtYU\r\nQE05UArKmXxJHhFgvkpWn+tvevTSnYwff6hdSa5IWtaOY8na9hOCwyK4VTl7\r\ngz9g9hWAeI39cKtAhy/Mjs6sXi964zv4/4A=\r\n=SOl5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"britt4444","email":"brittferren@gmail.com"},"maintainers":[{"name":"britt4444","email":"brittferren@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1679173309975_0.15369705302773928"},"_hasShrinkwrap":false},"1.0.2":{"name":"@britt4444/lotide","version":"1.0.2","description":"A JavaScript utility library based off of a clone of the Lodash library","main":"index.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://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@github.com/Britt4444/lotide.git"},"author":{"name":"Britt Cowper","email":"brittferren@gmail.com","url":"https://github.com/Britt4444"},"license":"ISC","bugs":{"url":"https://github.com/Britt4444/lotide/issues"},"homepage":"https://github.com/Britt4444/lotide#readme","gitHead":"f4d09d3e8ca9a998e308b1e3655d16dde34df60a","_id":"@britt4444/lotide@1.0.2","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-7YgrL+h8kPJUA7V9HyzwCg5S8j7v8KM045uftf+tFX2uu6gxC6sPdxAKDXtPr7kAYBgTNcdScUYpz+ZogDUnpw==","shasum":"67e312b48923f114ea282375c298d360d195184e","tarball":"https://registry.npmjs.org/@britt4444/lotide/-/lotide-1.0.2.tgz","fileCount":35,"unpackedSize":24596,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0N+UF0H3xJ5+nYsRfnl3ZmMQ+30SppThFcxX6IDcg1QIhAMndMErUgXM12M24K4hfegglcOpT9qPPR1Ts2KNaxd3L"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGH3gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr32xAAlAgTvRQ+JgUoaFtZ9waGCgT8WizxDSgZMflR9RCvE5iBSJGq\r\nIsw5/VErkiA0bPIJKyOKXphTsbFDcZNdvh0gz+3FKcXSxH/KnLOLwaaSmetn\r\nLtRFvPNWo2lJF5wTduP5VNVex7Cvx82zPKx8z/Wzyf6pjS0WuVEsp2VR2t6X\r\nQwZCSftlWgIzZSXBTl9sGXRylY+WF+01YBAlXmwX2Q//8WvpJJt6TftW1MPF\r\nTquAP+VRz2c813Mn0vUh+0er3l7PZLrI2GkrbQ2YxtdIqKM62rkE10fHcwkV\r\n6IpZ5TYaH2rrmvRFzJHePtmoj+QCrBFr9apvMGbKcc1lWyHHEtlDh8tOanBl\r\n6uLNrHPhCICKdZtU4ghUtXZZgOEJgWSbQyZ/OOjq1uwc22olfinEbijgeWYD\r\nNaAK9wTVYO/qaZq0YO/+zSpbCCloobpj0/D2BVnXqjFlFfP4HEGxnyOKJhg7\r\nMQVqHwp8sMiHnaK23hp/KFA+6pfyrlMNBaJKAvWDiNnjZBlc89XuXx0o2dDY\r\nDWXL30IzlWfK5ml1EIN8ZCTFaV1YgpLqYVTLmzQ/HdLf9JvNgGucSfBOAoJh\r\n7INIzuiLOzLyAriPjyXzNCRmvptE4+ARSRCX9JKXi0AWDe6pfLmb26wCF4Nt\r\nOnfzCfMR08I7hVimZ5/6DclNcvJo0+Tf+fE=\r\n=tQi7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"britt4444","email":"brittferren@gmail.com"},"maintainers":[{"name":"britt4444","email":"brittferren@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1679326687905_0.19509614601975245"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-15T18:55:01.134Z","1.0.0":"2023-03-15T18:55:01.397Z","modified":"2023-03-20T15:38:08.289Z","1.0.1":"2023-03-18T21:01:50.183Z","1.0.2":"2023-03-20T15:38:08.086Z"},"maintainers":[{"name":"britt4444","email":"brittferren@gmail.com"}],"description":"A JavaScript utility library based off of a clone of the Lodash library","homepage":"https://github.com/Britt4444/lotide#readme","repository":{"type":"git","url":"git+https://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@github.com/Britt4444/lotide.git"},"author":{"name":"Britt Cowper","email":"brittferren@gmail.com","url":"https://github.com/Britt4444"},"bugs":{"url":"https://github.com/Britt4444/lotide/issues"},"license":"ISC","readme":"# Lotide\r\n\r\nA mini clone of the [Lodash](https://lodash.com) library.\r\n\r\n## Purpose\r\n\r\n**_BEWARE:_ This library was published for learning purposes. It is _not_ intended for use in production-grade software.**\r\n\r\nThis project was created and published by me as part of my learnings at Lighthouse Labs. \r\n\r\n## Usage\r\n\r\n**Install it:**\r\n\r\n`npm install @britt4444/lotide`\r\n\r\n**Require it:**\r\n\r\n`const _ = require('@britt4444/lotide');`\r\n\r\n**Call it:**\r\n\r\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\r\n\r\n## Documentation\r\n\r\nThe following functions are currently implemented:\r\n\r\n* `assertArraysEqual`: asserts strict equality between 2 arrays\r\n* `assertEqual`: asserts strict equality between 2 values\r\n* `assertObjectsEqual`: asserts strict equality between 2 objects\r\n* `countLetters`: returns an object that counts all letters from a string input\r\n* `countOnly`: returns an object of counted letters from a string as requested by specifying object\r\n* `eqArrays`: returns true/false strictly comparing 2 arrays\r\n* `eqObjects`: returns true/false strictly comparing key/value pairs of 2 objects\r\n* `findKey`: returns a key (if it exists) in an object based on truthy callback value\r\n* `findKeyByValue`: returns first object key in which a search value is found\r\n* `flatten`: takes in array that contains nested arrays and returns a flattened version\r\n* `head`: returns the first value of an array\r\n* `letterPositions`: returns object that lists all indices of each character from input string\r\n* `map`: returns new array based on results of a callback function\r\n* `middle`: returns middle-most elements of an array\r\n* `tail`: returns all but the first value of an array\r\n* `takeUntil`: returns a slice of an array up until callback condition is met\r\n* `without`: returns a subset of a given array, removing unwanted items","readmeFilename":"README.md"}