{"_id":"@amga20d/lotide","_rev":"1-f675591beb723e1650ecc6dc5d7cc86a","name":"@amga20d/lotide","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@amga20d/lotide","version":"1.0.0","author":{"name":"amga20d"},"license":"ISC","_id":"@amga20d/lotide@1.0.0","maintainers":[{"name":"amga20d","email":"amga200d@gmail.com"}],"homepage":"https://github.com/Amga20d/lotide#readme","bugs":{"url":"https://github.com/Amga20d/lotide/issues"},"dist":{"shasum":"e563a7e66521fd9d8435f5432c4546976b340c02","tarball":"https://registry.npmjs.org/@amga20d/lotide/-/lotide-1.0.0.tgz","fileCount":28,"integrity":"sha512-TprKfdnfJXr8c/FSvbnIfxxDZYCrtXuzjWn+x6RcucmEgnf95yONg8bWWJchKIEmY0XJQNB/oX/tezkWtX44nQ==","signatures":[{"sig":"MEQCIH5ZYHuTgRNl2xkKhCCD0mB9Coxrfmfab5x/5TzBnQg3AiAOzkkdE0bOjEbWe6SXRLhrZEeJe367q/xb5UkEZrI8bA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32236},"main":"index.js","gitHead":"d0385c13091a9c64a6b0dbb7f6b86255b93e1f8f","scripts":{"test":"mocha"},"_npmUser":{"name":"amga20d","email":"amga200d@gmail.com"},"repository":{"url":"git+https://github.com/Amga20d/lotide.git","type":"git"},"_npmVersion":"8.19.4","description":"A mini lodash-inspired utility library providing common functions for array and object manipulation.","directories":{"test":"test"},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.1","mocha":"^9.2.2"},"_npmOperationalInternal":{"tmp":"tmp/lotide_1.0.0_1732526036432_0.3665031285669833","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@amga20d/lotide","version":"1.1.0","description":"A mini lodash-inspired utility library providing common functions for array and object manipulation.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Amga20d/lotide.git"},"author":{"name":"amga20d"},"license":"ISC","bugs":{"url":"https://github.com/Amga20d/lotide/issues"},"homepage":"https://github.com/Amga20d/lotide#readme","devDependencies":{"chai":"^4.3.1","mocha":"^9.2.2"},"gitHead":"ae6c7afc6bbe3d282ff5471e01e537a1ab566756","_id":"@amga20d/lotide@1.1.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-nvzwKpk5gOOJhnLuGTyaReUEE4IEIUUJe7UrGvdZN+M/hV1PIcH84TWkqszjrxWxsEr3hkuz3pO0wGOwNEsTqQ==","shasum":"b4bb403300593d26c8bdd1c7860176fbf2fa67cc","tarball":"https://registry.npmjs.org/@amga20d/lotide/-/lotide-1.1.0.tgz","fileCount":28,"unpackedSize":33577,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVwv9pOJHONlxLJE19SPVYwEKcXqzdRFJwLiQI3spiygIgcZ9eGvS6LXT8i35k+T997gFXwGCef5O2qefRikr0uVU="}]},"_npmUser":{"name":"amga20d","email":"amga200d@gmail.com"},"maintainers":[{"name":"amga20d","email":"amga200d@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.1.0_1733121716197_0.3672089667863814"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-25T09:13:56.310Z","modified":"2024-12-02T06:41:56.551Z","1.0.0":"2024-11-25T09:13:56.608Z","1.1.0":"2024-12-02T06:41:56.369Z"},"bugs":{"url":"https://github.com/Amga20d/lotide/issues"},"author":{"name":"amga20d"},"license":"ISC","homepage":"https://github.com/Amga20d/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Amga20d/lotide.git"},"description":"A mini lodash-inspired utility library providing common functions for array and object manipulation.","maintainers":[{"name":"amga20d","email":"amga200d@gmail.com"}],"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 @amga20d/lotide`\n\n**Require it:**\n\n`const _ = require('@amga20d/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`head(array)`: Returns the first element of an array.\n\n`tail(array)`: Returns everything except the first element of an array.\n\n`middle(array)`: Returns the middle element(s) of an array.\n\n`assertArraysEqual(actual, expected)`: Asserts if two arrays are equal.\n\n`assertEqual(actual, expected)`: Asserts if two values are equal.\n\n`assertObjectsEqual(actual, expected)`: Asserts if two objects are equal.\n\n`countLetters(string)`: Returns an object with the count of each letter in the string.\n\n`countOnly(allItems, itemsToCount)`: Counts occurrences of specified items in a collection.\n\n`eqArrays(array1, array2)`: Compares two arrays for equality.\n\n`eqObjects(object1, object2)`: Compares two objects for equality.\n\n`findKey(object, callback)`: Returns the first key for which the callback returns a truthy value.\n\n`findKeyByValue(object, value)`: Returns the first key that contains the given value.\n\n`letterPositions(string)`: Returns an object with the index positions of each letter in the string.\n\n`takeUntil(array, callback)`: Creates a slice of an array with elements taken from the beginning until the callback returns a truthy value.\n\n`without(array, values)`: Returns a new array with specified values removed.\n","readmeFilename":"README.md"}