{"_id":"@ben013/lotide","name":"@ben013/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ben013/lotide","version":"1.0.0","description":"A remake of lodash's library for LHL","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Ben018/lotide.git"},"keywords":[],"author":{"name":"Ben L"},"license":"ISC","bugs":{"url":"https://github.com/Ben018/lotide/issues"},"homepage":"https://github.com/Ben018/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"208ef198cbe258e3755a9c3e2bb08389fe01920a","_id":"@ben013/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-in5jieLuABsep5Bz2lUlIlqgSpgQ3iGV7DNAjpdit32+laR0NX6FQAT9O2KWw5VFMeyjUfQkH/kmuNJAAJFJxA==","shasum":"0a2640f3170afe8a9e70220240f70f695e166f25","tarball":"https://registry.npmjs.org/@ben013/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":18019,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDCcoxxG61MqES+59Qe/ny2O2umfgPlWB4jGCzy+pHiAiEA5UI4PWPBm5L57QTf5/q8y+O/j4hXHwcUfbtmMwxJxK0="}]},"_npmUser":{"name":"ben013","email":"benlee013@gmail.com"},"maintainers":[{"name":"ben013","email":"benlee013@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1688427213014_0.07211792267375516"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-03T23:33:32.927Z","1.0.0":"2023-07-03T23:33:33.268Z","modified":"2023-07-03T23:33:33.549Z"},"maintainers":[{"name":"ben013","email":"benlee013@gmail.com"}],"description":"A remake of lodash's library for LHL","homepage":"https://github.com/Ben018/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/Ben018/lotide.git"},"author":{"name":"Ben L"},"bugs":{"url":"https://github.com/Ben018/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 @ben013/lotide`\n\n**Require it:**\n\n`const _ = require('@ben013/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()': returns the first element from an array\n  * 'tail()': returns all elements of an array except the first (head)\n  * 'middle()': returns the middle element on an array\n  * 'assertArraysEqual()': asserts if two arrays are equal\n  * 'assertEqual()': asserts if two primitive values are equal\n  * 'assertObjectsEqual()': asserts if two objects are equal\n  * 'countLetters()': counts the number of letters in a string\n  * 'countOnly()': counts the number of times the key is in the object\n  * 'eqArrays()': compares if two arrays are equal\n  * 'eqObjects()': compares if two objects are equal\n  * 'findKey()': returns the first key in the object that contains the value\n  * 'findKeyByValue()': returns the first key in the object that contains the inputted value\n  * 'letterPosition()': returns an array of the indexes of that letter\n  * 'map()': return the first letter of every element of an array\n  * 'takeUntil()': return a slice of the array with elements taken from the beginning - until it reachers callBack parameter\n  * 'without()': removes an elements from an array","readmeFilename":"README.md"}