{"_id":"@copelandbrandon/lotide","_rev":"2-25c84764a9ee1b1e43c00d3f59fc56bc","name":"@copelandbrandon/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@copelandbrandon/lotide","version":"1.0.0","description":"a clone of the lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/copelandbrandon/lotide.git"},"author":{"name":"@copelandbrandon"},"license":"ISC","bugs":{"url":"https://github.com/copelandbrandon/lotide/issues"},"homepage":"https://github.com/copelandbrandon/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^8.3.2"},"gitHead":"9231a86ba2cb5ce2388a2b21b3b5a86d0f5324b5","_id":"@copelandbrandon/lotide@1.0.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ZmDL12NcD2BLu/g6r+rqOGR/XE9bnsOWtlYNs3Pf0HtIThwiEqXpn6KmHTdPQSxC1zgd7EjjzyqMugywrYo7IA==","shasum":"52a4da0b45e2865df3d093ecc0c3dd13f1afb4ae","tarball":"https://registry.npmjs.org/@copelandbrandon/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":20673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkGJ6CRA9TVsSAnZWagAAPwQP/iPjEssbnHRpNtZlPAmx\n2/4sWxfwDdPUdMQFipxp9x4u0xiXgEDxLMQCGH3dkimqabyiiT/04DgxylV/\nGp5dAWEoFKGQI7ewlHGLyCzegE5CmaYnrjXk1i3xtDVRtomfgnGh7A5Ap9Jp\nlggv5Vck8fyUoQCHsou77m+GRk/upA5ASoN9UmNog9FPuAR/PleKN4HjX/dG\ndinWdNB7OpoW63bspi0hccg0AwUyP/ZzHsOEIe7iieONnTA/Xxykke5h79pB\nYP4RFdK+Qc126zG+mzX2goPcRbdnn79x3/APic43MwN76PkGCyPiwheXNWAe\nZrMAs9qrsUNJRBQBCM9QuLn+6ipBFckqeL8icVC1JloTB97S+ivDjB2K6GuY\nrhCLeEjUUQEu/1zWRfoq/4TAgilaI1Ism4MdnAf3ATAbXjFWXvrPItJ7JZ2g\nVmuRnXINDNY+XhyB7MXS2QxEIwwAQcBt/vxCcDT+FfIw7nHZYAbSs0T3JijK\n4eQVP2Uso2f/36IrWpjrD+xh50HDdmuIhZDu6yDZnk0J+a61aMWqgwgxLl8c\nXZRnhs5fmXq3nc/qrvx9DrFffa/xI5q2ZK9JZjV+3AFa3wEij9db1tG+83sP\noir/vfhsVsG1Rb5z93RFB3IHcvs/8mAyOpbFgbe1LhTw1OYalWCGFKC4RfAS\nTU5X\r\n=GXWH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCK5U3TCOW2Zr/vXHW9EE5HROPWCjdyZfnWz2ys9v5QwIgCdGTpOgV2s0AvOJJGmAhT3bShSt9rpW5d2vmdL7gGNQ="}]},"_npmUser":{"name":"copelandbrandon","email":"copelandbrandon2@gmail.com"},"maintainers":[{"name":"copelandbrandon","email":"copelandbrandon2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1620075130473_0.5160880121764906"},"_hasShrinkwrap":false},"1.0.1":{"name":"@copelandbrandon/lotide","version":"1.0.1","description":"a clone of the lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/copelandbrandon/lotide.git"},"author":{"name":"@copelandbrandon"},"license":"ISC","bugs":{"url":"https://github.com/copelandbrandon/lotide/issues"},"homepage":"https://github.com/copelandbrandon/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^8.3.2"},"gitHead":"0680a8b81b4918686df977f5427709452f723924","_id":"@copelandbrandon/lotide@1.0.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-5GuGtO+QIhlHAB4K/mK/1sRqYXiosqPJYf5RaCwQMkqm2aEUa/Bn0o0VPDNzrSX9QroFUg3Q4KpWolT2MDtE7w==","shasum":"9f7f078909d0d215ebeab5a6b8a9a61c9850e243","tarball":"https://registry.npmjs.org/@copelandbrandon/lotide/-/lotide-1.0.1.tgz","fileCount":33,"unpackedSize":21987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkJvrCRA9TVsSAnZWagAAcewP+wVullUNdglpBHTMNffW\naWbratEVqk2Tlj5aeqBxD4xdKvcbB+L6l6u5r4zoXdK8egI78an/g0/lwk2j\nR08Sl7iB4niWwB9O6Ko7IyeDwf6fYHqawQ76SzKNTCazzsi17w280kopui3G\nDPgrkAxl7AdDpA+YXknmrKK44BgpCW9UVPYZjBighC05LgJD8hwiN+3gH7v7\nguxXrmjvCTG7yVC7WuJnJNFp9zrkKRWa4TkygaUTFKKQFMkwEsrY3VjlP87Q\nG9NokhghYkxl1DazWvK28kiXR2gleptCmp3XotbkdsxcLUvHsItvsNhUuY+U\nLOC1Jmbch54Xi3AC4QDNA2rUvtaPG0V+MhfpvTGEmqXCBH4Yfk7bBoDrTvWV\n2EMalorHLnoePNwGICzMrn8iA4iow8qT9ZfUjwxY8EiJtkI+iYx1t7u9eX/C\ny2MD9zUxlgseG5pxF55+UJdTqHxMog+CVqQoZ0fDQWfIzi4cRQCDPXFR53m2\nr1cR8+/kOXVf73Hz4lx9X+53wK/0bWn2YNDAZ66w8CdikaG526ilbDJiaVkh\nAXXEZ3GtL9ou/FBnEHEMBIiiqrFq9jE4uDx5Czy4mdL5ALlZv1pt01Mo59kC\nLogT44Au01UfcJtbJeCjWwolBVkA+HaLAQbmk+rHoFz0vS4y4yMAyG9IgsSc\nsCXD\r\n=NtGz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnjIVs7uJDJ8UZsYM2j8cFGcRdYH4Xul0v3oCozkVXNAIhAJ1n5FmJT9XBU2Hx4/lFQXUkURg3x3rE7vka+z2dCENu"}]},"_npmUser":{"name":"copelandbrandon","email":"copelandbrandon2@gmail.com"},"maintainers":[{"name":"copelandbrandon","email":"copelandbrandon2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1620089835114_0.7772750089254523"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-03T20:52:10.396Z","1.0.0":"2021-05-03T20:52:10.579Z","modified":"2022-04-05T01:19:14.439Z","1.0.1":"2021-05-04T00:57:15.259Z"},"maintainers":[{"name":"copelandbrandon","email":"copelandbrandon2@gmail.com"}],"description":"a clone of the lodash library","homepage":"https://github.com/copelandbrandon/lotide#readme","repository":{"type":"git","url":"git+https://github.com/copelandbrandon/lotide.git"},"author":{"name":"@copelandbrandon"},"bugs":{"url":"https://github.com/copelandbrandon/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 @copelandbrandon/lotide`\n\n**Require it:**\n\n`const _ = require('@copelandbrandon/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)`: returns the first item in an array\n* `middle(array)`: returns the middle items of an array\n* `tail(array)`: returns the last item of an array\n* `assertEqual(function(), expectedResult)`: will assert that the return of a given function is as expected\n* `eqArrays(array1, array2)`: will return true or false depending on if the two arrays are equal\n* `assertArraysEqual(array1, array2)`: will assert if two arrays are identical by using eqArrays\n* `assertObjectsEqual(object1, object2)`: will assert if two objects are identical by using eqObjects\n* `eqObjects(object1, object2)`: will return true or false whether the objects match or not\n* `countLetters(string)`: will return an array of values correlating to the amount of times each element appears in a given string\n* `countOnly(allItems, itemsToCount)`: will return an array of items only present in both arguments\n* `findKey(object, callback)`: will return the first key matching the result of the given callback\n* `findKeyByValue(object, value)`: will return the first key that matches the given value\n* `letterPositions(string)`: will return an array of indeces correlalating to individual letter positions\n* `map(array, callback)`: will return a new array that has been modified by the callback passed\n* `takeUntil(array, callback)`: will return a new array including elements up until the element is equal to the callback value\n* `without(array, value)`: returns a new array excluding items matching the value passed","readmeFilename":"README.md"}