{"_id":"@edonnellan/lotide","name":"@edonnellan/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@edonnellan/lotide","version":"1.0.0","description":"A library of functions similar to lodash. Created as a bootcamp student.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/edonnellan/lotide.git"},"author":{"name":"edonnellan"},"license":"ISC","bugs":{"url":"https://github.com/edonnellan/lotide/issues"},"homepage":"https://github.com/edonnellan/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"8aba5ac09806ebb7584347e1d4665ae667dcfb74","_id":"@edonnellan/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-KkvGbXkyL7l3XsNkOFp2G7fogbY6UWeA9sTyUIs04KKmWRpZlBXMzB4ySsy2yrXUmWH1tczyAB8gegG/QNF64A==","shasum":"45969474e8b4ec9f3d818788c6f7b48a2b4fc80f","tarball":"https://registry.npmjs.org/@edonnellan/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":21430,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQnZWx9NSG+2/buM1CMWmYRombso5EZZ901EtHtPA5QAiBBsf+OSUdiY7mKiyVmtBhFGdQhffcw1NTw/6WwP5Ujow=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6yOIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqttw/9H7EfiIMXWlnl1sbIoxNxByosNootC+FVINSD6CgjHjQSnv/R\r\nqrgYpJfEYeKxdVrteER+JnGMbwnhBkRtsNZ6uxWPyw3tB7NzPSo4XoQ7j4du\r\nZIw7Ev6l47bTL0FlDm+cOTNwO0Btojb6JOqMwrWUUZAsME4jyNz1LVPqp6IB\r\nwffK6+EZzmiOWmNXCtco7Kn4xB54bO229Bw9u0fmjmEZeC42tJ+Lw6cMFf+U\r\nDOLSTcdVxXGxTkJsfS6Zbgxk/93ik9Y5o6UZXeKy3BnT6LXlbBnXe8FN62vj\r\nZXyCdR7YRqn3NOuCFU0lzVNNO/RqMxxdC4AlKFIqi2j0uSjhLu1i5S+OF7Oa\r\nzjRA0abXAui9g2xWpqdkFGOhRKOoZSIg+StGHAe+qaWJYqG5ZxqOss4/Wk6J\r\nTddA3pavi4dVUu+XtdMboX5BWN0bJ9QcAlRWYwM5iUFVvwVdlStSe0VFqkqy\r\n7Goc356H9B1V4V1wtISsoq0ikC9PuZhb30BOdTHSjYneEBrDT6giSC+oK4xs\r\nnZ8CvGA+dbGr3VAIF0wHMJaakNj/mKfRXGtrZu9tdtsVl2czllwm3si5cD0O\r\ngN+Bx8XKSfjHRxEGdR2Lb/oocrGL5ffzJKw2yJBXtbdLqWS8/OP2INOWoijq\r\n/2qCDYMDy4kagZriipoVWdnP7rKNq6/09+4=\r\n=zjx1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edonnellan","email":"elaine.whist@gmail.com"},"maintainers":[{"name":"edonnellan","email":"elaine.whist@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1676354440047_0.09231834612940926"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-14T06:00:39.944Z","1.0.0":"2023-02-14T06:00:40.195Z","modified":"2023-02-14T06:00:40.360Z"},"maintainers":[{"name":"edonnellan","email":"elaine.whist@gmail.com"}],"description":"A library of functions similar to lodash. Created as a bootcamp student.","homepage":"https://github.com/edonnellan/lotide#readme","repository":{"type":"git","url":"git+https://github.com/edonnellan/lotide.git"},"author":{"name":"edonnellan"},"bugs":{"url":"https://github.com/edonnellan/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 @edonnellan/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* `function1(...)`: description\n* `head(...)`: Returns the first element of an array.\n* `tail(...)`: Returns an array with the first element removed.\n* `middle(...)`: Returns the middle element of an array.\n* `without(...)`: Removes a specifed element value from an array.\n* `takeUntil(...)`: Returns the provided array until a certain value is hit.\n* `map(...)`: Creates a new array from an input array by implementing a callback function on each element before pushing to the new array.\n* `letterPositions(...)`: Returns an object with each letter from a sting input as the keys and the recurrance in the string as the value to that key.\n* `findKeyByValue(...)`: Find the key of an object by using the value of that key.\n* `findKey(...)`: Find object key using the object and callback function as arguments.\n* `countOnly(...)`: Creates and object to keep count of the recurrance of a each string in an array.\n* `countLetters(...)`: Creates and object to keep count of the recurrance of each letter from a string input.","readmeFilename":"README.md"}