{"_id":"@aulakh.hardeep91/lotide","_rev":"1-ae5a21ae604ebb295b1b80defcf60f29","name":"@aulakh.hardeep91/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@aulakh.hardeep91/lotide","version":"1.0.0","description":"Lotide Library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/aulakhhardeep/lotide.git"},"author":{"name":"Hardeep Kaur Aulakh"},"license":"ISC","bugs":{"url":"https://github.com/aulakhhardeep/lotide/issues"},"homepage":"https://github.com/aulakhhardeep/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"d33ec90e146b5f456ebbe7588533711e48c67f55","_id":"@aulakh.hardeep91/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-jyq2ktXZlFHKfZPNP/iNEJMkQyYnjM9LuhvJ7AP2K5rmsdT1doO8Dv7iDLgVTqbLUGWUngrEJFD7JH3dRPn3cA==","shasum":"c49e64ff3ad737c37df7b605bab7b38c95429ef2","tarball":"https://registry.npmjs.org/@aulakh.hardeep91/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":17799,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICY+H9sXk/NB1NWcuD/Irnx+OYu3Ex2DROWUN3ve9J3GAiEArTMEmtTy3QOSkqXi6F5IGcG9qDV/remoGnLxvVRatu4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPzpyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfsBAAmi4aL9gtaBGakTBxjPLmgrdFeM2bVd16bP1V66aPehcCeH82\r\n6q6hX+i+r56CF7ZL9Rxmsk+hsPm+IJ8Y005IxjKRPec2rJLc71Xe5NBDNyJm\r\nf2ufucMlaX4Hu+4MKTOjNdPY7MYZT6kpSid/6C5xqbfkB0zAeiGZz5WlxbXE\r\nH1KhfOKuQIEjmxmn0420Wj298udhwL5ocdI7C3cQz55qKjew4xtfZNnHVC7/\r\nIvgA8LtWQbRbb2N36YiQNbG8WKWUHgafl+X6wjlpFMTxWQ1myScmEpAqJ5Tu\r\n1utDO2GnCpt0G1iH3CET+U2Yrc/f9i3fH8P7A9ALfWW/JZV8RSz6M+uKThqS\r\njdbnyAfEMmUPHGehsmx0BNMTl4iAJz+pW1p/VHH3g8uecF6BVZSrxbvqU6ff\r\ns0QDcgQpBUXFl1YLQyFTOPgwgptyKdSIoDdqHP+EZuoFD7poqCRw1qRCtPYn\r\n1CUks+NQoSDClHSclQPh49xvSztj+9Y2kpyUaaSWUR0Ou02wqfCrdQDnO4ed\r\n085Om7aZzAPjcpewfx4H414Hvb+KZbptRwrqUmpAMv1FJAH3VGl3S7HjJL2M\r\nBvmyMOyb16WHbUES61nvyAR9JpttI9Fmj7fQv/kTAttrz6ryws1koJ40bT80\r\nz11/lL+L4mjYDVPmpZWBD+USzf6eQsTQxRg=\r\n=rXb7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aulakh.hardeep91","email":"aulakh.hardeep91@gmail.com"},"maintainers":[{"name":"aulakh.hardeep91","email":"aulakh.hardeep91@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1681865329788_0.5705909680065469"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aulakh.hardeep91/lotide","version":"1.0.1","description":"Lotide Library","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/aulakhhardeep/lotide.git"},"author":{"name":"Hardeep Kaur Aulakh"},"license":"ISC","bugs":{"url":"https://github.com/aulakhhardeep/lotide/issues"},"homepage":"https://github.com/aulakhhardeep/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"6faac8f5e9799a9933c30d3fabd00ec4898f1be8","_id":"@aulakh.hardeep91/lotide@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-v3qxrihGNc+c1D4k/DE57iUdcGB4JkHKXvFTzUBbkW5A/Xo++jcQPTsGxjY8vCLJ8C/nwRgieepDIaCK8XWRow==","shasum":"3960d839b7818cd736d6c61b1e341667ffd44d16","tarball":"https://registry.npmjs.org/@aulakh.hardeep91/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":19023,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGeBSousfsuHvLt0i+qhTK62rm/8Pgp/n/HWEWdBi5qKAiBcT4KdAVm00adsE660CTSAnIh9tahlg4KQvQZSDYIClQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQJvZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSvBAAkSgNtvCftK5hzDzACU+y8KCWX8Uve0b+BHpt3ZsqdxawAqTl\r\nJWwIxwgE4YpkcYUmnd+l+wyprb2fdq4M2b7WVdgl9nbPFCaWRmcOTHN+H/qb\r\nHUB7ifXQwDpl66ddo/I7cWru5+v3gneItDt1eRHF5e67TL5uGnw4XzJsjZar\r\nXtm1CgDxZCtzhle/0Cp+N2gKXN71tzdrJSMypur+s+ziIE0kuKNgaSMC7x2h\r\nhz+rSHIqXS6XmGuW3HY/vLAky0u/A8v0SSm++YxXvfAnSdPRrmQqwpI95N4X\r\nIejbwomy8mmNTqCzr8xmh0jOnrFD9Gqk8Pn1xdbTgJJUTYQdS0WuTGdNwg7M\r\nkdjuHeq+0VnzpuF6jjFyN2/iBUwVavUsTD8Qx5CQsN6pWSKWJlhycHFqRBWe\r\nRlu59GpwqoOos+G3SIUVx7o3Fuf6Ce32U17qV9p61lgAPKMdaKsuTVGTzRHq\r\ns8iO7cjsDNTltGxMiqpCihAOjjL1rFF0g1EMdXCjbyf/2r2m1YUENV7hmGjd\r\ncZaWWEQCWTiyLTmhdBnqxs4EybQT3eGzuWDCuD8we9U8olzZrqrC5aKDxWbQ\r\n2hulEY2ao0TSHGWMq8JKTP9cNqp8dTrn1Da+ic33y6+/RUHVaornB2+Xd1fe\r\nhdp+dPcRkE1UeinUsXOBPy2mrFhG0HbKBoY=\r\n=mIU9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aulakh.hardeep91","email":"aulakh.hardeep91@gmail.com"},"maintainers":[{"name":"aulakh.hardeep91","email":"aulakh.hardeep91@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1681955801269_0.9569309328137068"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-19T00:48:49.698Z","1.0.0":"2023-04-19T00:48:49.976Z","modified":"2023-04-20T01:56:41.592Z","1.0.1":"2023-04-20T01:56:41.476Z"},"maintainers":[{"name":"aulakh.hardeep91","email":"aulakh.hardeep91@gmail.com"}],"description":"Lotide Library","homepage":"https://github.com/aulakhhardeep/lotide#readme","repository":{"type":"git","url":"git://github.com/aulakhhardeep/lotide.git"},"author":{"name":"Hardeep Kaur Aulakh"},"bugs":{"url":"https://github.com/aulakhhardeep/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 @aulakh.hardeep91/lotide`\n\n**Require it:**\n\n`const _ = require('@aulakh.hardeep91/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* `assertEqual()`: a function that takes in 2 values and returns true if they are equal and false otherwise.\n* `head()`: a function that takes in an array and returns the first element in the array.\n* `tail()`: a function that takes in an array and returns everything except the first element of the array.\n* `eqArrays()`: a function that takes in 2 arrays and returns true if the arrays are equal and false otherwise.\n* `assertArraysEqual()`: a function that prints an appropriate message after comparing the two arrays.\n* `without()`: a function that takes in a source array and an itemsToRemove arrays and returns only the items from the source array that are not in the itemsToRemove array.\n* `flatten()`: a function that takes in an array that contains elements including nested array of elements and returns a flattened version of the array.\n* `middle()`: a function that takes in an array and returns middle most element of the array.\n* `countOnly()`: a function that takes in a collection of items and returns a specific subset of those items.\n* `countLetters()`: a function that takes in a sentence and returns a count of each of the letters in the sentence.\n* `letterPositions()`: a function that takes in a string and returns all indices of letter positions in the string.\n* `findKeyByValue()`: a function that takes in an object and a value and returns the first key that corresponds to that value.\n* `eqObjects()`: a function that takes in 2 objects and return true if they are equal and false otherwise.\n* `assertObjectsEqual()`: a function that takes in 2 objects and returns true if they are equal and false otherwise.\n* `map()`: a function that takes in an array and a callback and returns a new array based on the results of the callback on each item in the array.\n* `takeUntil()`: a function that takes in an array and callback and returns a slice of the array based on the criteria specified in the callback.\n* `findKey()`: a function that takes in an object and callback and returns the first key that meets the criteria specified in callback.","readmeFilename":"README.md"}