{"_id":"@azulverdosa/lotide","_rev":"2-9e55c4934f7b97f7af78e4352df10e62","name":"@azulverdosa/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@azulverdosa/lotide","version":"1.0.0","description":"library based on lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/azulverdosa/lotide.git"},"author":{"name":"Ava Elise"},"license":"ISC","bugs":{"url":"https://github.com/azulverdosa/lotide/issues"},"homepage":"https://github.com/azulverdosa/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.0"},"gitHead":"4e1fb75f56df375a94df322bb67bc33d644253dc","_id":"@azulverdosa/lotide@1.0.0","_nodeVersion":"17.3.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-D9pRGLyX7nyReMAyU302Z0xxwmsl6RbOYPqAel8hp1nQyskvlq9GNfokyEgMDT1bnUbylr6deBjSpxTV/RKEXw==","shasum":"7ca90cf8e1dd2c96ad334cbab17e81b7b247cc55","tarball":"https://registry.npmjs.org/@azulverdosa/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":23413,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBuIACRA9TVsSAnZWagAA/XcP+QGUvxs+yqDF9JJgL1GF\nQXAWbHmvTKLkd7MPts+1GireYrX/yaH0zLEjB0ZENN7cuEr5ShPil3QbgYeA\nZ91L23uLKM2uDBWTr+sN9OVLTu0LRpY0CJJxMgyoX9MligeIn/Ousl5oU9jg\nXe4H2e6IU8ZgvEvOhAnhanQLseyq47mYCFrT9hO3qI648QD5/0F5cF6N4J3c\nEUlLVulUWBzL5Q5a0gOqNr+yeHiI+jjFfiNaz8GrCKl4cR2hgvpT+0TAw1Wt\nKp8jAAHxaLr21fM7iGBAPQe3xo+reKnmrjbg3wWeGgc7kqxQbND4/sRBZUTa\neeIKX/sOB+CrYu62ZMVtkdaY8EqS80sD/idihxsEMmpz5DDPHhm5yvnXX7up\nTrKOBEyRwnEdRr7b1rY7tQt7rQwT8eG8LlSkdFCZ8CiY9nSE4A977KISKVkj\nPag70AzqI6370vr7oUonUTNCEPKkfkiOgN2DvYFOGR6fcg+7ZGsRz4itdKc/\nDRQDQb1NHutq+ujFtaNn8873IsuQ8cqKpSj6wY0VhxN+8UN0AfmO2EtukKG+\nyOgtHJpNMWN03Y7ZBf4Aj5tsmtu0/90Rkh7+JiPsBhvQP3nGn4V7QTSqWfmc\nZ7PGpyDj7Hq7KhW8T8qtFOrWgk+X+4cg7vNTS+0fLFp5r95kyMhXzQVsChs3\nGvKP\r\n=Zv19\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9efTlVIksXUjekDIFtGPJqAtKzmeWoP/5EVfDTUA7/QIhAPXq2q5SnbqhufQvzGhgEhe+keYVJdqCPPhklSG5Da6T"}]},"_npmUser":{"name":"azulverdosa","email":"eliserichardsson@gmail.com"},"maintainers":[{"name":"azulverdosa","email":"eliserichardsson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1644618239964_0.7443720689026132"},"_hasShrinkwrap":false},"1.0.1":{"name":"@azulverdosa/lotide","version":"1.0.1","description":"library based on lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/azulverdosa/lotide.git"},"author":{"name":"Ava Elise"},"license":"ISC","bugs":{"url":"https://github.com/azulverdosa/lotide/issues"},"homepage":"https://github.com/azulverdosa/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.0"},"gitHead":"4e1fb75f56df375a94df322bb67bc33d644253dc","_id":"@azulverdosa/lotide@1.0.1","_nodeVersion":"17.3.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-q4kp4irgFatvTAcPgTFo8p8lGcEib/m0PVhoomse/hgWAydYCIkLLC5NS5NZwewV23QdGIMj3lTxqdeTeOOuOQ==","shasum":"7d054191b694779abb7dee8f66bb90651b406724","tarball":"https://registry.npmjs.org/@azulverdosa/lotide/-/lotide-1.0.1.tgz","fileCount":25,"unpackedSize":23461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBuMlCRA9TVsSAnZWagAAvU0P/3SFXZgVhapLWU6CmcWa\nS4TKAdQxavZWQb0ir3pHatYmERx4y6irZirNV4TN+jHg2NWr8P0NLEubVjfa\nBWQO06dNTA6YNhFczQmKaef/1G5SeyqIe/+MYoHiPYi1vcbCWXxLgInozvpw\nKnuJILpRT6Oyq9Kh3mus2Q+3L2TgsAydzlJKq/pvZMCKJpT4wy3wBdmGzyoW\nhLCLTJe6ueew3suFspmqedcBl18HxMXaXx8rDQScHzW+SCNNv53GZOCJNvRG\nHIBa6KpFBtK4xtvl9pjBCokP54Pxp6f682lXwSeSTDqYJwOTTXWFNbnCIfzH\nhAzoHjeYjG0khrsK19sYAIPcr3EvC8akkChvYz6pltZMhNqlVcpgUEFKSBBe\nqUVh+dkrlF33g46WrF/XTnR7XI4BdQ5wiuqauUzG4cnEeQdQ5UJcQzXKCxNk\nuj+QC6hotLbpgOeCOtvghCszx25LvoX+7qOy7vRjsaMr1e1yxxE3yTnncXPn\n1Vv7M/Zmo5c7XSEXJDDaUJzhTwlfLgiLlChpqwB8+L5A5i+sl5mCbLhL7S/p\n5R0A6KN9xIi9ZiOPhbSKtGYrsFtzTzYwoq5mtyZZI4M8Imkg7d12lbQUDY1v\nhpHfZ7JeZv0PzfA1UfvCM5MaJLKVegCXmAZnRFCjHcRSoEOCjVKZg++zI9t7\nda++\r\n=i/2m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxTrEUxwXfX1hOcnlQXyyzVszxf2289Or8JQBO6Grf2AIgKNkZbdYo8uW8ZEh/D4TT6A+vbS8lCpLxKKal7qseJoc="}]},"_npmUser":{"name":"azulverdosa","email":"eliserichardsson@gmail.com"},"maintainers":[{"name":"azulverdosa","email":"eliserichardsson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1644618533257_0.6393993821294777"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-11T22:23:59.905Z","1.0.0":"2022-02-11T22:24:00.105Z","modified":"2022-04-04T17:17:15.732Z","1.0.1":"2022-02-11T22:28:53.406Z"},"maintainers":[{"name":"azulverdosa","email":"eliserichardsson@gmail.com"}],"description":"library based on lodash library","homepage":"https://github.com/azulverdosa/lotide#readme","repository":{"type":"git","url":"git+https://github.com/azulverdosa/lotide.git"},"author":{"name":"Ava Elise"},"bugs":{"url":"https://github.com/azulverdosa/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 @azulverdosa/lotide`\n\n**Require it:**\n\n`const _ = require('@azulverdosa/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 first element of a given array.\n*  `tail(array)`: returns everything but the first element of a given array.\n*  `middle(array)`: returns the middle element(s) of an array in a new array.\n*  `assertArraysEqual(array1, array2)`: compares two arrays and logs to console whether or not they are equal. \n*  `assertEqual(x, y)`: compares two primitve values and logs to console whether or not they are equal.\n*  `assertObjectsEqual(object1, object2)`:  compares two objects and logs to console whether or not they are equal.\n*  `countLetters(string)`: returns an object with an occurence count for each character except ' '.\n*  `countOnly(array), object)`: uses true/false values attached to keys in the input object to return an occurence count for true-flagged keys in the array as an object.\n*  `eqArrays(array1, array2)`: compares two two arrays and returns whether or not two arrays are the same. \n*  `findKey(object, callback)`: returns the key in the input object with the value of the callback function.\n*  `findKeyByValue(object, value)`: returns first key in the input object matching the given value.\n*  `joinList(array)`: formats single-level arrays into strings.\n*  `letterPositions(string)`: returns an object containing the indices of all letters in the given string.\n*  `map(array, callback)`: performs callback function on each element of given array and returns a new array with the values of the callback on the given array.\n*  `takeUntil(array, callback)`: returns a new array of all elements in given array until element is equal to the return of the callback function provided.\n*  `without(array1, array2)`: removes elements of array2 from array1 and returns in a new array.","readmeFilename":"README.md"}