{"_id":"@ashwinihegde28/lotide","name":"@ashwinihegde28/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ashwinihegde28/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"main.js","directories":{"test":"test"},"dependencies":{"chalk":"^4.1.2"},"devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ashwinihegde28/lotide.git"},"author":{"name":"ashwinihegde28 ashwinihegde28@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/ashwinihegde28/lotide/issues"},"homepage":"https://github.com/ashwinihegde28/lotide#readme","gitHead":"55659e1ca847b3149ebe2e52e0f183fe51027472","_id":"@ashwinihegde28/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-ATbRwG/22yvJVYXnSSJQ0t+6klUTTGumQbQpU+2GqbpgU2nIWrEtXdeow1ADmRYYwJ6Z88n7f5021j+dYy7lHQ==","shasum":"f718aa8187add12798fb3c7ee5798998fcd3e821","tarball":"https://registry.npmjs.org/@ashwinihegde28/lotide/-/lotide-1.0.0.tgz","fileCount":49,"unpackedSize":53655,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDH2cfnirxRMOzJGeJzWAgaZfMaP1lUb/OchBga85qVrwIhALMriWUEqz1oMmPDIPEhnWBGa1dpaZplre9fKV0MO1/c"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEL0VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqLQ//XwL0QDRSTjguY8a5JlbsX38U6IQX1+jOvRVfbZoT4bkQTAlF\r\ns5L3JH0qEU8CuT2IT0XXDzbwMwghWN16thPvXMoV+thim5udEUIHi68OW6D8\r\n2ccYiixjnfCOBfSfq5SXxEiq+3Gcos3fSJP0EZqeACRAKnptAFpRgwOsupqe\r\n84rrJ2idP/94PRRJOmuzVzBm7sUVRThR9+a4IOw70mVkBRwe06+OdoWhxMTc\r\n6RaSnB2PtEmgWSUMIp+t0omXnSvHryY97kb4lAhQdPWALVd9PM+sXQ68nOF2\r\nzelXvky7w6marcf0+EIsO4R0001QkUZRzkjx0FjNYugfcCOy2RWB/NZQ8q/d\r\nkmbeNO5VmgRckkyJs5voU2Lbn8s6ER7sQYqK3M/8wcuisBKYMhCFVh5G9xmm\r\nbddh9bwVR57iDO3SZ1nxjkCeIuLAhmVZ7bjAHaTbetvtcHL2oIAtZBJZE1a6\r\no8JO8teAKLP7ErJadTPWJFSnhHRjaPMF3HPaDvVuTgY8u6FFFv06exAv1L5k\r\nUE1DWrx+Oth4G4lHKInXvpm6itGo9ee+p8zyXQiqdfls9Da0HNdl+Em20iA7\r\njAsg88KgN5v5xoKbNMN9rsVH1afhJu/c/eBcYWx5boJooFkV0/rnaKRqTS9I\r\nR5CZscKcFKl1+9ytJbrC79NZSdKoSsom9J0=\r\n=Jhzs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ashwinihegde28","email":"ashwinihegde28@gmail.com"},"maintainers":[{"name":"ashwinihegde28","email":"ashwinihegde28@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1678818580919_0.7015224583857602"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-14T18:29:40.618Z","1.0.0":"2023-03-14T18:29:41.109Z","modified":"2023-03-14T18:29:41.378Z"},"maintainers":[{"name":"ashwinihegde28","email":"ashwinihegde28@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/ashwinihegde28/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ashwinihegde28/lotide.git"},"author":{"name":"ashwinihegde28 ashwinihegde28@gmail.com"},"bugs":{"url":"https://github.com/ashwinihegde28/lotide/issues"},"license":"ISC","readme":"# Lotide\r\n\r\nA mini clone of the [Lodash](https://lodash.com) library.\r\n\r\n## Purpose\r\n\r\n**_BEWARE:_ This library was published for learning purposes. It is _not_ intended for use in production-grade software.**\r\n\r\nThis project was created and published by me as part of my learnings at Lighthouse Labs. \r\n\r\n## Usage\r\n\r\n**Install it:**\r\n\r\n`npm install @ashwinihegde28/lotide`\r\n\r\n**Require it:**\r\n\r\n`const _ = require('ashwinihegde28/lotide');`\r\n\r\n**Call it:**\r\n\r\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\r\n\r\n## Documentation\r\n\r\nThe following functions are currently implemented:\r\n\r\n\r\n* `assertArraysEqual`: Checks if our assertion of arrays are equal\r\n* `assertEqual`: Checks if our assertion of statements are equal\r\n* `assertObjectsEqual`: Checks if our assertion of objects are equal\r\n* `countLetters`: Counts the letters in a string\r\n* `countOnly`: Counts items in an array and adds it to an object\r\n* `eqArrays`: Checks our array parameters are equal\r\n* `eqObjects`: Checks to make sure our objects are equal\r\n* `findKey`: Finds the beginning letter of a string\r\n* `findKeyByValue`: Search for a key on an object where its value matches a given value\r\n* `flatten`: Flattens an array\r\n* `head`: Gets the first element of array\r\n* `letterPositions`: Return all indices in the string where each character is found\r\n* `map`: Return a new array based on the results of the callback function\r\n* `middle`: Grabs the middle of an array\r\n* `tail`: Grabs all but the first element of array\r\n* `takeUntil`: Takes all the values out of an array or string until specified condition\r\n* `without`: Creates an array excluding all given values","readmeFilename":"README.md"}