{"_id":"@aidanantony/lotide","_rev":"1-0ccd849eb4f6c5a7aba8c1a09a1703c0","name":"@aidanantony/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@aidanantony/lotide","version":"1.0.0","description":"My lotide library. This library is intended to be like a mini Lodash library.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://git@github.com/aidanantony/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/aidanantony/lotide/issues"},"homepage":"https://github.com/aidanantony/lotide#readme","_id":"@aidanantony/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-+PY9RfOG2yF1NN2nW7pmLWh3B7oeZhusoCdCzTU+O9+3Pgx35bXKRsx5QEBtESwkxTyQXagjjKUwLHQzel9wFw==","shasum":"1524f94d484d0b3a9ef2ee9836919442c159c75b","tarball":"https://registry.npmjs.org/@aidanantony/lotide/-/lotide-1.0.0.tgz","fileCount":1,"unpackedSize":528,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMxwh7N4oigQK1m2L/uUHAqus8oOof0Fa6LtGaCcF98gIgCIycmKPcUVVT8XShKO6COp2cL9V3F3UG0nzIRvznusA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXOQWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoC7hAAgu+YIfjgHCurf5pXXdxdf3E06rIfK2c0S8oirGtKANiPUhyL\r\nV//UAQJqFH6EWj23QE/j4aQLA5qKgKwJcQx0jtD601+fye5ieVouKJM7Ngda\r\n00g6SvgvXViTPSYc8x2Sbt8XZYeeUmHoQWOtlFscTNTr4h3ynbXSG0vqNoH/\r\nSdxO61OhipD5PzDNIOV7504pnjU6k2CEukI98HsujB/loovbub96zLlsR1om\r\njHZoKQhY5M6w7pwNT/xMHTefR6V2ZJzRDcLN0W+6IivBcVe/JIBxNIlzAmp4\r\nUY8Bphz5uwJ6HEJD2irI5rsMlAb2SectgIN2ic9O0Jz8TjfBs6jzZfEPkYP8\r\nKjLPYjWxNG9e9uO7u4xPhjqTY1J2y/mOCbD4ixlELiQmGxB3R4kP+mmfu7ex\r\nlk7gtp+pEEpmD1dA+TeUQVOkYzIJcF+a0MNAnz/cHTgA3+mZhq2a10LV+TOy\r\ndrHyDg6+58AK0bJBA5ky0F5KfUCqjjWcIkevFFHEPsy/Dhv6RqcHPiq57xPr\r\nAajCgstqQzUw9Omqbh8lzRUj35j1sgMK5NbENOgzoVQiJN2hVTXzpf+YJvpW\r\nHA9U+I1ScH3JQSxO7JGNeOT5cD7ehM9dUneOXXCjmynZqiuDqNnyG14I4+AV\r\nFNR8XP1YWX9Lsf/BMXWGQ5FUtzCxAFsDXFQ=\r\n=4lnb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aidanantony","email":"aidanantony65@gmail.com"},"directories":{},"maintainers":[{"name":"aidanantony","email":"aidanantony65@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1650254870349_0.8264017624948348"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aidanantony/lotide","version":"1.0.1","description":"My Lotide library. This project is like a mini version of Lodash.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/aidanantony/lotide.git"},"author":{"name":"Aidan Antony","email":"aidanantony65@gmail.com","url":"https://github.com/aidanantony/lotide"},"license":"ISC","bugs":{"url":"https://github.com/aidanantony/lotide/issues"},"homepage":"https://github.com/aidanantony/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"dependencies":{"ansi-regex":"^5.0.1","argparse":"^2.0.1","ansi-colors":"^4.1.1","ansi-styles":"^4.3.0","anymatch":"^3.1.2","assertion-error":"^1.1.0","brace-expansion":"^1.1.11","balanced-match":"^1.0.2","binary-extensions":"^2.2.0","braces":"^3.0.2","browser-stdout":"^1.3.1","camelcase":"^6.3.0","chalk":"^4.1.2","cliui":"^7.0.4","chokidar":"^3.5.3","concat-map":"^0.0.1","check-error":"^1.0.2","debug":"^4.3.3","color-convert":"^2.0.1","color-name":"^1.1.4","decamelize":"^4.0.0","deep-eql":"^3.0.1","emoji-regex":"^8.0.0","escalade":"^3.1.1","escape-string-regexp":"^4.0.0","fill-range":"^7.0.1","fs.realpath":"^1.0.0","diff":"^5.0.0","find-up":"^5.0.0","get-caller-file":"^2.0.5","glob-parent":"^5.1.2","flat":"^5.0.2","get-func-name":"^2.0.0","has-flag":"^4.0.0","fsevents":"^2.3.2","growl":"^1.10.5","inflight":"^1.0.6","glob":"^7.2.0","he":"^1.2.0","is-binary-path":"^2.1.0","is-fullwidth-code-point":"^3.0.0","is-number":"^7.0.0","is-extglob":"^2.1.1","is-glob":"^4.0.3","inherits":"^2.0.4","isexe":"^2.0.0","is-plain-obj":"^2.1.0","is-unicode-supported":"^0.1.0","js-yaml":"^4.1.0","loupe":"^2.3.4","minimatch":"^4.2.1","locate-path":"^6.0.0","normalize-path":"^3.0.0","log-symbols":"^4.1.0","nanoid":"^3.3.1","once":"^1.4.0","p-limit":"^3.1.0","p-locate":"^5.0.0","path-exists":"^4.0.0","ms":"^2.1.3","path-is-absolute":"^1.0.1","randombytes":"^2.1.0","require-directory":"^2.1.1","picomatch":"^2.3.1","pathval":"^1.1.1","serialize-javascript":"^6.0.0","string-width":"^4.2.3","readdirp":"^3.6.0","strip-ansi":"^6.0.1","safe-buffer":"^5.2.1","wrap-ansi":"^7.0.0","strip-json-comments":"^3.1.1","supports-color":"^8.1.1","wrappy":"^1.0.2","which":"^2.0.2","type-detect":"^4.0.8","workerpool":"^6.2.0","y18n":"^5.0.8","to-regex-range":"^5.0.1","yargs-parser":"^20.2.4","yargs-unparser":"^2.0.0","yocto-queue":"^0.1.0","yargs":"^16.2.0"},"gitHead":"c89d0ae6b3602be3ec3f38fab78db6bf5403e483","_id":"@aidanantony/lotide@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-tLZjAalGx5KYRs6PRPrKvh2ZT8Eeu+MRtkNZlFDHgGrssZvS3/eph7jv9q9ZpPDDu5uWJRM75jI82/FCU0CYxw==","shasum":"694008b53240758ffd9acf0721d1139730e1fe1f","tarball":"https://registry.npmjs.org/@aidanantony/lotide/-/lotide-1.0.1.tgz","fileCount":26,"unpackedSize":20071,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL1t7IlyEhkqYnHgzQkiY8UqRMOhXVM8kZzPzqOTXMZgIgATcqJ0kr8p4uHGZDq3/TXYzcZii1kE3PFnOObdXp9Yo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXZVJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJpQ//ead8fw19RNZQTgUB+9IytmSKyoA6GSDPFoeJiOMYvj8lLVKG\r\n6NUnLaQvQPFoy+Q5StJXEqXYBCX99PUfvwjq7D3rPztsQvxyAv1IofgZAAXv\r\nVrrdJHOBGD5UU/Gcy6/QQFqR7cZ0QHXImvWQpfUuq9KOjZyTpqq1lhDVHDbY\r\ncceLPP3R/M/GJlLpA68trYL/6phmaf0SzNylThSONfRUNhfdJDvpvZtbM+2R\r\n6VsYmMaKH5U6PAwG0cygY0MEXuM45Zu4z1057LvTMFnKvUkqpZixA/0XBu1+\r\n1pu54FqvXMGOnwHLzit61OPng4uerij+6QfQuKfCORYZoZqO0Ei0zmTHr6xb\r\nobaXPxyifw/afYXb5BB3ZX3eWYhuisyp8BR/t+Uo1kJC0DkVAhg7GaRu6Up9\r\nAL+6L7WRyJYxaMOILWqOGIEin8C+QjNI63BdExfDXLVHY6DzWqbr5Rc7nTo/\r\nC3G/yQG51bPP1w9cuLiz/vr+EES/x9rnbtw5XC1BhsV1HFyGn0c9IagBJWC6\r\nZmYILn6/wjeO3HA4p6Q2xexRKoayjP2jzMkQ33fHRPCBlvccd6dDcqOqibHG\r\nb/ywV5wyAiavFECloRHjoaGT4C6FXsCCz0PR1xprO17pbv/fDe9tcrFsGqOW\r\n7SuKIvn4/Q7orn5IC65PLpkiJ1x9Eo9aTLE=\r\n=/TJg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aidanantony","email":"aidanantony65@gmail.com"},"maintainers":[{"name":"aidanantony","email":"aidanantony65@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1650300233047_0.13713404236401416"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-18T04:07:50.295Z","1.0.0":"2022-04-18T04:07:50.549Z","modified":"2022-04-18T16:43:53.273Z","1.0.1":"2022-04-18T16:43:53.201Z"},"maintainers":[{"name":"aidanantony","email":"aidanantony65@gmail.com"}],"description":"My Lotide library. This project is like a mini version of Lodash.","homepage":"https://github.com/aidanantony/lotide#readme","repository":{"type":"git","url":"git+https://github.com/aidanantony/lotide.git"},"bugs":{"url":"https://github.com/aidanantony/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 @aidanantony/lotide`\n\n**Require it:**\n\n`const _ = require('@aidanantony/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(head)`: This function returns the first element in an array.\n* `function2(tail)`: This function returns everything but the first element in an array.\n* `function3(middle)`: This function returns the middle most element in an array. Returns one element for odd numbered arrays and two middle elements for even numbered arrays.\n* `function4(flatten)`: This function returns a flattened array after being given an array with nested arrays. \n* `function5(map)`: This function takes in a callback function and an array. It returns a new array that has values that have been changed by the callback function.\n* `function6(without)`: This function takes in two arrays. It returns an array that only contains values that are present in the first array but are not present in the second array.\n* `function7(eqArrays)`: This function takes in two arrays and checks whether or not they are equal and returns a boolean. True if they are equal and false if they are not equal.\n* `function8(assertEqual)`: This function takes in two values and checks whether they are equal. Returns the boolean true if they are equal and returns false if they are not equal. \n* `function9(assertArraysEqual)`: This function checks if two arrays are equal and will console.log a message indicating whether or not they are equal or not. \n* `function10(eqObjects)`: This function checks whether or not two objects are equal.\n* `function11(assertObjectsEqual)`: This function checks whether two objects are equal and will console.log a message to indicate whether or not it is. \n* `function12(countLetters)`: This function takes in a sentence and returns an object that shows the letters as keys and the values of the keys as the number of times that the letter appeared in the sentence. \n* `function13(countOnly)`: The function will take in two parameters. One that is a set of items, the second parameter will be which of those items to count. It will then return just the items specified to count.\n* `function14(findKeyByValue)`: The function takes in an object parameter and a value and then returns the key that corresponds to that value in the object.\n* `function15(findKey)`: The function takes in a callback and and object. It returns the first key where the callback function evaluates to true. \n* `function16(letterPositions)`: The function returns all the index numbers of the letters in a string. \n* `function17(takeUntil)`: The function takes in an array and a callback function as parameters. It then returns a sliced array to us. The slice is based on the value returned by the callback function.","readmeFilename":"README.md","author":{"name":"Aidan Antony","email":"aidanantony65@gmail.com","url":"https://github.com/aidanantony/lotide"}}