{"_id":"@audrey-audrey/lotide","_rev":"1-4abfa6fea44c07e2a3c4a104bcccad4f","name":"@audrey-audrey/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@audrey-audrey/lotide","version":"1.0.0","description":"A packaged lotide folder intended for learning purposes","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/audrey-audrey/lotide.git"},"author":{"name":"Audrey Untung","url":"https://github.com/audrey-audrey"},"license":"ISC","bugs":{"url":"https://github.com/audrey-audrey/lotide/issues"},"homepage":"https://github.com/audrey-audrey/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.0"},"dependencies":{},"gitHead":"f509f21ac1a16983c647c573bffb4d3d0f71c323","_id":"@audrey-audrey/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Z9wJttnE9deeZPut6HQtDCU5eV7G47iBWUQzhsZqeE4Wok2GbvPOX4wGS0NSx0+5jDVxNtp1J/aJl1rILAb1vg==","shasum":"e1dc75ee384e3fc86724d5537eea2ada7c6883ae","tarball":"https://registry.npmjs.org/@audrey-audrey/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":21609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoGiKCRA9TVsSAnZWagAAVpMP/jzWXA6isrc8dRh1w/Ha\n8r1ANcDyo8lEWRSNyEDQ573eJvI51ESMIRboSJxzW2qlMlFIWKMPaE94QiFy\nRKIAOkjrntWJIodaFJ/7eTkbm1HHvqx0VfkzHZrJOiXMi/Tb3aozDdD+dK5m\n9jTYol3qSn4luTQP+gb0CwBlxYPjX83ef1eIMv6S3gRG0bu1frRm0Uu/ERvM\nYSo0mQLYgSr8EazhK1R2F8YQrzUYFZQjy63fzJrVunevHz53mzgK5g1kMC5V\nJixYowsblr8njzAMQUOVKibU1AyCYq9xP8lMcF1GzRvuwmgI3p7WqzqbQKNc\nneDSqXz/cLj6psEpEaZcGyx+H+J2WGyTUgSWmcrAjHRuF9SN+dPYcxhmfu9S\n+lB2tfGaa+I7uZuAFibMsPBbAuA1FlRUCpsaWWbqSLjScOYUPYzSltv80Bv0\nPRbAgjPAEgTFIL6gsxGr+nBobxttURunfitSAR87mwT/AOc4LkKm2wKu9FnW\nRJ5RFl6LD3GgDwvTVM2K4ZvcSwjzXunl5KDPcrIkqpmhdrhI7FIrBeEMvK8h\njJ4CQVpXXD94zL00OjDPzbhLQDC0YUgU/BviuXjQg2c67iyFo5/ZCEs/Tsz2\n/AqwcRLUx24nd+Wk7Jjc0DvZEWxPw7GDHIS6glEFnpgMyxHatWXAP2+kpsF1\n/XvF\r\n=ajIy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfHt76rtBXwgDuY48lnNsc0bz83icxTDP8SBJUno2FugIgXgwVLRdxomF6DaD7Uccydo1nTb8g/qYyJjl1buxs+1E="}]},"maintainers":[{"name":"audrey-audrey","email":"audreyuu@gmail.com"}],"_npmUser":{"name":"audrey-audrey","email":"audreyuu@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1604348042102_0.9221213666586108"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-02T20:14:02.042Z","1.0.0":"2020-11-02T20:14:02.232Z","modified":"2022-04-04T16:23:00.940Z"},"maintainers":[{"name":"audrey-audrey","email":"audreyuu@gmail.com"}],"description":"A packaged lotide folder intended for learning purposes","homepage":"https://github.com/audrey-audrey/lotide#readme","repository":{"type":"git","url":"git+https://github.com/audrey-audrey/lotide.git"},"author":{"name":"Audrey Untung","url":"https://github.com/audrey-audrey"},"bugs":{"url":"https://github.com/audrey-audrey/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 @audrey-audrey/lotide`\n\n**Require it:**\n\n`const _ = require('@audrey-audrey/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(actual, expected)`: takes in two objects and returns a message to specify if the two objects are equal\n*  `assertEqual(actual, expected)`: takes in two primitive datas and returns a message to specify if the datas are equal\n*  `assertObjectsEqual(actual, expected)`: takes in two objects and returns a message to specify if the two objects are equal\n\n*  `countLetters(sentence)`: takes in a sentence (as a string) and returns a count of each of the letters in that sentence\n*  `countOnly(allItems, itemsToCount)`: takes in a collection of items and return counts for a specific subset of those items\n\n*  `eqArrays(array1, array2)`: takes in two objects and returns a true if the two objects are equal\n*  `eqObjects(object1, object2)`: takes in two objects and returns true if the two objects are equal\n\n*  `findKey(object, callback)`: takes in an object and a callback. It should scan the object and return the first key for which the callback returns a truthy value. If no key is found, then it should return undefined.\n*  `findKeyByValue(object, value)`: takes in an object and a value. It should scan the object and return the first key which contains the given value. If no key with that given value is found, then it should return undefined.\n*  `head(array)`: takes an array and returns the first element of the array\n*  `letterPositions(sentence)`: takes in a string and returns all the indices (zero-based positions) in the string where each character is found\n*  `map(array, callback)`: takes an array and a callback and returns a new array based on the results of the callback function\n*  `middle(array)`: takes an array and returns the middle element of the array\n*  `tail(array)`: takes an array and returns all the elements of the array without the first element\n*  `takeUntil(array, callback)`: takes an array and a callback and returns \"slice of the array with elements taken from the beginning.\" It should keep going until the callback/predicate returns a truthy value.\n*  `without(array, itemsToRemove)`: takes in an array and an itemsToRemove array and returns an array without any elements found in itemsToRemove","readmeFilename":"README.md"}