{"_id":"@blufuu/lotide","_rev":"1-20ea4980b7ac593bb0495b807b26c7ab","name":"@blufuu/lotide","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@blufuu/lotide","version":"1.0.0","description":"a library of functions based on Lodash","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/nicoayamen/lotide.git"},"author":{"name":"Nicolas Ayala"},"license":"ISC","bugs":{"url":"https://github.com/nicoayamen/lotide/issues"},"homepage":"https://github.com/nicoayamen/lotide#readme","devDependencies":{"chai":"^4.3.1","mocha":"^9.2.2"},"gitHead":"eafb4af14840d99e817de2270c46d3849ef27d8c","_id":"@blufuu/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-3UkpkA+lXbL5dVihnk4/dNcrpa3L010/y5UfPRFAEF/IyG8pOyc9EroK2waG/gpn2iLLVsRKbzBDlKtnGqIWIQ==","shasum":"d4f9a58a2fae5cb0eb0a3e7fee90ba2283e67a42","tarball":"https://registry.npmjs.org/@blufuu/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":11628,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDovuSsUZZgaaKspq0/fboZqOgnjsE/qTrrujL19tn+KwIgEivOMa8eWF8148g1BqQ0iWhswWHf5IJLZxhLeqVJS9A="}]},"_npmUser":{"name":"blufuu","email":"nicolas.ayala4@gmail.com"},"maintainers":[{"name":"blufuu","email":"nicolas.ayala4@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1707958675153_0.06460800790362242"},"_hasShrinkwrap":false},"1.2.0":{"name":"@blufuu/lotide","version":"1.2.0","description":"a library of functions based on Lodash","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/nicoayamen/lotide.git"},"author":{"name":"Nicolas Ayala"},"license":"ISC","bugs":{"url":"https://github.com/nicoayamen/lotide/issues"},"homepage":"https://github.com/nicoayamen/lotide#readme","devDependencies":{"chai":"^4.4.1","mocha":"^9.2.2"},"gitHead":"bfaad6424ba63fe9fdefe9bac4677a318afbd699","_id":"@blufuu/lotide@1.2.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-/21AJFh8rw77d02/vr0WH+wtJ7LrA2yPY4bxm21I+HImjbC4hFmSQsDfa/hph9e+pZwW++EnFcDmx+FoOlaDnw==","shasum":"59be4d83c4a929acfb5a4fc7e7940129e8272abf","tarball":"https://registry.npmjs.org/@blufuu/lotide/-/lotide-1.2.0.tgz","fileCount":26,"unpackedSize":11877,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtbuNe98180DxoKxFOA72TAjckFV7VeuTMppCOqgAyPQIgBmTI0aD5AuQPQ521i4JXWuQFiFs9Yfa3t8xtTjtZ3I0="}]},"_npmUser":{"name":"blufuu","email":"nicolas.ayala4@gmail.com"},"maintainers":[{"name":"blufuu","email":"nicolas.ayala4@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.2.0_1708044267940_0.7603166829801944"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-15T00:57:55.045Z","1.0.0":"2024-02-15T00:57:55.377Z","modified":"2024-02-16T00:44:28.644Z","1.2.0":"2024-02-16T00:44:28.171Z"},"maintainers":[{"name":"blufuu","email":"nicolas.ayala4@gmail.com"}],"description":"a library of functions based on Lodash","homepage":"https://github.com/nicoayamen/lotide#readme","repository":{"type":"git","url":"git+https://github.com/nicoayamen/lotide.git"},"author":{"name":"Nicolas Ayala"},"bugs":{"url":"https://github.com/nicoayamen/lotide/issues"},"license":"ISC","readme":"# Lotide\n\nA mini clone of the [Lodash](https://lodash.com) library.\n\n## Purpose\n\n**_BEWARE:_ This library was published for learning purposes. It is _not_ intended for use in production-grade software.**\n\nThis project was created and published by me as part of my learnings at Lighthouse Labs. \n\n## Usage\n\n**Install it:**\n\n`npm install @blufuu/lotide`\n\n**Require it:**\n\n`const _ = require('@blufuu/lotide');`\n\n**Call it:**\n\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\n\n## Documentation\n\nThe following functions are currently implemented:\n\n* `assertArraysEqual`: asserts that an array will truthy or not using eqArrays\n`eqArrays`: checks to see if two arrays are strictly equal\n* `assertEqual`: asserts an actual, expected value. only use for primitive\n* `assertObjectEquals`: asserts two objects to be equal or not. uses eqObjects to check\n* `eqObjects`: checks to see if two objects are strictly equal\n* `countLetters`: counts and returns the number of letters in an object\n* `countOnly`: checks an obects to see what values to keep track of by passing on itemsToCount object\n* `findKey`: using a callback to find the key in an object\n* `findKeyByValue`: same as findKey but will find the key of an object by value, if it exists in the object\n* `flatten`: flattens an array to a single level\n* `head`: returns the 0 index value of an array\n* `letterPosition`: checks to see what index value is a letter in a string, and returns it to an object\n* `middle`: returns the middle value (or values) of an array\n* `tail`: returns the all the values of an array after 0\n* `takeUntil`: pushes values into a new array until it reaches the specified index \n* `without`: returns a new array, without value specified\n* `map`: returns an element based on parameter callback\n\n\n","readmeFilename":"README.md"}