{"_id":"@benjaminjslee/lotide","_rev":"2-bcbda061db44664a5b416cad3854cb88","name":"@benjaminjslee/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@benjaminjslee/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/BenjaminJSLee/lotide.git"},"author":{"name":"Benjamin Lee"},"license":"ISC","bugs":{"url":"https://github.com/BenjaminJSLee/lotide/issues"},"homepage":"https://github.com/BenjaminJSLee/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.0"},"gitHead":"3d429164bc9d9843cdb7226e21e250e930349100","_id":"@benjaminjslee/lotide@1.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-iBnPjxDEfBqPjAESUvi+Ru6ly/GnJGr0zb5fWWBGqeGtyZKTD0lkUrOBcppSPG9hBYvoQCljG3MmULT+9338IA==","shasum":"990befa3db9c480a858a56e8229512e18188b2f1","tarball":"https://registry.npmjs.org/@benjaminjslee/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":20635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoIY2CRA9TVsSAnZWagAACOcQAIprZG+SNWeM5qgn5rOe\n7bQkX1k60F2X5l6436c83zek/QaWSmNka0YhLQAMkGBCYAWJEfQJMk/cD85q\n4KXovkUO0oZen/Uickzy3LYrQ//FHlHHYV1HedM47zsoGM5mljbP26Sdy9kY\nepmd5SBTKalFrg0pI/anQfyks4rTlRDzSFIHaQyIMWAOk4fvM2Rok9cCImBt\nSGKlYtleIbkF32kouTQY1RRs8hKm37Xv8l1vfFmlxaNdJD7yaIntL57RxoVZ\nR82JEeRnP4tpFLU7/Rhm0f7MoN1Ye0sEAoaazp+PIdHeD8JUweL4BQSd8ksQ\nDBb5dVIpslHH/9Mx+MVp41eIiKmmjexp10NFHPb7Oly4yTsr7jSPLRA3lF78\n+gem9m529PkO/mbLEiwLkt14B279DfZkItTY5rvyfZc68dz6sOAGRY9yQKCg\nFyCZcO4MAJ62D99pXVDS+a00Wrms74SETsaW809hmvpv9bOvrREPsQ/i59Aa\npZNRwgeUCKvFhDjES/cAni7oIvZlHGk2TlyCyrMEGRMBP/mBIRrTbKbj80dI\nJ1XBMJqaiCzpB6YR5JkWQ9U8rSGGClFMchhyworfshVHyKz8SY2LS/G9eX2F\nhtyDlcwuyiyRNfqE7VEqyhDgHCRoKsnSwnkuSfTx8KtFbbXJHbMaixLSF2xs\nbYG7\r\n=oZuS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4FEWL8daVKwDonj7bhso7QBz+pfZhu/5GTqLs1P6smAiEAy77Tm8d2gNLh6FDN4znTWPZVicP7FCqNIC5RWcpHlRk="}]},"maintainers":[{"name":"benjaminjslee","email":"benjaminjslee@gmail.com"}],"_npmUser":{"name":"benjaminjslee","email":"benjaminjslee@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1604355638567_0.021039126979317757"},"_hasShrinkwrap":false},"1.0.1":{"name":"@benjaminjslee/lotide","version":"1.0.1","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/BenjaminJSLee/lotide.git"},"author":{"name":"Benjamin Lee"},"license":"ISC","bugs":{"url":"https://github.com/BenjaminJSLee/lotide/issues"},"homepage":"https://github.com/BenjaminJSLee/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.2.0"},"gitHead":"501d191e8dfe5ab6025537471eb31113620fbb25","_id":"@benjaminjslee/lotide@1.0.1","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-hGvuBp18nG1XFECEuGuSb6nKL1tlIiOLBSz6EfPGpm9AK6JfAz3r7JT2szSW4j8cpu8sNLXwlM8llP+cEUy4uQ==","shasum":"46c5f92512370d78065ccfb5e589af4a5cca7a5d","tarball":"https://registry.npmjs.org/@benjaminjslee/lotide/-/lotide-1.0.1.tgz","fileCount":31,"unpackedSize":25486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoKocCRA9TVsSAnZWagAA65EP/316TMPc/vuG4KjeiNFQ\ntDqon9/6vXENsdDEa3Mdq555Kx/xTM1n3ov1KfHGIF2NkpjuJ85p8PcWSgK+\n/MqGl+t/+XWdVsyF6eEeCRL2nZX07MzQjHzJyZo0va3+/3gmqGn+C0GZE9Z4\njregGk/IUyTwTVPbBiBnijtnbduZurc/4cExX7IpytzXLBGq15NGlI4tb4rG\nOtXCxj9/91P/5+3a7DZaynAMczya3H4gxtURkK/OgaOH55j/h55mD4lr8zBm\ngSoOoDvJe/l7PZfG3PMqfP/gDHq15PfYLSSDJezufIFtcKhy0QcMlpn9f/C0\njXcBbLVq9gDOhmnDvU5JZd37eqaUewYPc1VDteObXi5mHH23J221ggSUWrnT\nSkDvu1b/BrfcoB3T6SAp0vwMrlp6qOp/3M+RKWimu6P88Kxc3M8wUT0vqQ8n\n8AK6jxoYwyAmfmxECYVyXlVOTPRddmsoqwwl+lw0GYklXywZ2SSSuoOBwdzO\nDcbd970Qch6EuMULSwtyeF2dLKUFAHD5NdM4/1Z24M9IvpYlIxqlo1U7OLO+\n90H/jV42tnPCp/6J9Je99eoudvTHQ99ASscyk73gT6bvKYfsBuJD1mdB5fvd\nqw7i08F+8NbouXH70nXgloA+KhRYt7sDNvWaZwIW0gE8VzTHRPytYUtOQJVc\n7mtU\r\n=xQK3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAlm3h3upgh9S3lbw9ok7X0kISGpac0YEGLb13inzSQeAiEAszuwnC9v7miV085kvJct9ND0oihenZIATp8od/2LnKM="}]},"maintainers":[{"name":"benjaminjslee","email":"benjaminjslee@gmail.com"}],"_npmUser":{"name":"benjaminjslee","email":"benjaminjslee@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1604364827851_0.8653881448708771"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-02T22:20:38.532Z","1.0.0":"2020-11-02T22:20:38.664Z","modified":"2022-04-04T18:22:50.155Z","1.0.1":"2020-11-03T00:53:48.089Z"},"maintainers":[{"name":"benjaminjslee","email":"benjaminjslee@gmail.com"}],"description":"A mini clone of the Lodash library.","homepage":"https://github.com/BenjaminJSLee/lotide#readme","repository":{"type":"git","url":"git+https://github.com/BenjaminJSLee/lotide.git"},"author":{"name":"Benjamin Lee"},"bugs":{"url":"https://github.com/BenjaminJSLee/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 Benjamin Lee as part of my learnings at Lighthouse Labs. \n\n## Usage\n\n**Install it:**\n\n`npm install @benjaminjslee/lotide`\n\n**Require it:**\n\n`const _ = require('@benjaminjslee/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(arr1, arr2)`: creates a verbose message to console explaining whether or not the two inputted arrays are equal. \n* `assertEqual(val1, val2)`: creates a verbose message to console explainging whether or not the two inputted values are equal.\n* `eqArrays(arr1, arr2)`: returns a boolean; true if the arrays are equal, false if they are not.\n* `head(arr)`: returns the first value of an array, or an empty array if there are no values.\n* `tail(arr)`: returns every value but the first value of an array, or an empty array if there are no values beyond the first value.\n* `middle(arr)`: returns an array containing the middle value(s) of an array (two if even number of values, single if odd). Will return an empty array if the array is equal to or smaller than two elements.","readmeFilename":"README.md"}