{"_id":"@courtneyo/lotide","name":"@courtneyo/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@courtneyo/lotide","version":"1.0.0","description":"mini clone of lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"./node_modules/mocha/bin/_mocha"},"repository":{"type":"git","url":"git+https://github.com/CourtneyODonnell/lotide.git"},"author":{"name":"courtneyo, lighthouse labs student"},"license":"ISC","bugs":{"url":"https://github.com/CourtneyODonnell/lotide/issues"},"homepage":"https://github.com/CourtneyODonnell/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0"},"gitHead":"a9deb229078721c3c7de7d363114806871358836","_id":"@courtneyo/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-GXL+190GAszJOwJryJMFM4CdNLjMYIDR3QG0N8DezvL+iV7BqFCFwPUdRtFBu+ufcxXJJu5II8o+7bxUnkteZQ==","shasum":"e6c5147e4b4a838325ed22cf183afd9c6166e0de","tarball":"https://registry.npmjs.org/@courtneyo/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":29372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaPv9S+Q4baHRM9XKsqjLMy1ioIgjZq2Yqin5wywn+MQIgUDy1o5A7QErmUkx2Tr5Tg7oAcvYdj4/SZy1Or4mGDHQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio4GUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEXg//VpPPzW3q5Du6ysCL8hhSvuyPvUQo3eBbniNqRyiTc7fKaz4i\r\nGQ3vG0BotgEPu4QSAZ6vt6Gne31uMV2dP3Wr0zEpsy1ZGW4Pwsvhx1RS67p8\r\nGj8MnOzpHThBW7oLYBtv8Ov4DQmkYElA6fCQmkDEvffS30edsGuiGgW9DtsU\r\n8Gb5un9X81QOB9kSNAuSO27NeouOXfoxbPyffnoZX1f2fGKNmiqwcWjMceN0\r\nxNCOtGXbQTT774gXcVsbv0YgmmVkm9yUBD0Mqfys4DatsjSssElHREXAFw+u\r\nOGjaZxDOe19NphCfgjjRrCD9LsVHVbC2ovEypAyJ2BQkkMiXxjwX5QVlVClj\r\nv0xUyxRiA88roM/iHO2fifdYXp+xjXKw1uQboj8VD45pGmx7+lsEhoPTEyHf\r\n8sSMHgCYE1lD09+fPX0UdB8I8xv3yk8qUTDQKgkl37x4rXrJmxW74EKm9tuq\r\nzuF9fvX90BwGeWy0aRWfRuor7czBNJWX9Mkfmsli+1XKJq1J4fvTo5JUjr3N\r\nlsYiNsvvxxHyTxNa12Rmde90DtCacUGgKrAGv0cVRuQf08rp5H/ylsfO0OAN\r\nsfe6uJcW05iYyHrX1KElCxs0uS1Jv2l5uIpWcCcWdNBzJvUOHjPELkAxqW2k\r\n0QZw7O1iHJQqJNQoC7OEosU0V0VS0pgIOkk=\r\n=CipK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"courtneyo","email":"courtney.odonnell.cormier@gmail.com"},"maintainers":[{"name":"courtneyo","email":"courtney.odonnell.cormier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1654882708248_0.05525859386378573"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-10T17:38:28.147Z","1.0.0":"2022-06-10T17:38:28.460Z","modified":"2022-06-10T17:38:28.573Z"},"maintainers":[{"name":"courtneyo","email":"courtney.odonnell.cormier@gmail.com"}],"description":"mini clone of lodash library","homepage":"https://github.com/CourtneyODonnell/lotide#readme","repository":{"type":"git","url":"git+https://github.com/CourtneyODonnell/lotide.git"},"author":{"name":"courtneyo, lighthouse labs student"},"bugs":{"url":"https://github.com/CourtneyODonnell/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 @courtneyo/lotide`\n\n**Require it:**\n\n`const _ = require('@courtneyo/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(actualInput, ExpectedInput)`: asserts equality of two arrays\n*  `assertEqual(actual, expected)`: asserts if two values are equal\n*  `assertObjectsEqual(actual, expected)`: asserts if two objects are equal\n*  `countLetters(string)`: counts the character in a string\n*  `countOnly(allItems, itemsToCount)`: counts specified items to be counted from a given group \n*  `eqArrays(array1, array2)`: tests if two arrays are equal\n*  `eqObjects(object1, object2)`: checks if two objects are equal\n*  `findKey(object, callback)`: finds the first key of object where callback is truthy\n*  `findKeyByValue(object, value)`: finds the first key of object where value is truthy\n*  `flatten(array)`: merges arrays and nested arrays into one array\n*  `head(inputArray)`: returns only the first item in the array\n*  `letterPositions(sentence)`: return all indeces of sentence where character is found\n*  `map(array, callback)`: creates a new array from calling a function for every array element\n*  `middle(array)`: finds the middle element(s) of the array\n*  `tail(inputArray)`: returns all but the first item in the array\n*  `takeUntil(array, callback)`: returns a slice of the array with elements taken from the beginning.\n*  `without(arraySource, itemsToRemove)`: returns array with specified items removed","readmeFilename":"README.md"}