{"_id":"@anchenqq/lotide","_rev":"1-612dec5e78d63a5786f9198dfc7503f7","name":"@anchenqq/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@anchenqq/lotide","version":"1.0.0","description":"Lotide Library Package for great functional utility use","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{"chai":"^4.2.0"},"devDependencies":{"mocha":"^6.1.4"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/mikeyqq/Lotide.git"},"author":{"name":"Anchen Huang"},"license":"ISC","bugs":{"url":"https://github.com/mikeyqq/Lotide/issues"},"homepage":"https://github.com/mikeyqq/Lotide#readme","gitHead":"b07023544df7c2825b72f6466be0bb4255752f1b","_id":"@anchenqq/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.9.2","dist":{"integrity":"sha512-mqc8nnb1ah8yPMwY/NaFh1At1dXZLuSkxb/xx9W8LoCCnRAEdPyFylXi16Jq2oNNYmM7Xqq5W3rUPwj/wOthPw==","shasum":"5886628d13395f9568b2f4d3071d574abda171da","tarball":"https://registry.npmjs.org/@anchenqq/lotide/-/lotide-1.0.0.tgz","fileCount":29,"unpackedSize":35218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGn5eCRA9TVsSAnZWagAAsugP+QDNVQIwF0JGR8oNiyHI\nJ9uGMVNrZvuAlVZDtKgTya1taompU0vW1bJ1HCIq4T2Uc5bpdSJYRes7Ajrh\nJsMrQsFp5xCcBDwhxqDxj8mlbBwCy/QFBdKJipZ2QBtgjt/3UAXk9AdOS1J3\nP/QUWDjDF7O94AxyjZzDuLDtKhlf5znRtGaHYM7B7L/37/yn8ReO77JFb0IB\n6ScxepajHyGLItKzN1VX8394/fyQ1whIfGVCWLINIvNAuBFc2/WP2iGNtr//\nxSylbHm1jJXUiEC+6vljk+e1YSDL2tcpfGkQ/+nLjsU1VTCjV/1/51Z37P7P\nlbTv16QItnmNoKEFxag+pOzmSqcGB5WHuF4pmQVLzBHVj7v/xVc5Iq59WFcP\nPoa3ynTzK6YbNRGlAC4K+umOgJlcJ+Kkzy5x8xbx9y+HHD7aac0K6BiEvBD4\nGP3XNjlHa3weTekyVDtSGlpKKj51gJdYXw86xyO6U/O3BC+NLtE8/abRTgJD\nnOUcBFf5Ip4Oqqd9haaPQ+Lrd0LQURnAJ/D5oItAs+3/dXgks/0AY7s0TqoU\n4TynNy09yWg8GBluu44//PdjXdRXoZPggzM9e9x3jSfmYS8LYwzrLWSU5wMm\nMTviPCvzYp9YzgRchVi0mbOq+mxwximuhcnmTcBS18kdnyYiw8AZ3b8iYVXo\n5CM7\r\n=47Yi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDm4PDMVePFsmjWpYSd1QFpEKt7oG/oTjtzNo4XnMa8XAiAWdHObcoZe1kPmLg39GoK1ldTD+KoF5R18ejnpx++FMg=="}]},"maintainers":[{"name":"anchenqq","email":"acmhuang@gmail.com"}],"_npmUser":{"name":"anchenqq","email":"acmhuang@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1562017374311_0.9295111113230623"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-01T21:42:54.119Z","1.0.0":"2019-07-01T21:42:54.511Z","modified":"2022-04-04T13:56:51.385Z"},"maintainers":[{"name":"anchenqq","email":"acmhuang@gmail.com"}],"description":"Lotide Library Package for great functional utility use","homepage":"https://github.com/mikeyqq/Lotide#readme","repository":{"type":"git","url":"git+https://github.com/mikeyqq/Lotide.git"},"author":{"name":"Anchen Huang"},"bugs":{"url":"https://github.com/mikeyqq/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 @anchenqq/lotide`\n\n**Require it:**\n\n`const _ = require('@anchenqq/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 element of an input from array\n* `tail(array)`: return every item from the input array except for the first item\n* `middle(array)`: returns the middle index from the input array, if there are an even number of items in the array, it will return the middle two items\n* `assertArraysEqual(array1, array2)`: determines if arrays are equal\n* `assertEqual(actual, expected)`: determines if strings are equal\n* `assertObjectsEqual(obj1, obj2)`: determines if objects are equal\n* `countLetters(array)`: determines letter count of an object\n* `eqArrays(array1, array2)`: determines if arrays are equal, returns boolean\n* `eqObjects(obj1, obj2)`: determines if objects are equal, returns boolean\n* `findKey(obj, callback)`: returns object key that matches the callback functions key finding function\n* `findKeyByValue(obj, value)`: returns key given a value\n* `flatten(array)`: returns a flattened 1-dimensional array\n* `letterPositions(array)`: takes in a sentence and returns an object with the indexes of every letter in the sentence\n* `map(array, callback)`: takes in an array, goes through every index of the array with the callback function, and returns a new array with the items filtered by the callback\n* `takeUntil(array, callback)`:  takes in an array and return new array filtered by the callback\n* `without(source, itemsToRemove)`:  takes in source and output the array without the items indicated on the itemsToRemove.\n","readmeFilename":"README.md"}