{"_id":"@andrewjhui/lotide","_rev":"3-2e08ac0d209f9aa32fe6191cd57f23ce","name":"@andrewjhui/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@andrewjhui/lotide","version":"1.0.0","description":"lotide functions created for learning","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.0"},"scripts":{"test":"mocha"},"author":{"name":"andrewjhui"},"license":"ISC","_id":"@andrewjhui/lotide@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"andrewjhui","email":"andrew.j.hui@Gmail.com"},"dist":{"integrity":"sha512-vOPjN4/himfDm+n0Lxm5XhxKW3Z3x50rrUl8IgMwBAnpt6SzppONediWIZsd5+zsCVJJtN14Q5XM88Mt4voKfA==","shasum":"6814bfbd5ba63605ad1bb63bd6d9002450f11306","tarball":"https://registry.npmjs.org/@andrewjhui/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":20377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZHfDCRA9TVsSAnZWagAAy1oP/R/ws0fkwlsZdu/7702I\nlWvJz4d3qdLLKKbzj4Fyj6Qkm77bL1MjMyMMWoFrlBEsKoCeJ97wqsuo1sVo\n5156rvZ6C+Ew/0my9V1P+uXt1P84KEUP4cwQMpDmcu3hxBNB7jX5J7RzGgb0\n8i+dZ9Gg3sij37H8i8mZ21yrUSPCBgyaTFlK5k6DmgDgSyeLcl4WLEiPDqVN\n2c8Fk1lZZi70yg6p+5eIVfFIXFKdtJQTOT4UaCaVCibwtzJSwPQ1wB8Q2ubB\nGoPqNcqW5uZfZnagjUmXWYVrGqlwbH8f1KPMwGwm1+/ZrNn1pazO1cD5/g8l\nYkmR1ecuiNcGkFi4YlT2LaAsJ3l3g6dQjxVV01eyWA5NOohEKW6EiVc6Nbfy\nC31yg2x1qGwK5UftnBSzPJroiqFD5TYur/GHqfQo3deylweJl/Im+3kkna9Y\nnRZ4A0CF2SpUbYgwyKYsGZwcbtoNz/RmWI1UIhh6UVM3/NeyxW7EGXr0sjTE\nx2Igof5yAHgJuq4T7Qf9rf+QNHCyQB9UBxVVntpPY5bbwzNJOfvasEdxyQ98\ntA+01BdiIyQjLOP2HlD1tx6Xz38ZoD25C+1g9B8+8rIjGfnBv66jwPHpGJXq\nJCLBknahDFG63wC4mNHSiew791IczEyyiX361/HjWlxLs/J7aMipM8LUCWry\nEtuV\r\n=6Kfw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHrbhSjqwKc2jPfJzp7MC2sSR2mps30P8ycdkpeQIzRZAiBZXRx/Q8IaQbzw8z0JWUFNDHAF0v5Pd3+vwDjeKBrsSA=="}]},"maintainers":[{"name":"andrewjhui","email":"andrew.j.hui@Gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1566865346582_0.34500192127460383"},"_hasShrinkwrap":false},"1.0.1":{"name":"@andrewjhui/lotide","version":"1.0.1","description":"lotide functions created for learning","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.0"},"scripts":{"test":"mocha"},"author":{"name":"andrewjhui"},"license":"ISC","_id":"@andrewjhui/lotide@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"andrewjhui","email":"andrew.j.hui@Gmail.com"},"dist":{"integrity":"sha512-SR/3FmgqxBXdAfqUJnFEsN9KT84GN2z6YNDyE4GqfmHmfQTd+D8PyB/s9rklKEcU9iprH7prvDH3gkjQXity4A==","shasum":"81838bbf40e2714e21b92e277ebe4969f2d678ba","tarball":"https://registry.npmjs.org/@andrewjhui/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":21203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZHrACRA9TVsSAnZWagAAHRsP/iMas+dft89OKPsMx5wX\nI2wngV9mAZ5NxOVX4e8hDFCiqcHCkLEHdq6F/72zZOXQArWKSnjfHMJ803Lr\n20Wzursu89h43FA0nzGGxN7/9JCAAX5bqViYJ0kzxjMK3gq/kOIFWKri9Cq7\nqjvb983wXle5TNTtaZRfKcWupx3to9jp10dXU0aM+oY2RUPqeg4NGK9abyVp\n2OP2rY0hYy9Dtybz/OSSTMiUZVACT1JG1ciAy14+vuS22eW4Ahd9q8xuUxjM\nwwSQswL+jd+VH6O1QNNIh+VhhfGJwFXfCq+OiEEb9cg+3cmpA2zZNbf32NT5\nydCYXJtOsw/p3LotQ6cHQ2HECaobVU0+DWh0A5o3cuX0SO2XLaO49Ad9RIFC\n0tSySnXt9pePwcZt7gJIfHboERGyMlrQ76mffjl+5XNsMYvsr56Cq5V+vOeh\naCJf7rJ6TeYhRE50nI4V69LAvmfeqLbn3Y6CwSxRCUGQQY8txj9iBcisKjfU\n5KaQaQmkbrxlQ0dGA7YBWaIyGyzKEEPl4L5X++U9nJGGXL5Ttl8z7mVUfJnc\nVG0z5AyoeCkhR4Eh5MbsIgCgcI/i+ve8gB0l8n0XoS8f/thS35hgo2K32ad8\nmJgrvKZWAOB7WgZ2d130d4KcFee7PljRAKaKfrAymHe3JPMl4vVnJKqtaFTQ\nOAUN\r\n=+eI3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPHNtDmJB4aKvSMcFgw3ajCWOFs0iTSmao+mqGMZK6UAiEA+b5BtbZY0QnYC7e35XrM8qstcq/hB3wDT/Yx6KIOjXc="}]},"maintainers":[{"name":"andrewjhui","email":"andrew.j.hui@Gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1566866111793_0.8775763760218946"},"_hasShrinkwrap":false},"1.0.2":{"name":"@andrewjhui/lotide","version":"1.0.2","description":"lotide functions created for learning","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.2.0","mocha":"^6.2.0"},"scripts":{"test":"mocha"},"author":{"name":"andrewjhui"},"license":"ISC","_id":"@andrewjhui/lotide@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"andrewjhui","email":"andrew.j.hui@Gmail.com"},"dist":{"integrity":"sha512-WnFlRxE94GhrI78MfJd7XCdesHjdTp3g/CzEDugliM5GiiPBIT3rWjRo9r70bpXrA18QzCXNEWIdT2wV4Utzeg==","shasum":"4e6b7d6931491752795360c25ffb8350e6654d0d","tarball":"https://registry.npmjs.org/@andrewjhui/lotide/-/lotide-1.0.2.tgz","fileCount":26,"unpackedSize":21527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZHtxCRA9TVsSAnZWagAAG0AP/jWxxeYT0K92NfuVhpgq\n5nwPJHmoHdo3QSdNuVXQuc3shiUDkc8vXdZK6kKbtF1kY+sOcFn3MvCy/sSo\nTl98neyrIyjd2zWbWjCFNOjdrgvoEuaoC/Wea9emmAZc7hS5NooMn4OPo9VT\nomhcExYSsmVwyCjvLxVydThdI9ybLe+znH5RSkCG9wYAzpr7LQf0POLZaed8\nHC9RxxpeCa0l2729eQlrPudyfr2vTSWxUBxIbcnl2TqI86mloHMbmjqlTSvk\nlWLccvNIFEHajJAD/FQNOswWuldEV9hZj5uEDBn1dqXAoJkokkdDhwu/xV9n\nFuzSfg2v6AFgB4JXLICXv5gV9gk04ijGXFj0FcoZb4EYQhxc9fjXQJ4poQ1d\nF9QkRl6pjLJOSfVLKG2hPU28gE0ChRrWGuKCmtLKgXybL9zW5olKltdGl3Pf\nkeHE2QJ6hOOlsuIblRajwyo3yzLJy3Lg9CMIhTPLuwAhdXUd/+wW9jYh8JKk\ngj9TDelevra5tg0+oz61PPButgMqio7SK5vdbrzuqdI95Oz4TBBOo4oLMKRM\nIEzXLz0Y0b8hdES26fxbx9BD15s+RojjRVkNFTP7rDPow4Cb3zBk8taBFcTt\n0WnJU/SnDRMhATIm4GPTKcGvEy4hHhKFf4dJ33CJ1VW/Yy9USxeDSb42DPAN\ntP9b\r\n=RupF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZmdHoImZhVtFV/Bpf1gOsYCM7BYQLTiBCb/P5LHZYOQIgLGWtNjwXj2q6aRh3IFhp1Bff9JAlA5NT/b4P324qphc="}]},"maintainers":[{"name":"andrewjhui","email":"andrew.j.hui@Gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1566866288578_0.7679262034015506"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-27T00:22:26.370Z","1.0.0":"2019-08-27T00:22:26.727Z","modified":"2022-04-04T14:01:29.882Z","1.0.1":"2019-08-27T00:35:11.939Z","1.0.2":"2019-08-27T00:38:08.782Z"},"maintainers":[{"name":"andrewjhui","email":"andrew.j.hui@Gmail.com"}],"description":"lotide functions created for learning","author":{"name":"andrewjhui"},"license":"ISC","readme":"# Lotide\n\nA mini clone of the [Lodash](https://lodash.com) library.\n\n## Purpose\nThe purpose is to practice creating functions based on the Lodash library. \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 @andrewjhui/lotide`\n\n**Require it:**\n\n`const _ = require('@andrewjhui/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* `assertArraysEqual(firArray, secArray, trueOrFalse)`: takes in two arrays and the value true or false to assess if they are the same array\n* `assertEqual(actual, expected)`: assess the primitive data types being equal to each other\n* `assertObjectsEqual(firObject, secObject, trueOrFalse)`: takes in two objects and the value true or false to assess if they are the same object\n* `countLetters(theBombString)`: counts the letters in the string, excluding spaces\n* `countOnly(allItems, itemsToCount)`: counts an array of strings and returns amount of times the string is shown in the array\n* `eqArrays(firstArray, secondArray)`: compares first array and second array\n* `eqObjects(object1, object2)`: compares first object and second object\n* `findKey(objectLookup, callback)`: takes in an object and takes in a callback function to find the key value within the object\n* `findKeyByValue(discoverObject, findValue)`: takes in an object and the key value. It should return the key that the value is found in the object.\n* `flatten(sneakyArray)`: uses recursive to flatten an array so that all nested arrays are in the top level array\n* `head(theArray)`: returns the first value in the array\n* `index`: index of all the functions in lotide\n* `letterPositions(sentence)`: takes in a string and returns an object with all the letters with number of instances seen in the string\n* `map(array, callback)`: map returns a new array. it iterates through the old array and performs the callback function on the array.\n* `middle(findMiddleArray)`: outputs a new array with the middle numbers in an array.\n*  `tail(theArray)`: takes the whole input array except first value of the input array\n* `takeUntil(array, callback)`: takes an input array and stops when it finds the value of callback\n* `without(theArray, removalArray)`: takes an input array and then removes all value from the array from the removalArray\n","readmeFilename":"README.md"}