{"_id":"@eliza504/lotide","_rev":"1-5aade3556a1a120066cdf5d8a40355de","name":"@eliza504/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@eliza504/lotide","version":"1.0.0","description":"clone of lotide done by me","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/egalea504/lotide.git"},"author":{"name":"Eliza Galea"},"license":"ISC","bugs":{"url":"https://github.com/egalea504/lotide/issues"},"homepage":"https://github.com/egalea504/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"97d9287664703af2c0659ab2160b29ee7da88530","_id":"@eliza504/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-UiSQqyiR4WBdX1PsjLDZuTTpB6KlOpcu+MKgB+JzTGcdC4ktzbYmp4G7i//v0dsEbHScob59Jt8aqh5dHrkl/Q==","shasum":"4b67f6e3fce83b7c57207abfe24a35e037f41441","tarball":"https://registry.npmjs.org/@eliza504/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":24789,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2eDH0JpGVM0smqeapZ1Eqvy1V7ph9L5ki6A5vIXeYRAiBr4U679ZI7GWrpU/tjiNuNOiWTVpHCLeEtaQATd8RSAA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8YefACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoH8w/+ObAR1VcONlIkxx3UsAml0FyGD1OtNoF+iDLXtWYajwtVlj88\r\ncao3q51ke9S+LB2l73eHgNoj2/8pJ8Xn9yF7ohpg7wkGaE7vxDnjnFrcHv6H\r\nuKoqQIwHrcosaAwZKiWmuadYh04NezsYNvh0I/xZBZn0BXO+kSPH9uHuH72b\r\nDxxRZ11wgjpr16hUxot1M7I26xINvD5X2WJBcBBoUjnyDeX4Kqwp7dwdGk8o\r\nmAIyr2h+ejiwY2KHsAIBb97Q2orehKq9hYTgVHFuN86rrOa3fjzLf86tuYqz\r\nwB/4zFGAXiJlG8Y4Cr2RAPEwCZAG6PHVDDXtPJ/NqJ2zLKuPXqtIekb+hCeh\r\nnQC7xiFl/wV8TIBSxYUvUsimKfLv7J4tZugtAFi2eXsfPGeRFDckD9F1RBjg\r\nD4odIiVlMsvII6XtQHYE/lODSQcM700kW35vc9XWcD2qdxbSwytr06s5t2jI\r\nSTz9GpKnjwKwskSnRc7lpAqUDNmopOttr68RoERXr9jiHpSBz1G95J7IelRD\r\no5prDXpI43eCk3VWPot7giKxgfUhbTuvelS5XArWltc1gE12agGGiHyJG9l5\r\n0XH5Qq1YwLXydJ0TkbiIKVPOHc2F2g5tbHJ9RjPilY8JL0j7ulHBQ3K8wIVA\r\nNPJ9dz5SZvkPuE0GefODBvYeIM8AAYFifMU=\r\n=HjYZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliza504","email":"eliza.galeab@gmail.com"},"maintainers":[{"name":"eliza504","email":"eliza.galeab@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1676773279728_0.4472756850410744"},"_hasShrinkwrap":false},"1.0.1":{"name":"@eliza504/lotide","version":"1.0.1","description":"clone of lotide done by me","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/egalea504/lotide.git"},"author":{"name":"Eliza Galea"},"license":"ISC","bugs":{"url":"https://github.com/egalea504/lotide/issues"},"homepage":"https://github.com/egalea504/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"7c96d38b9b0f2599e5fc64cc604d073ceed9c73b","_id":"@eliza504/lotide@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-eNS8sFasrnHhJFaTiQ62kRSzDoQecP5OyGptF8FznDZLz2W0h8rPuY8pxtS+swsTAMBm0PGuZVjrIU8mAq1P5g==","shasum":"f344c6027881c7b23298f672ff340e7f6d9e376f","tarball":"https://registry.npmjs.org/@eliza504/lotide/-/lotide-1.0.1.tgz","fileCount":38,"unpackedSize":32200,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/Jtgv7k3T18oOS4WG9DGKWoJx+SwbtgKffFemdyVihwIgd22ACjOVEQdwN2GSoLqzTAHCUJR8drXfk/NQJOjPWJc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9VzLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZxw/9HsyBh+wr+EziAMmKtZBdjuEbxVQ2639yazUGBNQu6A9bzYjy\r\nvm58j1Rn7OvjmsyhyBbvmrGvr5ltwordeneieuMwaWwMcdAgmoF33zZ05MS6\r\nsVHT4SX4tKqbWacfHBXpaMu1zRadyxJGrC+OkbagtF+Kj9CNxlzV9j+mJ27B\r\nfWLsQmkRaP+viBjWDefjNlKEqnaDe/ZOshhP9Itju89Kf8sHefmtSXCH6eAG\r\nZTcBAD3tn74EjO8aN6h9lVSHWB6xg3Lei+jTzRtRugM5wO2dgtGYj17FPWJd\r\naulmBHxH4Ls2S/dSKCo97kwPCfdDmv6CIO8aj3SqMmQyBgMV8iGKalcUhdWk\r\n3Kf+BPXsMR664u6B0VqWvXXjoiMODCu9fjUv+2Yirp3bqZS+Z/WRFvVerxH1\r\nY8LKqjDa4ibm+Td6tDifnDt9r/XJ2vAMypq5IkWeacEVb0hxUz/ellymLu+o\r\nA+wMjDbL15wGXN8iya9jkbpELniz/dej0LF/0AaDN3GN+JPWHZQCNWvPG0R4\r\ntsHNnjLo35zDgQ/gj+rkg3NQxEToL5df/c4FDchUnYHDRWbHMzoLgS1obhbh\r\nQLHw85Nepx4g3ScFcAumrzpWZ1msM+BpTdLIo5Lwm8Mm8BOu+O0RtU+UA4ZI\r\nX0PUPC0V2pmuK31ZalN/g7YHVpnx1lM+f6M=\r\n=Nbxw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"eliza504","email":"eliza.galeab@gmail.com"},"maintainers":[{"name":"eliza504","email":"eliza.galeab@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1677024459598_0.4324106120128215"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-19T02:21:19.669Z","1.0.0":"2023-02-19T02:21:19.896Z","modified":"2023-02-22T00:07:39.866Z","1.0.1":"2023-02-22T00:07:39.743Z"},"maintainers":[{"name":"eliza504","email":"eliza.galeab@gmail.com"}],"description":"clone of lotide done by me","homepage":"https://github.com/egalea504/lotide#readme","repository":{"type":"git","url":"git+https://github.com/egalea504/lotide.git"},"author":{"name":"Eliza Galea"},"bugs":{"url":"https://github.com/egalea504/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 @eliza504/lotide`\n\n**Require it:**\n\n`const _ = require('@eliza504/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* const head   = require('./head');\n* const tail   = require('./tail');\n* const middle = require('./middle');\n* const countLetters = require('./countLetters');\n* const countOnly = require('./countOnly');\n* const findKey = require('./findKey');\n* const findKeyByValue = require('./findKeyByValue');\n* const flatten = require('./flatten');\n* const letterPositions = require('./letterPositions');\n* const map = require('./map');\n* const assertArraysEqual = require('./assertArraysEqual');\n* const assertEqual = require('./assertEqual');\n* const assertObjectsEqual = require('./assertObjectsEqual');\n* const eqArrays = require('./eqArrays');\n* const eqObjects = require('./eqObjects');\n* const takeUntil = require('./takeUntil');\n* const without = require('./without');*\n\n* `const assertArraysEqual = function(actual, expected)` : function takes in two arrays and outputs whether they are equal or not\n* `const assertEqual = function(actual, expected)`: function takes in two values and outputs if they are equal or not\n* `const assertObjectsEqual = function(actual, expected)`: function takes in two objects and outputs whether they are equal or not\n* `const countLetters = function(sentence)`: countLetters takes in function and outputs the number of occurences for each letter within it\n* `const countOnly = function(allItems, itemsToCount)`: function takes in an array of items and returns a count of occurences for all the items that were called in the object\n* `const eqArrays = function(a, b)`: function takes in two arrays and outputs whether they are equal or not\n* `const eqObjects = function(object1, object2)`: function takes in two objects and outputs whether they are equal or not\n* `const findKey = function(object, callback)`: function takes in an object and outputs the first key that meets the criteria of the callback function\n* `const findKeyByValue = function(object, value)`: function takes an object and a value and outputs first key that matches the said value\n* `const flatten = function(fullArray)`: function takes in an array that contains nested arrays and returns a flattened versions\n* `const head = function(array)`: function returns first index of a given array\n* `const letterPositions = function (sentence)`: function takes in a sentence and outputs and object with the positions of each letter\n* `const map = function(array, callback)`: function takes in an array and outputs the results of each index passing through callback function\n* `const middle = function(array)`: function that returns middle of a given array\n* `const tail = function(array)`: function returns the last index for a given array\n* `const takeUntil = function(array, callback)`: function that will take an array and loop through it until output matches callback function\n* `const without = function(itemsArray, itemsToRemove)`: function takes in an array and outputs array after removing selected items\n","readmeFilename":"README.md"}