{"_id":"@aleaguilar01/lotide","_rev":"2-15f0069a6bb3b2368bacc77b4537c6b6","name":"@aleaguilar01/lotide","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@aleaguilar01/lotide","version":"1.0.0","description":"This is a library of some small functions to assert equalities or work with some other features of arrays and objects in JS.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/aleaguilar01/lotide.git"},"keywords":[],"author":{"name":"Alejandra Aguilar"},"license":"ISC","bugs":{"url":"https://github.com/aleaguilar01/lotide/issues"},"homepage":"https://github.com/aleaguilar01/lotide#readme","devDependencies":{"chai":"4.3.1","mocha":"9.2.2"},"gitHead":"cdc65f1b2037310f6ca3900733e658d916a34167","_id":"@aleaguilar01/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-jlH88894BSLH5aQKeEdA+kdnXvJBrnczPb8wkCk01AhJvjGsUeZRFqk1k12DaEceXbfp9c+UorLDqTsX7ZKTjQ==","shasum":"82e12dc0256384b22069c2604bfa57851aad431c","tarball":"https://registry.npmjs.org/@aleaguilar01/lotide/-/lotide-1.0.0.tgz","fileCount":37,"unpackedSize":29774,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGLQHSCY1JzuHYkY5+19Ys7P/GUQAtzAdBIa7HBBw4AaAiEAwwx0YAY8pcHKHWABpFHieR6eXb+3lFYT7jFaMu4wqOo="}]},"_npmUser":{"name":"aleaguilar01","email":"aleaguilar01@gmail.com"},"directories":{},"maintainers":[{"name":"aleaguilar01","email":"aleaguilar01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1710630190891_0.4611915604642105"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aleaguilar01/lotide","version":"1.0.1","description":"This is a library of some small functions to assert equalities or work with some other features of arrays and objects in JS.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/aleaguilar01/lotide.git"},"keywords":[],"author":{"name":"Alejandra Aguilar"},"license":"ISC","bugs":{"url":"https://github.com/aleaguilar01/lotide/issues"},"homepage":"https://github.com/aleaguilar01/lotide#readme","devDependencies":{"chai":"4.3.1","mocha":"9.2.2"},"gitHead":"4209168a2b468a599e95106ccda08d1d5925ed26","_id":"@aleaguilar01/lotide@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-xNA9Z+dHnV1HX0o7ZMrS1rOfMNQt0gdJfMnwHr157y6Tuk5yB5mwn/o5WBgWnasYoA63lMwjBVjJSuIAyDkfjg==","shasum":"9bf4222396af3e11706f80ad7c28ff11e066fbb1","tarball":"https://registry.npmjs.org/@aleaguilar01/lotide/-/lotide-1.0.1.tgz","fileCount":37,"unpackedSize":29774,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFiHIBR3SZM0PsZUJ90N9pX7MCW7yU7u5+NEdZCXebiwIgaAnnFRUYiOf8OMlGWeorgojzMz5fGRabdTTt4NMFL8w="}]},"_npmUser":{"name":"aleaguilar01","email":"aleaguilar01@gmail.com"},"directories":{},"maintainers":[{"name":"aleaguilar01","email":"aleaguilar01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1710630457704_0.6250494010767491"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aleaguilar01/lotide","version":"1.0.2","description":"This is a library of some small functions to assert equalities or work with some other features of arrays and objects in JS.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/aleaguilar01/lotide.git"},"keywords":[],"author":{"name":"Alejandra Aguilar"},"license":"ISC","bugs":{"url":"https://github.com/aleaguilar01/lotide/issues"},"homepage":"https://github.com/aleaguilar01/lotide#readme","devDependencies":{"chai":"4.3.1","mocha":"9.2.2"},"gitHead":"257fd06178715d6eb8aaf00da0d5366d4c994353","_id":"@aleaguilar01/lotide@1.0.2","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-mp875kNT6L7c7GctXPext21wJ9Pb7F9gYCdcT8orn7ndSdJ3fpDgmcTmC1M6pfghfH086BskvZuJ+Nb4qZe6rg==","shasum":"5ea48f85dd874106329c902fb83a4df05939102f","tarball":"https://registry.npmjs.org/@aleaguilar01/lotide/-/lotide-1.0.2.tgz","fileCount":37,"unpackedSize":29932,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSLoYwtk600c6hoUB7fVLSRzukRfJFm7PEc37mwZSejQIhAItWzQucELwdVbAI3q/aGxoizn3Fl9MvwZ0n5/m5xQHl"}]},"_npmUser":{"name":"aleaguilar01","email":"aleaguilar01@gmail.com"},"directories":{},"maintainers":[{"name":"aleaguilar01","email":"aleaguilar01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.2_1710634959689_0.9765291965798775"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-16T23:03:10.773Z","1.0.0":"2024-03-16T23:03:11.034Z","modified":"2024-03-17T00:22:40.260Z","1.0.1":"2024-03-16T23:07:37.863Z","1.0.2":"2024-03-17T00:22:39.845Z"},"maintainers":[{"name":"aleaguilar01","email":"aleaguilar01@gmail.com"}],"description":"This is a library of some small functions to assert equalities or work with some other features of arrays and objects in JS.","homepage":"https://github.com/aleaguilar01/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/aleaguilar01/lotide.git"},"author":{"name":"Alejandra Aguilar"},"bugs":{"url":"https://github.com/aleaguilar01/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 @aleaguilar01/lotide`\n\n**Require it:**\n\n`const _ = require('@aleaguilar01/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* `function1(head)`: Returns the first value of an array.\n* `function2(tail)`: Returns an array without the head (first value).\n* `function3(middle)`: Returns the middle values of an array, 2 if the array has an even amount of values.\n* `function4(countLetters)`: Accepts a string and returns an object with the count of each letter in the string. \n* `function5(assertArraysEqual)`: Returns the first value of an array.\n* `function6(assertEqual)`: Takes in an expected and actual value and outputs if the assertion pass or fails. \n* `function7(assertassertObjectsEqual)`: Takes in 2 objects and assessed if they are equal or not. Returns if the assertion pass or fails. \n* `function8(countOnly)`: Takes an array and items to count. If items in the array, returns how many times they appear in the array.\n* `function9(eqArrays)`: Takes in 2 arrays compares them and returns true or false, depending if they are equal or not.\n* `function10(eqObjectss)`: Takes in 2 objects compares them and returns true or false, depending if they are equal or not.\n* `function11(findKey)`: Function allows you to search for a key in an object based on a condition specified by the callback function.\n* `function12(findKeyByValue)`: Function that provides a way to find a key in an object based on a specified value.\n* `function13(flatten)`: Function that takes a two dimentional array and return a one dimensional array.\n* `function14(letterPositions)`: Function that taken an string and returns an object with arrays of the positions of each letter.\n* `function15(takeUntil)`: Function that takes in an array and returns the values of the array until it founds the condition stablished. \n* `function16(without)`: Function that takes in an array and returns the values of the array until \n* `function16(map)`: Function that takes in an array and returns another array after passing a callback to each item. \n\n","readmeFilename":"README.md"}