{"_id":"@ahmadameenab/lotide","name":"@ahmadameenab/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ahmadameenab/lotide","version":"1.0.0","description":"First project for Lighthouse Labs","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ItsAhmad/lotide.git"},"author":{"name":"Ahmad Basl AB Ameen"},"license":"ISC","bugs":{"url":"https://github.com/ItsAhmad/lotide/issues"},"homepage":"https://github.com/ItsAhmad/lotide#readme","devDependencies":{"chai":"^4.3.1","mocha":"^9.2.2"},"gitHead":"c92298d178207a3c2d06285f45526992134eb544","_id":"@ahmadameenab/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-JhjCAvPjjSsX0/9rJZbyXRMiwAS5Cot9bqB0UwYQBxkpThjbxwBIhi3ZKnVEWBoz+65ZqbY9B1p+Jxa2lMdZcg==","shasum":"f0d45c3a63eb479466ac4935531bf352722e017c","tarball":"https://registry.npmjs.org/@ahmadameenab/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":21526,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdWtHJPfrG+0ZeU3NP6Kd4IuTPv63s3LTcGSZnxZhYjAiEAn+9frxahsHsJnlsAhPqw1yd1SxvH6AuP9hWYIZlQMvQ="}]},"_npmUser":{"name":"ahmadameenab","email":"ahmad.ab.ameen@gmail.com"},"maintainers":[{"name":"ahmadameenab","email":"ahmad.ab.ameen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1708417733197_0.668564311974613"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-20T08:28:53.100Z","1.0.0":"2024-02-20T08:28:53.394Z","modified":"2024-02-20T08:28:53.850Z"},"maintainers":[{"name":"ahmadameenab","email":"ahmad.ab.ameen@gmail.com"}],"description":"First project for Lighthouse Labs","homepage":"https://github.com/ItsAhmad/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ItsAhmad/lotide.git"},"author":{"name":"Ahmad Basl AB Ameen"},"bugs":{"url":"https://github.com/ItsAhmad/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 @ahmadameenab/lotide`\n\n**Require it:**\n\n`const _ = require('@ahmadameenab/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`: Provides the head of an array\n* `tail`: Removes the head of an array\n* `middle`: Provides the middle of an array\n* `assertArraysEqual`: Asserts if arrays are equal\n* `assertEqual`: asserts if two entries are equal\n* `assertObjectsEqual`: asserts if two objects are equal\n* `countLetters`: Counts the number of selected letters in a string \n* `countOnly`: Counts the number of selected strings \n* `eqArrays`: asserts if two arrays are equal in length\n* `eqObjects`: asserts if two objects have the same values\n* `findKey`: finds a given key in an object\n* `findKeyByValue`: finds the key in an object based off the value provided\n* `flatten`: takes arrays with multiple arrays within itself and outputs one single array\n* `letterPositions`: counts the number of letters in a string \n* `takeUntil`: outputs values from an array until a specified condition\n* `without`: removes selected values from an array","readmeFilename":"README.md"}