{"_id":"@abellozo/lotide","name":"@abellozo/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@abellozo/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library (project created and published by me as part of my learnings at Lighthouse Labs)","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/alinebellozo/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/alinebellozo/lotide/issues"},"homepage":"https://github.com/alinebellozo/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"dependencies":{"lotide":"^1.0.1"},"gitHead":"25b42631a446ada64b9a184f654b842138e76d89","_id":"@abellozo/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-frzLYqK723pU4hU3LmGMpNxjrsb0yM4BNs92GbSTxqlREgLx88YPhCTEUqne++4ZVByEecBO0WiQfqtAXqWbSw==","shasum":"749ee2ee13695669cb06bafbe2c33c9add2e8e4d","tarball":"https://registry.npmjs.org/@abellozo/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":25202,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNhlTYlWaVnB4gEqFYJYj8ROxLjky9QINv76BXW9HUlAIhAKGzTW3VaICPO9CQSnSWEOJAbsTsGO1Rgm6z1PsHPBKt"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFAIEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKVQ//QaewMYISN2suZqDEFzuy7kW3c5qJi6HXyMdX+yE8JUzOClPK\r\nFlQvc12q1DxilB+BgMCSSmKxGC8BhrfxkOScs7FZU15p1Bt/Yz4m+uEtFH3N\r\n+L6cNV91JgbHtxFf2AC+syi75I66oBplZi1pWjXBvEQWGj+HmK3aUHgOHjkT\r\nzTLxpI8qzGbt8AkZ+Qpy07DozdOQ5DjkzlNLT3TXhjr+w4KQHkdJlA5nt4jC\r\noJHVCViPiFb/FlIHXqiSOVEDiPPEW7pTEWWD9Xz7jM43o4n+Kf5dK6rXipWW\r\nA3vKVuQ49MI5Hsl4ISQx5HZuUNi0PTXol7EOucdGtpVzb77TwYIMobksBsXW\r\n4v5aWdue5hlzRfX6/AE3axZUX5WF9GjnZkZx/Pw58kx53yvEXiCUfVKQ9kZy\r\nvmFOBqKePLI2rqIT3N4gD9P9EMxH2ZlMIRAjU6Gc3D2z1s+NUvwKcr3Gh10+\r\nKztgqHPJ/n+hQ+flx124Do1w7lni5o3ii/rcUIUiypA69ZCN6TFVfK4TohyJ\r\nZn8hVfg5QQok/73myhmRmeH91ExiQec5/po7B6fGK1hnAs+2SaJEDIsoFkIq\r\n1eIksZLw5AOJDPbAqBDXicZtW+7G9fW0HQP5aWlx0oc0Rb4Eem5iNTI1s5Xl\r\npypnVjZ9ZwLOgx9ix+AgGJ/JKORvhZZlwhw=\r\n=R0Yp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"abellozo","email":"bellozoaline@gmail.com"},"maintainers":[{"name":"abellozo","email":"bellozoaline@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1679032836624_0.2210970841405655"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-17T06:00:36.567Z","1.0.0":"2023-03-17T06:00:36.808Z","modified":"2023-03-17T06:00:36.979Z"},"maintainers":[{"name":"abellozo","email":"bellozoaline@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library (project created and published by me as part of my learnings at Lighthouse Labs)","homepage":"https://github.com/alinebellozo/lotide#readme","repository":{"type":"git","url":"git+https://github.com/alinebellozo/lotide.git"},"bugs":{"url":"https://github.com/alinebellozo/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 @abellozo/lotide`\n\n**Require it:**\n\n`const _ = require('@abellozo/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(...)`: returns the first element of an array\n* `tail(...)`: returns the elements of an array, except the first (index 0)\n* `middle(...)`: returns the middle element of an array\n* `assertArraysEqual(...)`: checks if two arrays are equals\n* `assertEqual(...)`: checks if two values are equals\n* `assertObjectsEqual(...)`: checks if two objects are equals\n* `countLetters(...)`: returns a count of each letter in the sentence\n* `countOnly(...)`: returns counts for a specific subset of the items given\n* `eqArrays(...)`: compares two arrays\n* `eqObjects(...)`: compares two objects\n* `findKey(...)`: scans the object and returns the first key for which the callback returns a truthy value\n* `findKeyByValue(...)`: scans the object and returns the first key which contains the given value\n* `flatten(...)`: takes in an array containing elements including nested arrays of elements, and returns a \"flattened\" version of the array\n* `letterPositions(...)`: returns all the indices (zero-based positions) in the string where each character is found\n* `map(...)`: returns a new array based on the results of the callback function\n* `takeUntil(...)`: returns a slice of the array with elements taken from the beginning\n* `without(...)`: returns a subset of a given array, removing unwanted elements","readmeFilename":"README.md"}