{"_id":"@alyshajoy/lotide","_rev":"1-cc72cf2a009332c8cfbd105c0b15273d","name":"@alyshajoy/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@alyshajoy/lotide","version":"1.0.0","description":"A package of functions that allow for manipulation of arrays and objects. This was created as a project for the Lighthouse Labs Bootcamp.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"author":{"name":"Alysha Huot"},"license":"ISC","devDependencies":{"chai":"^4.3.10","mocha":"^9.2.2"},"gitHead":"fe3465f3c99efc91d038b39e44d6d7dc57f49fda","_id":"@alyshajoy/lotide@1.0.0","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-S692IdURVhGc40jokdfrHjD9JKWXnz3qOdeywwmeVaMzRYKyZxjGvgmHX6Bx/1eS0mlpqcOezyf4z+jYPc47Rw==","shasum":"6e93e62a80fd8e626a6602b45b554cb575b06208","tarball":"https://registry.npmjs.org/@alyshajoy/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":36926,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDt5FB6EwJS9cpICms3mWf1+G6RiX1m3PuZtRAuDxFfogIhANBaqDpOHi62BEOdx8o+EtRN0pYeg3SuPob4FkwUcok/"}]},"_npmUser":{"name":"alyshajoy","email":"alyshajhuot@gmail.com"},"maintainers":[{"name":"alyshajoy","email":"alyshajhuot@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1698867805602_0.5690258263297374"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alyshajoy/lotide","version":"1.0.1","description":"A package of functions that allow for manipulation of arrays and objects. This was created as a project for the Lighthouse Labs Bootcamp.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"author":{"name":"Alysha Huot"},"license":"ISC","devDependencies":{"chai":"^4.3.10","mocha":"^9.2.2"},"gitHead":"016f277956b41af130429f593139e01dd36bc97a","_id":"@alyshajoy/lotide@1.0.1","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-Lor7PxOg9OF3mGLWFtrtd9F2lC9OwGqZJeZn1zW46BO3+/PNk60dZOeNEjbxX6ZF7zlKQBbkAKP1QZ6oR/D8IA==","shasum":"bc2788bb5bc4a4051dd9c73737632c6dad2906cd","tarball":"https://registry.npmjs.org/@alyshajoy/lotide/-/lotide-1.0.1.tgz","fileCount":33,"unpackedSize":35631,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChW4FidZwxCe/NZT1ETKXaNlODMdTKFTqK6hV0vzRDMgIgTdrxvURhPfXlo7jDAfMzFccfsOF75z75nC24jYsOW00="}]},"_npmUser":{"name":"alyshajoy","email":"alyshajhuot@gmail.com"},"maintainers":[{"name":"alyshajoy","email":"alyshajhuot@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1698891501571_0.2585003923916125"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-01T19:43:25.526Z","1.0.0":"2023-11-01T19:43:25.761Z","modified":"2023-11-02T02:18:21.908Z","1.0.1":"2023-11-02T02:18:21.747Z"},"maintainers":[{"name":"alyshajoy","email":"alyshajhuot@gmail.com"}],"description":"A package of functions that allow for manipulation of arrays and objects. This was created as a project for the Lighthouse Labs Bootcamp.","author":{"name":"Alysha Huot"},"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 @alyshajoy/lotide`\n\n**Require it:**\n\n`const _ = require('@alyshajoy/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(...)`: return the first value of an array\n  * `tail(...)`: return every value of an array except for the first one\n  * `middle(...)`: return the values in the middle of an array\n  * `assertArraysEqual(...)`: console log a message that tells you whether or not two arrays are equal\n  * `assertEqual(...)`: console log a message that tells you whether or not two values are equal\n  * `assertObjectsEqual(...)`: console log a message that tells you whether or not two objects are equal\n  * `countLetters(...)`: returns an object with each letter contained in a string as keys, and how often that letter is found in the string as values\n  * `countOnly(...)`: counts how often specific values are found in an array\n  * `eqArrays(...)`: returns true if two arrays are identical\n  * `eqObjects(...)`: returns true if two objects are identical\n  * `findKey(...)`: returns the first key within an object that contains the specified value when the values are objects\n  * `findKeyByValue(...)`: returns the first key within an object that contains the specified value when value is primitive\n  * `flatten(...)`: take an array with nested arrays and return an array with the same values, but without any nesting\n  * `letterPositions(...)`: returns an object containing each letter of the given string, as well as each letter's position in the string\n  * `map(...)`: applies given function to each value within an array\n  * `takeUntil(...)`: return each value of an array until it reaches a specified value\n  * `without(...)`: when given two arrays, it returns the first array but with the values of the second array removed\n","readmeFilename":"README.md"}