{"_id":"@anakuz/lotide","_rev":"1-572f966d78fd382674fa597437003be9","name":"@anakuz/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@anakuz/lotide","version":"1.0.0","description":"Lotide","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Datazyme/lotide.git"},"author":{"name":"Ana"},"license":"ISC","bugs":{"url":"https://github.com/Datazyme/lotide/issues"},"homepage":"https://github.com/Datazyme/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"72ea31fb06e2b0ea7e5e67734d28739379c4e0f5","_id":"@anakuz/lotide@1.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Mi3A+4J8sb3vUjPlXKGCw4zhP+d1tG71fXqW/MO+EkSHDfDNJNa2HFHqsmop+vfQ6M8okh/6TPqjgA00J1FhUg==","shasum":"d5f292c5629328969658d650b0d73c3e1acc9e09","tarball":"https://registry.npmjs.org/@anakuz/lotide/-/lotide-1.0.0.tgz","fileCount":31,"unpackedSize":27553,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLuGS3h0Jr8pc27M0Bp6tXpeF+svMNlxy/nWwDJ0VI9gIgMRYXXZtXd8btJ53fF0B3lLozohamskG1HeoXeNNOOFU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcYPVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpV1A//dEj8qyrKa6Pn91s+3ucdE0IgUlqoksv+QUCA+p+W1Ei+XJd9\r\nzJOI1F/PQ39UT8VvZgTNkOk/q4LJNfWATOAyY683NuMhc2pH6E72BBGSxhAy\r\n8dafh/iRT0fhB3Cc3FJh5fWXOM5j1E5BlZCpv3HPwm9fkbdAVdA470w0SUhM\r\nu17Ycv48l1h+gUw8/0OCOl1Mv7QxNGGhaAhNaLD5tQcNVOgJ6x8TcaZDlqDQ\r\nzfqudFiMmVhR9+hDxDAs6YPKgjpejO22JcJs2cIcIQdgzcw5TJjL3XA3YVkc\r\nt9/V+o/f/RPrXoS7Ty6N/rEwcp4V5+ewZRLPjZ7IW7oPB6+0QkOXK9EnCVpX\r\nFDPWI9ksPhBv0Gaf5JnKrHjdIf1XYgmEqE9B1jj0mgWXT0DfqpOLiNKuUZYk\r\n3ORm+CmQ2xYN3LWhGr6N34NbADSTD1y625EmVk1nQ+MmxF0vznfuPX/Y/l70\r\nzc/87+svKSNYVxBNWd1zpTXjKS3qet5fgH3S7zEKNNAVuugiLtwuMC3k5DIB\r\nrNcH4zjp8G9mccnWHkQdHri561wfe/1SWfKtmG2Qw6C87cPu3egmN1+OswBk\r\nnN9ABwjCmJyl6UjDMeknOQuzzo2L0DmkOcQgJkBLObl2usrC1qRDi1fo3kYF\r\nl4RZ1tIqb5HX9nV+mLYofaEEZWVSeHj/7L4=\r\n=Qw0k\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anakuz","email":"anakuzmin2@gmail.com"},"maintainers":[{"name":"anakuz","email":"anakuzmin2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1668383701604_0.5652955366475834"},"_hasShrinkwrap":false},"1.0.1":{"name":"@anakuz/lotide","version":"1.0.1","description":"Lotide","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Datazyme/lotide.git"},"author":{"name":"Ana"},"license":"ISC","bugs":{"url":"https://github.com/Datazyme/lotide/issues"},"homepage":"https://github.com/Datazyme/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"e9194ff4ea24b57a09005724b78d008bf1894d57","_id":"@anakuz/lotide@1.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-jVGT/Fm0QeAiZSf6uzABlZeuFOJ+2zYJLxqlKq77V1jaiuC8kT9zFq37d7qfeRHrpjhzz5dljfYfIRWT2kE01Q==","shasum":"47dcd876ca41d3ced28de98fbeb72064c4622a8b","tarball":"https://registry.npmjs.org/@anakuz/lotide/-/lotide-1.0.1.tgz","fileCount":42,"unpackedSize":44298,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAPVw1YEX4Zj2u9Tt+DoPWwpmEc4XSdEoN60Dahe0VFgIhANCgmSBfS825NnarAbFKZr6jymp4528KWLmZV/YD3l5F"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrm7HACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYfg//Z4ZqTvgtMEmsrNMYsYc0zIV9KuPhFXEmo6Zs95aAjZkl96KN\r\nwDlTNZgjK/lUTttpPncH401KV2i/dZdPE1gKwh0XX4t2wSUouAwn6w3VCepo\r\ncpg8hKFk/1p2B95eLBCABmp+Mih4yd1lguGMHQyNBggwvPKhR4pG4VmHNJO5\r\ni8qMZdghkQDkR2vd/QzLKzDuQf7itjhmliNV4ga8P4ltlfoeexpIJ4Rxh6gx\r\nhtDNe7Ff0QLBJW2UPAHTJslz/X9KvuKbJCjxcV4d4xMng/+shAbzYrFIq1G+\r\nmSf53KBV6O/7B2hMzbFpESsOc4avaGyhyAv8ia6nikPxNGSidd9L0lNNBGUi\r\nYI1eRVBV/f5bsZMQNU/dR34FDeCl27gTUf1f2TIFiIOdAD4+3HNXE56Med6g\r\nTZCE567AknucgRoSftwg13XdJrw1Hu7Lie48LN115SqSoiQ4Byh0IdMSP02x\r\nw+dQ4d8fHgEXMMTd4Ikex/Wxm/Qv83sg7zDlQIWIL/HVfeC4HcR16gFc7zzm\r\nhlHEzU9KIG5RGz4VrdDUnOOTHLgd2Dq2I8IKzH3da6snShY35WO18af5BrBq\r\nz0ZYgXDVYW98LSim08BccDT8eQkuTLITibKYScCYe91Ss9SzmJmyc7S72Lno\r\nryO63RP6uOW2RG4LpdRLddptUfMk3VZMx/Q=\r\n=GRkg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anakuz","email":"anakuzmin2@gmail.com"},"maintainers":[{"name":"anakuz","email":"anakuzmin2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1672376007280_0.34022658919101145"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-13T23:55:01.539Z","1.0.0":"2022-11-13T23:55:01.773Z","modified":"2022-12-30T04:53:27.532Z","1.0.1":"2022-12-30T04:53:27.438Z"},"maintainers":[{"name":"anakuz","email":"anakuzmin2@gmail.com"}],"description":"Lotide","homepage":"https://github.com/Datazyme/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Datazyme/lotide.git"},"author":{"name":"Ana"},"bugs":{"url":"https://github.com/Datazyme/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 @anakuz/lotide`\n\n**Require it:**\n\n`const _ = require('@anakuz/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`: function to determine if two arrays are equal\n* `assertEqual`: function to determine if two inputs are equal\n* `assertObjectsEqual`: function to determine if two objects are equal\n* `countLetters`: function that takes in a string of letters and returns an object of letter keys and the number of times they occur as values\n* `countOnly`: function that takes in an array of strings and returns how many times an item occurs in that array\n* `eqArrays`: function that compares two arrays\n* `eqObjects`: function that compares two objects\n* `findKey`: function that scans an object and returns the first key for which the callback returns a truthy value\n* `findKeyByValue`: function that scans an object and returns the key of the input value\n* `flatten`: function that takes a nested array and returns a single array (un-nests inner arrays)\n* `head`: function takes in array and returns only the first value of an array\n* `index`: list of all the functions in lotide\n* `letterPositions`: function to turn a string into an object that shows each letter and the index at which it occurs\n* `map`: takes in array and callback function to return new, transformed array\n* `middle`: function that returns the middle element of an array\n* `tail`: function returns a new array with everything but the first value of input array\n* `takeUntil`: unction that takes the first portion of an input array to a point specified by an input callback\n* `without`: function takes in an array and an item to be removed from that array\n\n","readmeFilename":"README.md"}