{"_id":"@alon.codes/lotide","_rev":"2-f4aefd0eebb736a87632211207a656d2","name":"@alon.codes/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@alon.codes/lotide","version":"1.0.0","description":"Copy of Iodine library for Lighthouse Labs","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+https://github.com/RodoMark/lotide.git"},"keywords":["lotide","lighthouse","labs","bootcamp"],"author":{"name":"AlonCodes"},"license":"ISC","bugs":{"url":"https://github.com/RodoMark/lotide/issues"},"homepage":"https://github.com/RodoMark/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"3c0343aeed23769df53594af1070770f490e2158","_id":"@alon.codes/lotide@1.0.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-/zDzOO5l6dEN+q7PqRQZz1VoizBZAZXHIvfb1TT8HU7V2SseT8eAKhMMUqBjALiT+WNhSO4dC9cKKpo+0mN8Ag==","shasum":"3b7392c0913fc6bcd145124e57f0d2ca11b803ac","tarball":"https://registry.npmjs.org/@alon.codes/lotide/-/lotide-1.0.0.tgz","fileCount":29,"unpackedSize":38233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/Kt+CRA9TVsSAnZWagAAd80QAIs23eRsJur2AvSx+5XV\nximo7PSZHns3GA38yufKtvCWHjdB4gNmS14eDyeXskay3zYo3BpSvrwZZcGd\nFMVGqNIddaTVFA1s3jMJnwlf7dAaLdWU1esEBzFR4lDk0L4P/OzZGXYw2KBA\nxRSXaUYA6axQidPmtXyrzgqBwRoycSItxfUDrZEJrVq3oRljWlI0u/X2facS\nlSfoxcAERDa0Sv72PCqcN7Eq7ZlaAwtPacshXmecX8P7d1Nur+6pmf1GRtXQ\n84eg+ZdHdinN8kMmxcUPxRUcrExq9pgnH8+zX5sQbG5snhzywZaXg6r9j841\nAFwHWRX3lotIXK/HFUti24Q3H2A4fNDCms1U3GNOLgPtUTBC1oNqSm1G9jfO\nrnkfcOMgRVc+gkg2VGTqoeSpVAj+5vqZROqBbTgmQqAcYo7/8CrHE43ObBft\nNpkuZuxWU0XKaLnetzdVP+7KlnxInxMHt6gYHvNEbtSavebdOs4A5Zvq12pW\nGXK7aKjjaaJqYVPgMXRW1vaCSqvfGSMDaM8LwFdoDIgRE94XhcCu6ydRQRK8\nmWClk1pNKQlmnoz+iLasV+3HoR2BzD0BHr/FshTOqtUHhD+I6wH8N6ZVW0bB\nsdbQ3ok/ZFEN6wKEou+aqC0qB5kRZglczghISiXrnksrqkjaOWevRx34DTLa\n+yO7\r\n=Zba1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpyJ7M9M4XbhGaQz7m93UI2zCq3i4fkIorDX/XN1fRGAIhAIgKoSqe04oAZGjLyViS+JrlsB8bcmEDnjYHfMGeOKaW"}]},"_npmUser":{"name":"alon.codes","email":"alon.rodovinsky@gmail.com"},"maintainers":[{"name":"alon.codes","email":"alon.rodovinsky@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1610394493966_0.10360108029632786"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alon.codes/lotide","version":"1.0.1","description":"Copy of Iodine library for Lighthouse Labs","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"repository":{"type":"git","url":"git+https://github.com/RodoMark/lotide.git"},"keywords":["lotide","lighthouse","labs","bootcamp"],"author":{"name":"AlonCodes"},"license":"ISC","bugs":{"url":"https://github.com/RodoMark/lotide/issues"},"homepage":"https://github.com/RodoMark/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.1"},"gitHead":"748a448a887b4187890eb537ea7d901739dbe3ad","_id":"@alon.codes/lotide@1.0.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Cfib+DACe5+fRDT9LEbamDdk9AZTz0Qix1y2Tg2atFqnt5m8LFxky1BzeIuUfqdNKRxISwiW3Mov9Nu+UExj5g==","shasum":"105f2f7e1e6345b19d64ee48dfa356418685a294","tarball":"https://registry.npmjs.org/@alon.codes/lotide/-/lotide-1.0.1.tgz","fileCount":38,"unpackedSize":37574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/PSKCRA9TVsSAnZWagAAD7QQAIOrj12BqSFQpQ1m04Z2\nEAijD0pmaxBH4wqa06EWGVsAsL/+2hfwkzoGLVPiu66zvo49E/Vo2K+RxQcs\n2fexbY9Um5U+BgTZ8HxCa/8DNNx0+wca6jQ3GDyeg+M2QqmOFL77ssQDzEsH\nu+/rFnoU1jIHARgYSJz01ZJOpHxJtKVEQa0wBKYVMmt6BpHAz1f7uzZ5DwNs\nRcuL65a10/JKw14Tv71Sm/XXGg5Kuw/4kZl2nnR6K0y3HNMzPZbJSBuSBATj\nDbBUjsQJ2ISby2yfaYFEXkRnjVfZaKxylZelxQhT2Zt4y8AxbWgSKwTUfCkb\nFZZQiXtKlj30DKUavXnWsxMjOaSDYl9DcuMCid+Ngr5464PaeNYHT0catulw\nap9ramYuAbi+xed6V4X+40RBAXFR7UZ0uleacB8/tj9vCoQPuJrb9N6o8Rex\n5IiZb5xJ3Mcq7xYK4iTwozvqZnvUvnpxkkEPKv0oHeLengihqaywBJky/DKK\n+1AV6sia1apHJt1YBjCbFylwjv4o4eB6kqntXHTHrWTXli6LBKfCi6ntK0cg\nczMAHUj8beSKqpiHM/XhdIrgamuRJ/j8gRvhrnxKbqLeAS0jR405We5VMDYP\n/y7F3J4X1/ymLM1nxG5BAlnyQ+qFiEsRFhJ+yPFxYgJ2mHdPEhJmRU5+zD+e\nH08T\r\n=nunM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVA1LMctOtearr0UboGNUhmFZ2cEb6264gTZwpm/DiaAiAhX0nt2KhnKP2RHiICs6KMUE4CtByA8GNW9bPyyz44gQ=="}]},"_npmUser":{"name":"alon.codes","email":"alon.rodovinsky@gmail.com"},"maintainers":[{"name":"alon.codes","email":"alon.rodovinsky@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1610413193794_0.22240708378014906"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-11T19:48:13.907Z","1.0.0":"2021-01-11T19:48:14.075Z","modified":"2022-04-04T13:36:57.840Z","1.0.1":"2021-01-12T00:59:53.982Z"},"maintainers":[{"name":"alon.codes","email":"alon.rodovinsky@gmail.com"}],"description":"Copy of Iodine library for Lighthouse Labs","homepage":"https://github.com/RodoMark/lotide#readme","keywords":["lotide","lighthouse","labs","bootcamp"],"repository":{"type":"git","url":"git+https://github.com/RodoMark/lotide.git"},"author":{"name":"AlonCodes"},"bugs":{"url":"https://github.com/RodoMark/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 @alon.codes/lotide`\n\n**Require it:**\n\n`const _ = require('@alon.codes/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### `buildSequence(number, multiple)`:\n\n#### Generates a linear number sequence based on the number of iterations and the multiple,\n\n### `countLetters(string)`\n\n#### Counts the number of times each letter occurs in a string and returns it as an object.\n\n### `countOnly(allItems, itemsToCount)`\n\n#### Takes an array and an object.\n\n- If a key in the object has value `true`, the function counts how many times the key occurs in the array.\n- If a key in the object has value `false`, the function ignores the key.\n\n### `eqArrays(array1, array2)`\n\n#### Takes 2 arrays and determines if they're equal to each other.\n\n### `eqObjects(object1, object2)`\n\n#### Takes 2 objects and determines if they're equal to each other.\n\n### `findKey(object, callback)`\n\n#### Scans the object and returns the first key for which the callback function returns truthy.\n\n- If no value with that callback function is found, then it should return undefined.\n\n### `findKeyByValue(object, value)`\n\n#### Scans the object and returns the first key which contains the given value.\n\n- If no key with that given value is found, then it should return undefined.\n\n### `flatten(array)`\n\n#### Takes an array and pushes all of its contents one by one into a new array.\n\n### `head(array)`\n\n#### Returns the first value if the array has values in it.\n\n### `letterPositions(sentence)`\n\n#### Returns the index positions of every letter in a sentence while ignoring spaces and non-letter characters\n\n### `map(array, callback)`\n\n#### Takes an array and transforms its values according to the callback function\n\n### `middle(array)`\n\n#### Finds the middle value of an array.\n\n- If array has odd number of values returns the middle one.\n- If array has even number of values returns the two closest to the middle.\n- If array has 2 or fewer values, returns blank array [].\n\n### `tail`\n\n#### Returns the values in an array except for the first one.\n\n- Returns a blank array [] if there are fewer than 2 values.\n\n### `takeUntil(array, callback)`\n\n#### Takes an array and a callback and returns the first index value for which the callback function returns true.\n\n### `without(source, itemsToRemove)`\n\n#### Takes an array and returns it without the items you asked to be removed.\n","readmeFilename":"README.md"}