{"_id":"@bilykb/lotide","_rev":"2-3d8d7481ee033265937de328703d70c3","name":"@bilykb/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bilykb/lotide","version":"1.0.0","description":"This repository contains all the functions created over the course of the Lotide project while studying at [Lighthouse Labs](https://www.lighthouselabs.ca/).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bilykb/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/bilykb/lotide/issues"},"homepage":"https://github.com/bilykb/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.0.3"},"gitHead":"5883f07b60b77971dd031bef04a40e13afb8339e","_id":"@bilykb/lotide@1.0.0","_nodeVersion":"12.22.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-9lWSa3YMmpUFiHnK1kY+QQ2QKm8aq2NEFFE/H3I+xgAi8JTXTcypm+JNvKj7ztQbDlKTFL14P6ixttBHi4DbjQ==","shasum":"4aa65bda26c15213991efb08d2677c0d4188896e","tarball":"https://registry.npmjs.org/@bilykb/lotide/-/lotide-1.0.0.tgz","fileCount":37,"unpackedSize":35094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEyqjCRA9TVsSAnZWagAAMasP/RE9SuPIVJ4kLYtGcyYN\nq+qMyc5krgeoS/XaQm5fFD8w3F5L0XFy1mJrII1LsyyiJ0XAj1TwVF8Ev2XI\nXBok9YWq0dfphbbuAWY8toDagpaGl8nD78CbkY5JvN67kNKtg781JpLR3Wbz\nt2rgobQKq7Qirlu6owVtPCXuYfEGVex+9wOqr06Nez+KRh4gOddj48duBzhb\nuW2UJbGNjlTrmAHkV6aAwIC1Gp7zV17PGEi1/RwBHQDM8lpP7/li9ZHOEmG3\nYc4BgDgMK/RKaQ9A6T8MZ0M49ziVoM4tKlJoeda665eJUNnjEWYqCGQYB0yR\nQeIH/kfdnSUuxgNgeI7WOfJncvsEeLPIOjlhbZNNBmuxOz1XBmIaOI5JtmVd\nexhcO7PSbWdlQdkfhjfuPwXHQVENBijbp5+r8IAWQ0Td5zcf6fYdQVwg36lp\nRO0mVosV8YSAEJnexUeFHWXVi5WxXtnoQPl/uukIpu+qDfwLe+FEzkf4Wlna\nb3jg3M7b57KukqSCPLCMUyq18VUpqZ7dxyvR4fyIj7vRMW9vSK340aqmQ5u6\n9o3qJzzqwczDrxWvkzDH+1lesLWqHAgx67D/UthXgue582/58CVGPuDpJQel\ndr8KdpY2+hl2fWA5s01XNp9ARjkra+oMfclEs0IHVik4t8+VwfWBbFdoDcm3\n08BZ\r\n=oyEM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaR2Gccoqw7IOPTjoHX0GHIz2ZnyQ5BicqhzZPW2GuDAIhAK6HtR4uxD58G/RIqSo3Fcsayzb+OiVP+du8qtevlFgv"}]},"_npmUser":{"name":"bilykb","email":"brettbilyk@gmail.com"},"maintainers":[{"name":"bilykb","email":"brettbilyk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1628646051367_0.34355075783383815"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bilykb/lotide","version":"1.0.1","description":"This repository contains all the functions created over the course of the Lotide project while studying at [Lighthouse Labs](https://www.lighthouselabs.ca/).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bilykb/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/bilykb/lotide/issues"},"homepage":"https://github.com/bilykb/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.0.3"},"gitHead":"11c4c1da582ce151947775a772576e041c2c0f50","_id":"@bilykb/lotide@1.0.1","_nodeVersion":"12.22.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-AGX46p0Uuv5brCwdPoXPIvc8gFmFr7FOt4q5Q07+ZMM8iXoen9Cj+cxa6y7pcmijUE8tWOwSSXz0LhCKUjca6g==","shasum":"1eb63e049ed35f6cfb7e7b36de0fbe938c5b887b","tarball":"https://registry.npmjs.org/@bilykb/lotide/-/lotide-1.0.1.tgz","fileCount":37,"unpackedSize":34493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEzLtCRA9TVsSAnZWagAABxIP/An/YmjOI2EELZqe+Bk9\nf64KDDWPe4yhi5+BUFiGXdVZZNbhu1SzWNirc0gVZ51JSgTT+ANIzv2t4LNU\n7U+lHLDV+QU+vqXWapR8f+CxMC3b5kE7Z+IpHzSfcfHmPRfZVOnyW63vUsTo\nFDgocXc8wT0KrjzCsAzXlzdRDsC9ENi692F52GFTNG5WiFuc4yZgRX4K0YPa\n4HpjliUgkRZGf7ATTrk6DKrGBWPG9VTcleQw4Nx43VOvY+oCzwdwKbIGSz9R\nTTJfpXORheDQo42JhznyQ7VP+PaEz5X+JEgFWsUzFWi7IEQ+Fdm3ZbJQQmHU\nKGjQHwwgGK1erj/+BMnsnXqaGccZ0XfV2BRrnMLdu0OzgNbBUWVsvD4u31X9\nAPfU7Y1wibOrYGygKSNAVoIPfUGiqYVgrc0h9mnJTzMX54ZnN737yCKqO7LC\nhhguh79ntISt/0P9J42BjPfLP8RGPLlDLz+XgYyECdIA1lIbG8kM7WSXLniW\n9VrvL1zOH7E3tPwvzjpRDN1RODHcUoKfEg3hgo7YuaJ+ffGdjF379H42X7gQ\nz1xK1anD7G2ZELqpDuzVgUSzVUZCrpLNbVYCvIy5VunUlJ0jjPhJTU/cE7Aq\nBGY11MaAscizrwDoRRjBtSwO3fc/zChvZyQh7+mVh3uO8N/B+6HI3pd+CgQ6\nKYMl\r\n=BwCO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEE5jMxLsa4btyin9v+v01ySNKPOdOjpqYX+Nm1hNYniAiEAx1lnIbKtnSS4WqOA2FAVZEeR5n7ox7gCtLpzmMev1f8="}]},"_npmUser":{"name":"bilykb","email":"brettbilyk@gmail.com"},"maintainers":[{"name":"bilykb","email":"brettbilyk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1628648173364_0.8268697056519347"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-11T01:40:51.323Z","1.0.0":"2021-08-11T01:40:51.621Z","modified":"2022-04-04T18:51:32.164Z","1.0.1":"2021-08-11T02:16:13.580Z"},"maintainers":[{"name":"bilykb","email":"brettbilyk@gmail.com"}],"description":"This repository contains all the functions created over the course of the Lotide project while studying at [Lighthouse Labs](https://www.lighthouselabs.ca/).","homepage":"https://github.com/bilykb/lotide#readme","repository":{"type":"git","url":"git+https://github.com/bilykb/lotide.git"},"bugs":{"url":"https://github.com/bilykb/lotide/issues"},"license":"ISC","readme":"\n# Lotide \n###### version 1.0.1\n---\n###### A [Lighthouse Labs](https://www.lighthouselabs.ca/) project by [Brett Bilyk](https://github.com/bilykb)\n###### <span style=\"color:red\">**Beware:  These functions were created while studying Web Development at Lighthouse Labs and is _not_ intended for use in production-grade software. Use at your own risk.**</span>\n\n---\n## What is Lotide?\n---\n\n>Lotide is  a clone of the [Lodash](https://lodash.com) JavaScript library to practice creating various types of functions using JavaScript.\n\n---\n## Summary\n---\n\n>This repository contains all the functions created over the course of the Lotide project while studying at [Lighthouse Labs](https://www.lighthouselabs.ca/). Functions will be organized by the week of learning in which they were created, and referred to in order of creation.\n\n---\n## Usage\n---\n\n**Install it:** `npm install @bilykb/lotide`\n\n**Require it:** `const _ = require('@bilykb/lotide');`\n\n**Call it:** `const results = _.tail([1, 2, 3]) // => [2, 3]`\n\n---\n## Table of Contents\n---\n\n| [Week 1 Functions](#week1) | [Week 2 Functions](#week2) |\n|--- | --- |\n| assertEqual.js | middle.js |\n| head.js | countOnly.js\n| tail.js | countLetters.js |\n| eqArrays.js | findKeyByValue.js |\n| assertArraysEqual.js | eqObjects.js |\n| without.js | assertObjectsEqual.js |\n| flatten.js | map.js |\n| | takeUntil.js\n| | findKey.js |\n\n---\n## Contents\n---\n\n### <a name=\"week1\">Week 1 Functions:</a>\n [assertEqual.js](https://github.com/bilykb/lotide/blob/master/assertEqual.js)\n* A function which accepts two primitive data types as arguments: actual outcome and expected result. The function then prints to console whether the outcome matches the expected result with an assertion statement\n\n[head.js](https://github.com/bilykb/lotide/blob/master/head.js)\n* a function which accepts an array as an argument, and returns the head of the array\n  \n[tail.js](https://github.com/bilykb/lotide/blob/master/tail.js)\n* a function which accepts an array as an argument, and returns the tail of the array\n\n[eqArrays.js](https://github.com/bilykb/lotide/blob/master/eqArrays.js)\n* a function which compares two arrays to determine if they are similar in elements and length\n  \n[assertArraysEqual.js](https://github.com/bilykb/lotide/blob/master/assertArraysEqual.js)\n* a function which utilizes aqArrays.js to compare two arrays for an exact match, then prints to console a pass or fail assertion\n  \n[without.js](https://github.com/bilykb/lotide/blob/master/without.js)\n* a function that accepts two arrays: the source array, and an \"itemsToRemove\" array.  It returns a new array with the items removed.\n\n[flatten.js](https://github.com/bilykb/lotide/blob/master/flatten.js)\n* a function that accepts a nested array with one level of nesting as an argument, and returns a single \"flattened\" array\n\n### <a name=\"week2\">Week 2 Functions:</a>\n\n[middle.js](https://github.com/bilykb/lotide/blob/master/middle.js)\n * A function that accepts an array, and returns the middle index value(s) in a new array\n\n[countOnly.js](https://github.com/bilykb/lotide/blob/master/countOnly.js)\n* a function that accepts an array of names, and an object of names you wish to make a tally of.  Returns a new object with a name count\n\n[countLetters.js](https://github.com/bilykb/lotide/blob/master/countLetters.js)\n* a function that accepts a string of characters.  It then returns an object with a tally of characters\n\n[letterPositions.js](https://github.com/bilykb/lotide/blob/master/letterPositions.js)\n* a function that accepts a string of characters.  It then returns an object with an array for the index of each character present\n\n[findByKeyValue.js](https://github.com/bilykb/lotide/blob/master/findByKeyValue.js)\n * a function that searches for a key in an object\n\n[eqObjects.js](https://github.com/bilykb/lotide/blob/master/eqObjects.js)\n* a function which compares two objects to see if they are similar\n\n[assertObjectsEqual.js](https://github.com/bilykb/lotide/blob/master/assertObjectsEqual.js)\n * function which takes two parameters, the actual object, and the expected object, and returns an assertion passed or failed\n\n[map.js](https://github.com/bilykb/lotide/blob/master/map.js)\n * this function is a copy of the higher order map() method. map() creates a new array populated with results of a callback function on every element in a specified array\n\n [takeUntil.js](https://github.com/bilykb/lotide/blob/master/takeUntil.js)\n  * the function takeUntil() will collect items from a provided array until the callback function provided returns a truthy value\n\n[findKey.js](https://github.com/bilykb/lotide/blob/master/findKey.js)\n * this function accepts an object and callback function. It iterates through the object and returns the first key for which the callback returns a truthy value. If not, returns undefined.\n","readmeFilename":"README.md"}