{"_id":"@asynapz/lotide","_rev":"1-df6fada278fcb9a5ed4ed5466fa0f37b","name":"@asynapz/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asynapz/lotide","version":"1.0.0","description":"lotide @ Lighthouse Labs","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ASynapz/lotide.git"},"author":{"name":"Alan Wu","email":"alanwu85@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/ASynapz/lotide/issues"},"homepage":"https://github.com/ASynapz/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1"},"gitHead":"e9cc1e44b41f4d663ce97b2ec67a8530d9a90bb1","_id":"@asynapz/lotide@1.0.0","_nodeVersion":"8.9.4","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ObxgbH2pP5fU3h/BmWPC33K+3bS5HtcxTF+6t8osXYdbQDxWCa/FdvHdNPGmsBn1wAsOZNlvL2ipbpvQC8VaLg==","shasum":"8f301a24bf7c44b1c49513cef671efcfc82e25b7","tarball":"https://registry.npmjs.org/@asynapz/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":20305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei55FCRA9TVsSAnZWagAAT+oP/Rcy+CEzGYkYMSuDKyLa\nCGgiOTYynP30KJYW2SwXw91ceLrBeQbOPVZb4th11XQQnGtnC1QpRyl24V7S\nWpewQMmuYgSoM9SrCRVydubbr/0T4Jn+wyohHPrg2SEx3LBPu3SpBd6bszLO\n14HbwJFEeEBQxxQ2RQGGkUUwgogGDOo1rWt1Sx2Z+nn/e9q+LH9p5cCXTyC+\ndPz6X9E8QoC81a1jlvgw+Hsmsa/2sd6XJTZNhZoGJ8aV/GP+JryFXuePSPrD\nimtYK8xBsO/I8rmiIAAT+Ni5EaqNUXl27e95S2wyJ7vqRBzrS9fFeap0Mrne\nFWw+nqtvSSwxwAsAzQ4keO6g1YkQEiuOvikjwdkeUOI+aNxm8JsEF+58Q0on\n27KmrUBeYZh8hdoOTJ5jzJPYQDbnP1SC2+u3n6Vi7vKAx5jkKO4kHCjYYbSG\nxUlot/8Yds58cjmNBgaf6ak2SRdfJETXeORURmAFsCMROt4zuIvdlsMEyjw5\nUa2U/Sbultsxh6/uac47sP5NehesgVcy3ocMfS90TgmAdV2s/oMFzFsE1WZk\nds8zkAyCAeq2mJVMtDril5D5hKEzecC3Z1bzAkZIJ8Bs9GGeS9J+Tii1L9pX\nNgcGXEz+O2W4kxAuSu6rsEOpMUam0JsQwSslM/1OG4z3kIzBukrMHpQGw4BE\nNLVB\r\n=5fbK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH5hmRrPUD+dQOwIGcSt3MmqhvaxN9LnbpiMrGUw/jQFAiEA8ghJpmWt8Ir0mSDHUXl+AzzkRHgWWiN47Om7nsMUVpQ="}]},"maintainers":[{"name":"asynapz","email":"alanwu85@gmail.com"}],"_npmUser":{"name":"asynapz","email":"alanwu85@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1586208325377_0.9500877697030643"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-06T21:25:25.119Z","1.0.0":"2020-04-06T21:25:25.551Z","modified":"2022-04-04T16:01:02.841Z"},"maintainers":[{"name":"asynapz","email":"alanwu85@gmail.com"}],"description":"lotide @ Lighthouse Labs","homepage":"https://github.com/ASynapz/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ASynapz/lotide.git"},"author":{"name":"Alan Wu","email":"alanwu85@gmail.com"},"bugs":{"url":"https://github.com/ASynapz/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 @asynapz/lotide`\n\n**Require it:**\n\n`const _ = require('@asynapz/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: Compares actual and expected arrays and returns passed or failed.\n* assertEqual: Compares expected and actual values.\n* assertObjectsEqual: Compares actual and expected objects and returns passed or failed.\n* countLetters: Counts the number of character occurances in a string.\n* countOnly: Counts the number of times a string occurs in an array.\n* eqArrays: Compares two arrays and returns a boolean if the arrays are the same/different.\n* eqObjects: Compares two objects and returns a boolean if the object are the same/different.\n* findKey: Takes an object and a callback. Scans the object and returns the first key for which the callback returns a truthy value.\n* findKeyByValue: Takes in an object and a value. It scans the object and returns the first key with the given value.\n* flatten: Takes an array within an array and creates a new array merging the two.\n* head: Returns the first element of an array.\n* letterPositions: Returns the index in which a letter occurs in a string within an array.\n* map: Returns the first letter of each element in an array of strings.\n* middle: Returns the middle value (of odd) or values (if even) in an array longer than two elements.\n* tail: Removes the first element in an array and returns the remaining elements in a new array.\n* takeUntil: Takes an array and a callback function. Returns a new array of items occuring until the point specified by the callback functions.\n* without: Takes an array and items to remove. Returns a new array without the removed items.","readmeFilename":"README.md"}