{"_id":"@bloomfieldj/lotide","_rev":"1-45e450c0ccf3a4f5bdeecf793d6f6d8e","name":"@bloomfieldj/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bloomfieldj/lotide","version":"1.0.0","description":"My lodash clone","main":"assertEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/bloomfieldj/lotide.git"},"author":{"name":"Jonathon Bloomfield"},"license":"ISC","bugs":{"url":"https://github.com/bloomfieldj/lotide/issues"},"homepage":"https://github.com/bloomfieldj/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.0"},"gitHead":"c09e83d5a0a3ba15d722bcc4915a95bffde987ac","_id":"@bloomfieldj/lotide@1.0.0","_nodeVersion":"12.22.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-INbYqrJttO/r9yb0isPZRIl5qA1GUX9fdWq+1hlDhiwoLYzuMm40Bz6TDgd6RjatxQfLCHHgUc9mR3eadsuORw==","shasum":"eef477f72446a342d89b0226d066efeb9d2f2546","tarball":"https://registry.npmjs.org/@bloomfieldj/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":17379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI9lOCRA9TVsSAnZWagAAPAEP/3d7qhaYEE1ZnFeyEgiR\n79PoVHxePjRZi7zc1zva795VDtxjtCzRxIwfOWhplJNg0LgiBhAewxGge5Ke\n35JdmpWu3LHtyGnb9Kt2p5Kc6r6Snd1/uFAuMruDhJUyzekMzv4GFDKWLsEO\n4AAdElolY/JFjWFTv+lCsOxtMVsZGXF9om703Q80kO6v0zPqpouR7AJGbs9t\nH5k7yYZ2jljMtHAzw2eRfFCWYkxzN1rmWPK5nZuTMiAgAZgfhIhHNpIfEoE3\nqa11qTjlBisiok3r9jktaVOsST9Htvc4dQauXOWNqvdWYrulGeGxyoB4ww3b\nPCulI+2HTD2Q1YTa8nmcwTUdbHcp0/JtLLZ+/I/cikXwePm7EgQx2HU5tqGJ\n4N5CpCmprioVwZOBpAv67P90lrlRUi7auGX2S0sdMXynXgd6y3XwtVM+C0Wr\nbT5cmojeJwL7IJw5iUIgBKmq5JyJNg+cbwXxf9Ha+/9mTO0eYngce21ViU2n\nm7PooSqhdN5OKuLCVgKtXqmIT4917b8LjeIXEG+AIc7q3VMAqBQgdQdMFacr\nysg1YIpVFUrSyAhTzDYqGLAsm7Lr/qZphKACWBo6j1AOEsSfwkP7MrCpFgmG\n9emEVuNlCBSHDy4DlwtfJ/HNXxvOFFugdy4iCwjj412lrPhZV1JIEv5FsAmp\npP+7\r\n=Iy26\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEEFnAFiTwfdM5+TAjGqYrHfN0tunn/SmMCmUxzP4o8PAiAyBwacgUH0d6c3aIj29ZYpn0uP7N2CV/Ntn8vkPIyItw=="}]},"_npmUser":{"name":"bloomfieldj","email":"bloomfield.codes@gmail.com"},"maintainers":[{"name":"bloomfieldj","email":"bloomfield.codes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1629739341952_0.7125069301819646"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-23T17:22:21.905Z","1.0.0":"2021-08-23T17:22:22.142Z","modified":"2022-04-04T19:40:50.314Z"},"maintainers":[{"name":"bloomfieldj","email":"bloomfield.codes@gmail.com"}],"description":"My lodash clone","homepage":"https://github.com/bloomfieldj/lotide#readme","repository":{"type":"git","url":"git+https://github.com/bloomfieldj/lotide.git"},"author":{"name":"Jonathon Bloomfield"},"bugs":{"url":"https://github.com/bloomfieldj/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 @bloomfieldj/lotide`\n\n**Require it:**\n\n`const _ = require('@username/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(array1, array2): asserts the equality of two arrays\n\n* assertEqual(element1, element2): asserts the equality of two elements\n\n* assertObjectsEqual(object1, object2): asserts the equality of two objects\n \n* countLetters(string): counts each occurence of a letter in a string\n\n* countOnly(array, itemToCount): counts the number of occurences of an item in an array\n\n* eqArrays(array1, array2): checks the equality of two arrays\n\n* eqObjects(object1, object2): checks the equality of two objects\n\n* findKey(object, callback): finds the key of a nested object \n\n* findKeyByValue(object, value): returns the key associated with a specified value in an object\n\n* head(array): returns the first element of an array\n\n* letterPositions(string): returns the positions of a letter in a string\n\n* map(array, callback): creates a new array with the results of a function called on the input array\n\n* middle(array): returns the middle elements of an array\n\n* tail(array): returns the last element of an array\n\n* takeUntil(array, callback): creates a new array with the each element of the initial array until a specified value has been encountered\n\n* without(array, itemToRemove): returns a new array without the specified element\n","readmeFilename":"README.md"}