{"_id":"@bulabd/lotide","_rev":"1-89834514620bf2410e4a525f0c01e3df","name":"@bulabd/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bulabd/lotide","version":"1.0.0","description":"Lotide project","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bulabd/lotide.git"},"author":{"name":"Bulat Abdullin"},"license":"ISC","bugs":{"url":"https://github.com/bulabd/lotide/issues"},"homepage":"https://github.com/bulabd/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"aadcf75683b0df2ef275a7cc38534e525c2b0835","_id":"@bulabd/lotide@1.0.0","_nodeVersion":"12.22.10","_npmVersion":"6.14.16","dist":{"integrity":"sha512-BZoVnmQeypQDS0Z8fH5Dz84kBBybsfNLHuAA7M43Fka1Tn2vvFgBfWNA7gOti0Yr8t2m7U9zwvjrGTEDyiLG4w==","shasum":"9e43b8f25ad51360f80034313653ef89ef0c397b","tarball":"https://registry.npmjs.org/@bulabd/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":21570,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2KMdKJr6fCpZU2C1CSeIC2IPPf8XubrZNQDp843UlKAiBPh8PcgKlWmAWfZynPLEjexclZUCgfFy9SWTtwRoLylQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVIJRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqHIg/+IrnFXYAzfEdVdcqdq2klgnKT4b9ROjFJana56fzj/sF6bT1y\r\nOYVVSP0wdqe4ZEtvTm1ioskerFDpLe26FtNtt41++eeeSyjWbrOyBr73vRGm\r\nlidhf/oGHeiBPzFmQDMz9F5oCO+gGCfrkb1N39GUhCxPFzMWQlIGus5r98In\r\nRvNFI9O9f5gE5LoifyhfuOsCVun8TKIVSS/4tR5AU9TzEoeUgmtkuTxSUy5w\r\nDz5d0tJp0wS1ZSKO/kbHOU8tc+8kpe8NARR8Euu00GpIbu1CiXm1PXiqWVw6\r\nPGqozYPXoDlLslEeNb+KWMi0MTIxj8OxFj1/2unSABEbLA8umPu2+AWIfF2S\r\ngLvhz+XXOAA/roxOSBvfBM92HOy+u/QBmk0MZITDRhaOjV+3ds74/nrWrx09\r\nmtipdL362/o6RNib4a6lQ0qzttPulMbRZe87CZY3Kib5RDzF4EsDOn1FROBb\r\ndSdtrsdrKhtADB37g3USH/jjBkHtSwE3u3DalVUiev9jX7Npxw2/EVbUc8xP\r\nlOw4e4D1/XeVHSeBCKmn/ky/kZxFpB3i9su6Klticjt7oZJr0h0bo43lNvM5\r\n59CucdX0Ui5dYW2IWzr6WJUDJTO+JB9SVguc4sPlP3/0eDk3WSbAP/0+tto7\r\nWtoa5H4fVyuOsAAzVReNRI4vNYw6wNGaOks=\r\n=JkLr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bulabd","email":"bulabd@outlook.com"},"maintainers":[{"name":"bulabd","email":"bulabd@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1649705553720_0.9982653246461086"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bulabd/lotide","version":"1.0.1","description":"Lotide project","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bulabd/lotide.git"},"author":{"name":"Bulat Abdullin"},"license":"ISC","bugs":{"url":"https://github.com/bulabd/lotide/issues"},"homepage":"https://github.com/bulabd/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"6fb2991aa56f5aac480e4fc6a254f6fa691a2133","_id":"@bulabd/lotide@1.0.1","_nodeVersion":"12.22.10","_npmVersion":"6.14.16","dist":{"integrity":"sha512-wozEi0H0/h6oK0JrS7/4zRNLaLSVwfiAZqdd6M9Iy6PWHnalkAWvQC9TO8coISfV253IbZou9Aeqbhd2Ef/Hdg==","shasum":"8cae1fecf31bab34d70284ff322bf1fde65fe193","tarball":"https://registry.npmjs.org/@bulabd/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":18536,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1gnbHDw1zPzXXkpwYxd3hJ9+j3lAdxzAVCGo5vMI2eAiArRSSYdqmS9C70N6kNkzUWNvVMDOHzMiD3DfIPPDkkMw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVJrEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOTQ/+Pdi/rP9qsxDwCxTh2jzqBUR3/fxr+E+DbzyYLjy8Qf6K7USd\r\nyyRCtsBdb4qqSHyADv4ZQMKuf0+1jvURpivjxuarrHTNv3tNQt+B1K3pT1aR\r\nHGNXOk1/o//2hradLU9aKblkihb3bKfngjFB/oVJQeTsv8OtLQm5SYGi54tK\r\namLUJU01cdDZhvNVaIcdTyPbDRTFB8neznryWlwrOQYxc9MmOIERzn/UyMMR\r\nOG/jHm9J8DHbpimbt8cquYukdCZ3vU4iFICTZ0LchRZg+ZUmb2bQkl90jeF6\r\nNNWvNIIA1TJMhy23eMupcLpSEoGPFeeKpA0KJ1WnCr1o8MC7r26gD2mV/gES\r\nvvzOJRhcVardNt3NmUrBAZ/1pGGYULP7XI61ZTaPmImpgXwGJKxpJu8cedZ4\r\nByImgmEcZ4OWlOLT4grzS89w7TN3vcIL+5gvItKVg+SjtdrIDxG3EyYPV004\r\nfw8/bDmnY7Fd56TiSFXfRtFht0MauHegAdT24bE63EfO+EFDSiCHkouHzSwb\r\ngzpJhjbWiQ2ixfY0sODRj9FZoNygPZtn7yVGczYhF+9ezLQOEh7IA1siHghB\r\nHhWD/3rrt6GPpP7U9Uldlky5jeHV75GF9vtDCK+6zxGYekEhvAK7jQYN6+HP\r\neVcIBZm7qMsdaSEgOrupW6n6zCAlZew1yro=\r\n=s0Jw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bulabd","email":"bulabd@outlook.com"},"maintainers":[{"name":"bulabd","email":"bulabd@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1649711812128_0.6781907437871135"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-11T19:32:33.640Z","1.0.0":"2022-04-11T19:32:33.876Z","modified":"2022-04-11T21:16:52.308Z","1.0.1":"2022-04-11T21:16:52.243Z"},"maintainers":[{"name":"bulabd","email":"bulabd@outlook.com"}],"description":"Lotide project","homepage":"https://github.com/bulabd/lotide#readme","repository":{"type":"git","url":"git+https://github.com/bulabd/lotide.git"},"author":{"name":"Bulat Abdullin"},"bugs":{"url":"https://github.com/bulabd/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 @bulabd/lotide`\n\n**Require it:**\n\n`const _ = require('@bulabd/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(array)`: returns the head of an array\n* `tail(array)`: returns the tail of an array\n* `middle(array))`: returns the body of an array\n* `assertArraysEqual(actual, expected)`: asserts if actual array is equal to expected\n* `assertEqual(actual, expected)`: asserts if actual value is equal to expected value\n* `assertObjectsequal(actual, expected)`: asserts if actual object is equal to expected object\n* `countLetters(str)`: returns the amount of letters in a string\n* `countOnly()`: description\n* `eqArrays(array1, array2)`: returns true if actual array is equal to expected array and false if not\n* `eqObjects(object1, object2)`: returns true if actual object is equal to expected object and false if not\n* `findKey(obj, callback)`: returns the first key that matches the callback requirements\n* `findKeyByValue(obj, value)`: returns the key whose value matches the value argument\n* `flatten(array)`: returns an array with all the internal arrays flatten out\n* `letterPositions(str)`: returns an object of all the letters in the string and their positions as an array\n* `map(array, callback)`: returns the array but with the callback applied on it\n* `takeUntil(array, callback)`: returns the array up until the callback condition is met\n* `without(array, erase)`: returns array with the erase argument deleted from it","readmeFilename":"README.md"}