{"_id":"@dfrumovitch/lotide","_rev":"2-eba51bbaee97013d86b0a67f9bd67b60","name":"@dfrumovitch/lotide","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@dfrumovitch/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/reverie-designs/lotide.git"},"author":{"name":"Dasha Frumovitch - @reverie-designs - @dfrumovitch"},"license":"ISC","bugs":{"url":"https://github.com/reverie-designs/lotide/issues"},"homepage":"https://github.com/reverie-designs/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^6.2.2"},"gitHead":"4dc8cae2a9c7e7ed4f395c78aa17fef638053628","_id":"@dfrumovitch/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.12.0","dist":{"integrity":"sha512-EHnSFMTHKaxYAszGfhqaJHHTK+IFjWBD+vhX5001FO2xfwEZY5b243JFxAMLfJLr9wmyKB5Dcx5HahweC/hiiw==","shasum":"de0f257c66a406de1caaf4ea3bf7d60146b5a5f6","tarball":"https://registry.npmjs.org/@dfrumovitch/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":20031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrgOoCRA9TVsSAnZWagAAKUAQAIvWazD47p7EnWFsNNjr\nlRfMo9x3+Yiz+rcbF34EBtjCLQLaLbdRcr4/B0n/r8i1xIraCAHTnF7I2Gob\nCJYFl1JYPux1va3Rhnhr6eSC0RhiKA3IioUlnjARqMHxrOVi5NY0d6apiClD\n+qZzxXnnaHBO8/mIyHBJ7AsHsR3H1YbbEl8zGzuRR0uW3EqfU50ia5JjWNCV\nE3QJu7Ncq9ecZaHRRhBsBRvWg4CHgHVJrlkCiWZuboIi3H3NwPff1Zd1qw71\nsS1Vhs+WY9MadnajBmmCVla7RRqx7TBdVMOBwDeGIOaUrTDn0y4yICveu54W\n8mTVOc2IUzKym1T+OyUcR+dZg0gMgxNbrXqZDCuTDLsRkdkTRvDLClEgnG7c\nbCH7d9Kcu1tYzJVj9YVym/TYD8QSiFvkgVqJSgpYoGz5NvRILxtXD4wXxx0N\nv7ZIE8jN/TmxvHv4BkBBy2g9IY5qUYOdVXjcpXjlfUK/cWfSaskcCGE217un\nO6pvu4q2slLRN5R8AJs9d/pxFbfkIRZQxOUOVDnCT7doFtTozJ+M98Gq5pfx\nnNyOuW4Kt8PZVt38tv6C0tPm0OTgUMPZnE2mDQwU/M/5wecUFjXNpLqzl05W\nAVK0Y7nNyr2BJVsKMD9aOt3mNHor4J7H689FBDIAewxXFrcaaa3UVgIGu6r2\n/ZaX\r\n=iVSX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCa8vQJU5u0HstnW55d86AOjOkozyQxsr8Rpt5fw7uj8QIhANJuQu65eD4oW0egCmew0LRCzoME63xZrHXkRUuDuPbp"}]},"maintainers":[{"name":"dfrumovitch","email":"dfrumovitch@gmail.com"}],"_npmUser":{"name":"dfrumovitch","email":"dfrumovitch@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1571685288025_0.031127066105801404"},"_hasShrinkwrap":false},"1.1.0":{"name":"@dfrumovitch/lotide","version":"1.1.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/reverie-designs/lotide.git"},"author":{"name":"Dasha Frumovitch - @reverie-designs - @dfrumovitch"},"license":"ISC","bugs":{"url":"https://github.com/reverie-designs/lotide/issues"},"homepage":"https://github.com/reverie-designs/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^6.2.2"},"gitHead":"14453261f0a0da449cc471795e8bb9ed7772afa8","_id":"@dfrumovitch/lotide@1.1.0","_nodeVersion":"8.9.4","_npmVersion":"6.12.0","dist":{"integrity":"sha512-JUgeM+xpxaBjsH/yK1PI02+7RqUzZTYAtjsKhrIgeuDiW7vEM7eIMqMM0koKpKgAXgAFXGDNAy1dX/b2dkwxNQ==","shasum":"a99111966d091883e268d346705e50b5863b4165","tarball":"https://registry.npmjs.org/@dfrumovitch/lotide/-/lotide-1.1.0.tgz","fileCount":31,"unpackedSize":21452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrjbYCRA9TVsSAnZWagAAsZMP/1SQQdtJ/xLh+rzu//B2\nKmdwT9ZRGYZ4dGHl0Oiigu6iXqNuDyXJC8xSDWTEBMvlXMz2shfjOvzeYNRf\nemP5JGvRhzLyaXH30p/W/Igeg75WS2BRF2603pZZHMdC+y7QD/29Q+hy/u9J\ntMBmgQMGppyBCzOGLRX3wCuwn4n5Q8Ky9WkP14ZSmx+LSejVZ4ZsKl4pqy5v\n7oqAiVUk5IH6merTfyeCQDxsnmdTa+RfLKjWJr/bvhr9L+ycI5ywcySktiMP\nMGCUjZd8NQCPYpwD17pJZpKCx7yFvwZnXMREd9EiQkoWkkqo9+iKZPqGBKiF\n27bNGqdhBwaZNRksecWDZdKFDYWyBRIMlO+4/lB9wSphAn03OLJ/MMJkQmIK\nKP0jg5J01dtk7f8enbhkj8NAyXoNhONTJBXxJ6YDsBUbSPoiIvufLIWPxhC7\nYbnsgOdT1p13yvkmONbVobauN7BwdiFrE9ywmpIaXVPErDj4XalcM8gmhIil\nTvVW1xlfhEUfqaek68Rr6amjzMw7wU5xGajpCRDjIqEEeI0/4+CCfm5+Rfn1\nHutQcG4ySeOLPxp4dUyo+K/SL0MYPyxGvN5YTFvYbtFLgkyn19aIoWGAHW5P\nq9ZRiwfsIXgedRIxxrR1DImN0WU7l+dxxu4P79+dbSvV1l3O7WPy0Z4sDr08\n6G/3\r\n=nF4k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/bPnd48iRiNQmvUh2C1Vy3+7mNvSSaSiqfaUOOMY4eAiAvQ7nNa09Rc/cRo+HTnTFntuVkhhyDEZZLU0REtTVZ2g=="}]},"maintainers":[{"name":"dfrumovitch","email":"dfrumovitch@gmail.com"}],"_npmUser":{"name":"dfrumovitch","email":"dfrumovitch@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.1.0_1571698391646_0.3760179850835048"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-21T19:14:47.817Z","1.0.0":"2019-10-21T19:14:48.173Z","modified":"2022-04-05T04:17:49.049Z","1.1.0":"2019-10-21T22:53:11.816Z"},"maintainers":[{"name":"dfrumovitch","email":"dfrumovitch@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/reverie-designs/lotide#readme","repository":{"type":"git","url":"git+https://github.com/reverie-designs/lotide.git"},"author":{"name":"Dasha Frumovitch - @reverie-designs - @dfrumovitch"},"bugs":{"url":"https://github.com/reverie-designs/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 @dfrumovitch/lotide`\n\n**Require it:**\n\n`const _ = require('@dfrumovitch/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* `head(array)`: function returns the first element within an array\n* `tail(array)`: function returns the tail end of an array except for the first element without changing original array\n* `middle(array)`: function that takes in an array and finds the middle - if amount of arrays in element is odd return the single middle value in an array, if even return the two middle values of an array\n* `flatten(array)`: function takes in an array and if it has other arrays in it - it flattens it into a single array\n* `letterPositions(string)`: function takes in a string and returns an object with the key of letters and the value of their position in the string\n* `map(array)`: function that creates a new array of values from and old array of values that passes through a callback function\n* `countLetters(string)`: function takes in a string and returns an object with the key of letters and the value of repeated letters in the given string\n* `countOnly(array)`: function takes in an array and the value that we are looking for and returns the amount of times that value appears in the array\n* `findKey(object, value)`: function takes in an object and a call back function returns the first key(object property) for which the callback returns a true\n* `findKeyByValue(array)`: function that takes in an object and a value and returns the key of that value\n* `takeUntil(array, callback)`: function that takes in an array and a call back function and slices and return a new array at the point when call back function returns true\n* `without(array, value to remove)`: function that removes a single value from an array according to a specified parametere\n* `eqArrays(array1, array2`: function that takes in two arrays and compares the elements of those arrays - if they are the same return true otherwise false\n* `eqObjects(object1, object2`): function that takes in two objects and returns true if both objects have identical keys with identical values.","readmeFilename":"README.md"}