{"_id":"@davidteng95/lotide","name":"@davidteng95/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@davidteng95/lotide","version":"1.0.0","description":"A mini clone of Lodash","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/davidteng95/lotide.git"},"author":{"name":"David Teng"},"license":"ISC","bugs":{"url":"https://github.com/davidteng95/lotide/issues"},"homepage":"https://github.com/davidteng95/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"3a9203b383290e6dd9670ffb6827dd7dbc2ddd0a","_id":"@davidteng95/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-VW+UUSqYSmo1zdQUvI7KXgQejw3B6/0CBmx5fvGJfOnytrwNIxesK1Kw3Ra0g0DOoM8+Sip87vQOsmI7OzOMNA==","shasum":"776b6f5708ca7c2f7df465b06e45cb88eb18a9a1","tarball":"https://registry.npmjs.org/@davidteng95/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":16989,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlHINO3fSg+po8iMCBdB2IZ9EapI1tESpFwjOBjsQlPgIgcY2hFyZ/2aUX1jfnss1RZFJsN7CQOPwKxK2rQI3u5vw="}]},"_npmUser":{"name":"davidteng95","email":"davidteng95@gmail.com"},"maintainers":[{"name":"davidteng95","email":"davidteng95@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1686021162442_0.34287471890839805"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-06T03:12:42.392Z","1.0.0":"2023-06-06T03:12:42.733Z","modified":"2023-06-06T03:12:42.882Z"},"maintainers":[{"name":"davidteng95","email":"davidteng95@gmail.com"}],"description":"A mini clone of Lodash","homepage":"https://github.com/davidteng95/lotide#readme","repository":{"type":"git","url":"git+https://github.com/davidteng95/lotide.git"},"author":{"name":"David Teng"},"bugs":{"url":"https://github.com/davidteng95/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 @davidteng95/lotide`\n\n**Require it:**\n\n`const _ = require('@davidteng95/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* `assertArraysEqual`: checking if two arrays are equal and returns assertion with emoji.\n* `assertEqual`: checking if two elements are equal and returns assertion with emoji.\n* `assertObjectsEqual`: checking if two objects are equal and returns assertion with emoji.\n* `countLetters`: counts the amount of letters in a string.\n* `countOnly`: counts only the items specified to be counted.\n* `eqArrays`: checking if two arrays are equal.\n* `eqObjects`: checking if two objects are equal.\n* `findKey`: more powerful version of findKeyByValue, finds the key of an object that matches the callback.\n* `findKeyByValue`: finds the key inside an object where its value matches a given value.\n* `head`: returns the first element of an array.\n* `index`: documents all the functions created.\n* `letterPositions`: returns the position of a letter entered in a string.\n* `map`: applies an action to all of the elements within the array.\n* `middle`: returns the middle value of an array.\n* `tail`: returns the values of an array exluding the element of the first index.\n* `takeUntil`: returns the value of the array until there's a first unsuccessful callback.\n* `without`: returns an array with the specified element/s taken out.","readmeFilename":"README.md"}