{"_id":"@ajama12/lotide","name":"@ajama12/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ajama12/lotide","version":"1.0.0","description":"Lotide assignment for LHL","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ajama12/lotide.git"},"author":{"name":"Asma Jama"},"license":"ISC","bugs":{"url":"https://github.com/ajama12/lotide/issues"},"homepage":"https://github.com/ajama12/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"a6fc8327faf8cfb8c6c2605f5a46f31db04d6eae","_id":"@ajama12/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"9.6.2","dist":{"integrity":"sha512-V4TNWRB3zImxHETuVJzEfDDzvcYadmdUvSw2Z7etxKic/tZT2OK9RwBZr3WVTKzpdksLjgIMDELhCKsDngRmtw==","shasum":"83761ba7d1319f1a25bfb5ab98770463b4f11803","tarball":"https://registry.npmjs.org/@ajama12/lotide/-/lotide-1.0.0.tgz","fileCount":38,"unpackedSize":17746,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0Guw35AAoC3p5pQ4Fvim4EYYnh49qVaINj9LaDSxv0AiEA2gL1iaVgWeafMQ+rrR/aX5lE5r2vb5JP1haKvgvmhXY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHNpjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZ7hAAiPGVwZmvtMj4Yett1QS/i8Y+7DUqIuexiWTQaH1Mz/9b0nat\r\n3xsuEawgFWMvD3VNkXOSL7PIekMv9U2SPsF3HNIYCuvwAUAa4cB3aaiD7EJ0\r\n3lc6igUH4Oube0MRXqTnttxY5mUHVRkuqA4NJJ5SqBhgphJnfdy1dZAiLJLe\r\ntu9ofjnMyDW0TBzgpa7g9Sl9E1GY8X6z5g7JUxdUe3cvTm/+w71uIv91Pfga\r\nsLQSaXUp5aao0L3rkqFUMhy+3L8aYT3Ui2Z42WFQiTJriBrHR9yie9CpZH9Q\r\ngeUp1eo3e7c+D16OFIvZGk7OIAL3F/JHb+lYinEa7rzaq4prxATvrUe1AdVB\r\nzFGlX9h9EJ4v45dKjYyYM2EN5OgSkQX7OFd3kPVqmXPhjLfptw689/eVDXPL\r\nP4uta/VLrHxWV5qPFwHyufMiZtQT0osTjC9Gg92YfKIYeeRMBYkHw2u4fB3N\r\nsEyRdPWX+xnvznV/IOVBnbp4b2s04yVgoO1kqAOzg5pOMa1S4bt8IwX+CdHt\r\njoJA5992qOPfZM3Tnqxs2YKhzB6Eumgv5Q56OS95DWoxCnuRitWov3ErrtY9\r\nEECQ8dT/zolHx5UCZvZbnnOYtVFX8nX0EWNP0bZbkD30/4JDDQ9J2Tf4PkfG\r\ndOAqchmEShulY4vTWeK1jvmsWvF0qUHuEAg=\r\n=PYZb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ajama12","email":"asmajama98@gmail.com"},"maintainers":[{"name":"ajama12","email":"asmajama98@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1679612514981_0.08887522393957892"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-23T23:01:54.872Z","1.0.0":"2023-03-23T23:01:55.155Z","modified":"2023-03-23T23:01:55.372Z"},"maintainers":[{"name":"ajama12","email":"asmajama98@gmail.com"}],"description":"Lotide assignment for LHL","homepage":"https://github.com/ajama12/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ajama12/lotide.git"},"author":{"name":"Asma Jama"},"bugs":{"url":"https://github.com/ajama12/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 @username/lotide`\n\n**Require it:**\n\n`const _ = require('@ajama12/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* `assertEqual`: Checks if 2 values are equal\n* `assertArraysEqual`: Checks if 2 arrays are equal\n* `assertObjectsEqual`: Checks if 2 objects are equal\n* `head`: Returns first element in array\n* `tail`: Returns array without the first element\n* `middle`: Returns element(s) in the middle of the array\n* `without`: Returns subset of a given array, removes unwanted elements\n* `flatten`: Takes array with nested arrays and returns a single flattened array\n* `countLetters`: Returns counts of each character within a given string\n* `letterPositions`: Returns the position that each character of a string is in\n* `countOnly`: Returns count of specific subset of items\n* `eqArrays`: Checks if 2 arrays are equal\n* `eqObjects`: Checks if objects are identical\n* `findKey`: Returns the first key that the callback function returns a truthy value for\n* `findKeyByValue`: Returns first key with a specific value\n* `map`: Returns array based on result of callback function\n* `takeUntil`: Takes a slice from the beginning of array","readmeFilename":"README.md"}