{"_id":"@brandnero/lotide","name":"@brandnero/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@brandnero/lotide","version":"1.0.0","description":"clone of lodash","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/BrandNero/lotide.git"},"author":{"name":"brandnero"},"license":"ISC","bugs":{"url":"https://github.com/BrandNero/lotide/issues"},"homepage":"https://github.com/BrandNero/lotide#readme","devDependencies":{"chai":"^4.3.1","mocha":"^9.2.2"},"gitHead":"bd07c0b5ab416cca5d504d498b9271e584531dd4","_id":"@brandnero/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-fYiWenQNr9VjbgEegGiiwd9aqo+SNtJuyF5BBW+OMaCtFOq/0BYb5IjKk/sXH1eJeiAcOJNYba1o2e+HsgEL4g==","shasum":"488b49235b745f928755f371ac7ad66f9a198be6","tarball":"https://registry.npmjs.org/@brandnero/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":16346,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXi/AYRppodux51U6KqffpQ1E/9y95MC1ZwmlfB6JaRAIhANZdZ6q6diqHZ95Q5h5vZ24uftnJCASluWUa5yue/TDI"}]},"_npmUser":{"name":"brandnero","email":"rodriguezruizsergio@gmail.com"},"maintainers":[{"name":"brandnero","email":"rodriguezruizsergio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1712608446522_0.29728153532805335"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-08T20:34:06.407Z","1.0.0":"2024-04-08T20:34:06.693Z","modified":"2024-04-08T20:34:06.990Z"},"maintainers":[{"name":"brandnero","email":"rodriguezruizsergio@gmail.com"}],"description":"clone of lodash","homepage":"https://github.com/BrandNero/lotide#readme","repository":{"type":"git","url":"git+https://github.com/BrandNero/lotide.git"},"author":{"name":"brandnero"},"bugs":{"url":"https://github.com/BrandNero/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 @brandnero/lotide`\n\n**Require it:**\n\n`const _ = require('@brandnero/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- `tail`: Finds the tail of an array.\n- `countOnly`: When given an array. counts only if name is true.\n- `eqArrays`: Tests if two arrays are the same.\n- `eqObjects`:Tests if two objects are the same.\n- `findKey`: Find the value of an object with a callback.\n- `findKeyByValue`: Find the key of an object with callback of a value.\n- `head`: Find the first element of an array.\n- `letterPosition`: Given a string, finds the position of each letter.\n- `map`: Given an array. it will return a new array based on the callback\n- `middle`: Return the middle of the array. if even it will return two middle index.\n- `tail`: Return the last element of an array\n- `takeUntil`: Given an array. a callback function will return all elements until match\n- `without`: Given an array and a exclude array. it will return a new array without the exclude elements\n\n","readmeFilename":"README.md"}