{"_id":"@bobby-brice/lotide","_rev":"1-6baa36031ff8127d93113647fb7dff90","name":"@bobby-brice/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bobby-brice/lotide","version":"1.0.0","description":"A mini clone of the Lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bobby-brice/lotide.git"},"author":{"name":"Bobby Brice"},"license":"ISC","bugs":{"url":"https://github.com/bobby-brice/lotide/issues"},"homepage":"https://github.com/bobby-brice/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.2.0"},"gitHead":"09d68f345797b864b9cf56e07ab8a447a040a3a5","_id":"@bobby-brice/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Xjc+B2nR8C+NrwjeEpQNDP5qp4lVV7MjVpNE+0yfNTl5HZxI27hjg2ZV28dUWySUHgvflwzODajOnAIo3ebYvA==","shasum":"c6d83cf7aa3595f919b03beb8ce47061169aaae3","tarball":"https://registry.npmjs.org/@bobby-brice/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":19399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1X3eCRA9TVsSAnZWagAAhaIP/ipRET4AeMqTCWDtzqN3\n33Gl07s8axTwoi8SKwHfmpYihcmO+mch+T8k8O4ti2mZVEMtmsZwhDPSmo8K\nT6/I9UBYTwQmInM4SvXeCqt8QjI1cTxOAWYuGzdd3jkyOb+WUlNFUBDQpSbf\ndm+t9pr4W2+1K43Ak6+l3gn9E5QYFmA+b9j+9SbU2e8ZXU5j4MOoARr5bRvP\n/KfE6JLVc1c/uWLSzyzOdgYMQpWB7WhCy7kHHMZy8rw6oVAe6kPd8XU7FMcl\nwDPQssgWa1ZVczxjnl5CeCf++CcNhYHb4saDZ8Lh/di6QSgm7oA09HYESgDO\n0hP3m2/uLjVX/lVeaNzSRUmFpy17EGdhCBfTMjNlAgOVXoBsYVaomRzKqwca\nLh0bTApZPNsctqU+pqKFBcF6lD/Xm9zHv9onTHNqwDH8zLBqpyYfZBZ8uPHz\nB8657GHCsKyRGq5J9A3lUpbp5+pn/6zbkusgQB2VghxUyAzQzeflbetanIVF\nUAyd5fSPYODO9i4rKyKQZNczESpkMv58pkvGG4fyUT+uI78EhIF1OyOmccT/\neLKEqWP1plyRFBdD+CW2fF/aqw/E0ih9g2wixxNeMNGf7Fk+QNJLC+9gKsjx\nciQ6OhOFvc7FWcUmY30eStIoufnMVFukry0WziuYkeNxatJN9ixWRSbQ/MNM\ni3pb\r\n=jYvR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICGWKIwzshdvgz4oAFCITjbDm9+iTuTHfDdDewy6sx+CAiBCLJM+wS/AVyLNNUc9HnCekjKDV0PUl+/s5GqexQp9vA=="}]},"maintainers":[{"name":"bobby-brice","email":"bobby.brice@gmail.com"}],"_npmUser":{"name":"bobby-brice","email":"bobby.brice@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1591049693696_0.6776825788363585"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-01T22:14:53.661Z","1.0.0":"2020-06-01T22:14:53.912Z","modified":"2022-04-04T19:55:19.167Z"},"maintainers":[{"name":"bobby-brice","email":"bobby.brice@gmail.com"}],"description":"A mini clone of the Lodash library","homepage":"https://github.com/bobby-brice/lotide#readme","repository":{"type":"git","url":"git+https://github.com/bobby-brice/lotide.git"},"author":{"name":"Bobby Brice"},"bugs":{"url":"https://github.com/bobby-brice/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 @bobby-brice/lotide`\n\n**Require it:**\n\n`const _ = require('@bobby-brice/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 from an array.\n- `tail(...)`: Returns the last element from an array.\n- `middle(...)`: Returns the middle of an array element\n- `countLetters(...)`: Returns an object with the count of each letter in a string.\n- `countOnly(...)`: Returns an object containing counts of everything that the input object listed and how many instances.\n- `findKey(...)`: Return the first key for which the callback returns a truthy value. If no key is found, then it should return undefined.\n- `findKeyByValue(...)`: Returns the key of an object if the value exists in the object.\n- `letterPositions(...)`: Returns an object of each letter and index at which it occurs in a string.\n- `map(...)`: Receives an array and a callback function to return a new array with the specified callback implementation.\n- `takeUntil(...)`: Return a slice of the array with elements taken from the beginning until the callback finds a truthy value.\n- `eqArrays(...)`: Compares two arrays by there length and index to return true or false if they are ===.\n- `eqObjects(...)`: Compares two objects to determine whether they have identical key/values and returns a boolean.\n- `without(...)`: Return a subset of a given array, removing unwanted elements\n","readmeFilename":"README.md"}