{"_id":"@alulaleak/lotide","_rev":"1-0ee1888eedc15511221e820625477b50","name":"@alulaleak/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alulaleak/lotide","version":"1.0.0","description":"This is a library similar to lodash but a much smaller and simpler version","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AlulaLeak/lotide.git"},"author":{"name":"Alula Leakemariam"},"license":"ISC","bugs":{"url":"https://github.com/AlulaLeak/lotide/issues"},"homepage":"https://github.com/AlulaLeak/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"dc3f901aa26cdb1c31b63e2f2683f30ed48cf6bf","_id":"@alulaleak/lotide@1.0.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-DUbE9mvcQYOptV+GaAGzLj/XPlc3GdQW4Ks97jtM9uJ3MocSuaW1mdi2W77NXGJYFQwFmTkjDNFZnTRJf0sXEg==","shasum":"95a5911035475e84beb94f00c054578d3f75febc","tarball":"https://registry.npmjs.org/@alulaleak/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":15513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpm3KCRA9TVsSAnZWagAAM+oQAKTQhWKiyq6D0U8EZVFR\n/unme9Hakm/ckhtyBenJqXu3jvsUVQIhyKFzvY9IjW63zPZD7z47gNpUhk4u\ngSrnCMSzd2NhfG3i9lF0soW3rZAwB9TXzFuBazkodnEm6imLl/fner32Xwms\nIG5CTPQyc2Ltch0TqpwA1nju170jRJJpgoZ5v143nrM17SqgQW4/nmxRS1Cn\n7QK+HY5sriSe5PhoB/je5+tdNnBhMKByRNDbJnWwPmcAMjvOn4KyJowFs7LU\nx4/aeMyP1FsAMN8e1Nm/C5cVPJx5q/KMmW7CgqIB7UNHajwmzm1yygbhRXdm\n5Zdu4iBFBTb4N1cL1hHUzGQFZTroULXckDzfk8FJTxqtI1qInTINYLWMuZi1\naCIBoF7c3n+AuT8jwr0/vW1i7WtLDRucDCImeQZqsBVzlO7HStU4uaBG3lEz\nZ0jbhk742HLlXXtVN9O30mj0eXSIyNqbycaZAY99BQzhkQ3MfRp2OC+klQEG\n1pDLWQ/rojIAkhcMororD7g9sbwuxPLuiTzn6J/CUju9+ujKB93s2T3lIQuI\nRroS0kYaIKCL2etCX8eOOgP1VCxe7p77HwXRWthwXhFy55rRz6+8gjzW7Njz\nyhZsHVG7VMKSivB63DQvymieaIZEwT1gUCa81wdB/7WJ3k/sQ4usVpDQb1Me\ng+nD\r\n=WV6v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJPMTh53YwIMO9alb8AIbUOez0bDxmM5prIP9AmDMZEgIge5XQAVf/qTosrOpe0M5xdlqtqqrhFWILkZPIzLiv6UE="}]},"_npmUser":{"name":"alulaleak","email":"alula.leakemariam94@gmail.com"},"maintainers":[{"name":"alulaleak","email":"alula.leakemariam94@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1638297034517_0.38427298408845334"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-30T18:30:34.462Z","1.0.0":"2021-11-30T18:30:34.682Z","modified":"2022-04-04T13:41:20.884Z"},"maintainers":[{"name":"alulaleak","email":"alula.leakemariam94@gmail.com"}],"description":"This is a library similar to lodash but a much smaller and simpler version","homepage":"https://github.com/AlulaLeak/lotide#readme","repository":{"type":"git","url":"git+https://github.com/AlulaLeak/lotide.git"},"author":{"name":"Alula Leakemariam"},"bugs":{"url":"https://github.com/AlulaLeak/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 @alulaleak/lotide`\n\n**Require it:**\n\n`const _ = require('@alulaleak/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()`: asserts if arrays are equal\n* `assertEqual()`: asserts if a primitive value is equal\n* `assertObjectsEqual()`: asserts if an object is equal\n* `countLetters()`: counts letters of a string\n* `countOnly()`: counts only what you allow it to\n* `eqArrays()`: returns true or false based off if array is equal\n* `eqObjects()`: returns true or false based off if object is equal\n* `findKey()`: finds the key of specified\n* `findKeyByValue()`: finds key of specified value\n* `head()`: returns the beginning element of an array\n* `tail()`: returns the whole string except for the first value\n* `map()`: returns a new array based on the results of the callback function\n* `middle()`: returns the middle element of an array - returns empty array if even number of elements\n* `letterPosition()`: returns the letter position of specified letter\n* `takeUntil()`: returns a new array until a specified value\n* `without()`: returns a new array without a specified value\n","readmeFilename":"README.md"}