{"_id":"@antenehgedamu/lotide","_rev":"1-7e13ac6c8fb19c17688c611347c01899","name":"@antenehgedamu/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@antenehgedamu/lotide","version":"1.0.0","description":"lotide project at lighthouse labs Dec 2021","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AntenehGedamu/lotide.git"},"author":{"name":"Anteneh Gedamu"},"license":"ISC","bugs":{"url":"https://github.com/AntenehGedamu/lotide/issues"},"homepage":"https://github.com/AntenehGedamu/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"a4c8f161600a838234238a4307f7079ee8677985","_id":"@antenehgedamu/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-E6rDBKSKVk/bkEFRzGvPf4xYPhUIG88FwErsiwZgx92a+xOomQ8xArNZxXURpCxQf8WmhZRDT+o+BeijFBHbMQ==","shasum":"13b93480527cf23b44b1ca0305156013d2b397a4","tarball":"https://registry.npmjs.org/@antenehgedamu/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":15244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqiZnCRA9TVsSAnZWagAA10sP/0TTKq3UDZ0FOyZd395f\nB3La8cE2uxrbykwtFlzZlE+Cl4ZyEh7ufad2+gKRuRmcda7RVaBxial8q5HD\nKtA+hFf9/iIgrPkxE43Ie8FXPU+YS6Q9zW08TWqxDG/X3VQ9zFsRVUp52JtU\n7/R6LMKZqwguS/SlwUf8kaN5gQ+9BmPY6oPAI6/zHrUsSxuWgqeKWgDKJKzu\nFEnBQAoOhdjrL4ywuk3ym++Oufw+g/KvLabJ8ZIfZeCrNlYuf3Ii5L532ZNp\ns7701AJeTC7Q4Fz2TXuHubZURNz7kpkXP1sxu3PCkEKq74YO3ABV2gdzverw\nWmjFLIj0pia5f3vc4LZreOq75VHfWj0/Fh3LR+qetShGcCQihUQzygDCKCgs\nuffDi791dMtLgdjk2lXJpcyj9HBF3AEdq6CvaBNQilTa8mlPseif6up8BtCa\nrAjUGR924Ppg1W2koU9iPfunubw12OFga1/eN8cHxjsmQ/hjSB84CAxei1px\n/j1u/Rzs6bHTW3D/LWxXELwz/XoNJnYiHp0kOyz8wLFcAbYWs/gMfa4+w5Ab\nbtLJQaOQrxinZ2tkEu6oIR4uVAsb51AGlkAU/wBQ72q2e4UB8JH2yDOhq3RW\nJF33bQhqK9nhAn4IYgP/9lzO4k2uiE0Emcg2WW9AC7RpT19N925shwjObKN9\nDCj9\r\n=E7EH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpVGdOalG6U4gkB6AYZrnp5XG78eJQtmoyRja8/V3jXQIhAMDu05X2mQPFBw+QukqYle6vZqeLwadVhyG5Gy3OpDFQ"}]},"_npmUser":{"name":"antenehgedamu","email":"gedamuanteneh@gmail.com"},"maintainers":[{"name":"antenehgedamu","email":"gedamuanteneh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1638540902936_0.9557427168032646"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-03T14:15:02.876Z","1.0.0":"2021-12-03T14:15:03.121Z","modified":"2022-04-04T14:21:21.861Z"},"maintainers":[{"name":"antenehgedamu","email":"gedamuanteneh@gmail.com"}],"description":"lotide project at lighthouse labs Dec 2021","homepage":"https://github.com/AntenehGedamu/lotide#readme","repository":{"type":"git","url":"git+https://github.com/AntenehGedamu/lotide.git"},"author":{"name":"Anteneh Gedamu"},"bugs":{"url":"https://github.com/AntenehGedamu/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 @antenehgedamu/lotide`\n\n**Require it:**\n\n`const _ = require('@antenehgedamu/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: compares 2 arrays and returns if they are the same\n- assertEqual: compares 2 values and returns if they are the same\n-assertObjectsEqual: compares 2 objects and returns if key value pairs are the same\n- countLetters: returns the number of letters in a string\n- countOnly counts number of specific letters defined by user in a string\n- eqArrays: uesed by assertArraysEqual\n- eqObjects: used by assertObjectsEqual\n- findKey: returns keys of object\n- findKeyByValue: return key of specific value in an object\n- head: returns first value in an array\n- letterPositions: returns a string as an object with the letters and their indexes as key-value pairs\n- map: returns new array of true values based on callback\n- middle: returns middle value of an array, if even numbered array returns 2 values\n- tail: returns array without index[0]\n- takeUntil: returns array until callback is true\n- without: removes values from array\n","readmeFilename":"README.md"}