{"_id":"@bosic0015/lotide","_rev":"2-ae40a432f90fe962269a11298a8569b4","name":"@bosic0015/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bosic0015/lotide","version":"1.0.0","description":"created only for learning purpose","main":"assertEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/BosiC0015/lotide.git"},"author":{"name":"bosic0015"},"license":"ISC","bugs":{"url":"https://github.com/BosiC0015/lotide/issues"},"homepage":"https://github.com/BosiC0015/lotide#readme","gitHead":"2deb4b682baa3519c7ff4193fcf33d213eef4245","_id":"@bosic0015/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-QaJZ2APgCHHBH7TDA+O6WbsWm5vk8MWT2K0S/tlvpECM4S5Xfqd8Sy578w3aaY+hAE42JJg1POOWjUALz6t72w==","shasum":"82630885a08ce79112ba440450abd68118313fb4","tarball":"https://registry.npmjs.org/@bosic0015/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":19088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzZkfCRA9TVsSAnZWagAAgtMP/2WvXOgkTuo9wIaxG4Dz\nkUx+w2J66I7j6Bv0M4H8kpu9VB/f1+ZO1XyQpTa1dNKmacppkdn2Ljb4HEPG\n4y/ohRo5K7Zgz2febVxKibS3hYNwXiir4AkaQJFDGpWNBw38Tw4qtp/sikCa\nxkaYwO5AaJ93rJpU/tCh1WSVR3YvrVPk9RJLDuRsoH/c+UAbeKmW4d16nJQ0\ntK5gQ8WF7GzCT4jCVHss6oWM7WwHswZVb5V3StXdIEne5BCT0zNebQOngK+Y\n2wgUKVMvJaEX8h1rvhsX7v7dPK+2nc2Ia3DE3tb7j+yRypmT8C+VWPVBQ4qw\nDgWFDFiDoCz/lNESqHcm206A5hbglMkWZDHEXEp0NvytmmDZw9ILogdFnbFc\nNHggYcjZYkO8ZNgdz+T+HlYKN3UDX4WA1kw4xpXvWVythdMy5X2CaEs+58L7\nDxP9RzH2O6dzaD0ULXT+BaZYUVXetgKEIPXqP7iUSlDB7uwrEMEPCugE8Aec\nP8iqi4sz2OvXLD09E+I+pQVr8AKxCFBOCKNEuIu74KOKo6WqVK5zeem7vNMk\nkb9NP7dS4yBp4Y2BBceyb//Rg8vnStN2llJ+iThWH/t4/50T8gS4c0wGsX0z\nIcXlozrgrmusCXqSwXonUrmuSbvoBgEut+rCU4sBF/lE5bZhkTL6luXPG1XA\na6IC\r\n=dydx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqComYjyeFr7Q7OJWn4vtC2+9+FUMzUwCxQ6A45eV24wIhAJaPCtff29D2xbSCNaXYLvksnohziDemKnHeJOZW2gTe"}]},"_npmUser":{"name":"bosic0015","email":"chenbosi.bosi@gmail.com"},"maintainers":[{"name":"bosic0015","email":"chenbosi.bosi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1635809420404_0.5794516859349756"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-01T23:30:20.346Z","1.0.0":"2021-11-01T23:30:20.586Z","modified":"2022-04-04T20:13:25.506Z"},"maintainers":[{"name":"bosic0015","email":"chenbosi.bosi@gmail.com"}],"description":"created only for learning purpose","homepage":"https://github.com/BosiC0015/lotide#readme","repository":{"type":"git","url":"git+https://github.com/BosiC0015/lotide.git"},"author":{"name":"bosic0015"},"bugs":{"url":"https://github.com/BosiC0015/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 @bosic0015/lotide`\n\n**Require it:**\n\n`const _ = require('@bosic0015/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 can tell us when the code passes assertion\n* `assertArraysEqual`: compare two arrays\n* `assertObjectsEqual`: compare two objects\n* `eqArrays`: compare two arrays\n* `eqObjects`: compare two objects\n* `head`: retrieve the first element from an array\n* `tail`: retrieve from the second element to the end from the array\n* `middle`: retrieve the middle element from the array\n* `without`: pick the elements mentioned in the second array out of the first array\n* `countOnly`: count for specific items\n* `countLetters`: count letters\n* `letterPositions`: count the position of a letter in a sentence\n* `findKeyByValue`: find key by it's value\n* `map`: practice with map\n* `takeUntil`: a slice of the array with elements taken from the beginning untill the callback returns true\n* `findKey`; use callback to find the key","readmeFilename":"README.md"}