{"_id":"@amir23/lotide","_rev":"2-987d36f5fe3bf1d8a55e58b24a0cffb4","name":"@amir23/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@amir23/lotide","version":"1.0.0","description":"A mini clone of Lodash","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Amir-A-23/lotide.git"},"author":{"name":"Amir Ali"},"license":"ISC","bugs":{"url":"https://github.com/Amir-A-23/lotide/issues"},"homepage":"https://github.com/Amir-A-23/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"gitHead":"6eb18d267c518e289c50c1c435f9d8f141b4bfc1","_id":"@amir23/lotide@1.0.0","_nodeVersion":"12.22.2","_npmVersion":"6.14.13","dist":{"integrity":"sha512-nJuhnYON83V+q7nUo74OvRQK+uEruXGGluODSEPcpDtYrsOhJoip2I70OZETFZ4BHXzhZsmuXvapAzCEBO9ENw==","shasum":"a00a1198671f540a5cc8ee6ebc97b934ada1366a","tarball":"https://registry.npmjs.org/@amir23/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":18136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzFO1CRA9TVsSAnZWagAAZKgQAJbjqqBSOK8/b55Z4yyb\nQ5lIGJjjg5H6ex2PQX0NC4rJhVEfFagAL9wxwAvRec5sPEdMQXpktJFG7SBH\nuWkKmi6LAIoO9qYN/QurYh6oPmlj62S1VP3ibidP/qaVOKedrD0+x1Puj/n7\n2heHtNg6JB/fzziLnKZdd2+z9uXsg7SMMbaj2P7ED+hH0EOi5uQzsGTW07nF\nw4ZnWtMP87zyeVRdJibCkhRAcLSYDu2OWU7FOt5jbX5EFvobCsYbmWZi2K3s\nnQWkY/gQrhrKbRIInI10g5mjn2WdFgJp15N3WI1FFF5ze2mONSVvxoDVM8yM\nlBkN4pChI99e0xdStgoXzXatIFTRtNSfC5awhyNV36bETUa5Ox524Dw9n6G0\nY/oa2uCNhrgNoejq9oCNnpqLieQVyE+Iu6/vn6W/MLQfXKteksMv8dEsxL08\nncseBhhpCp+Ed6dqv1kRVO3wBeV4X7c0CixbpLs1JFw3DlTXBm0v/dxZuFco\nx2KNugyFFmGOhi5LpRNKFH9a21n4514eZ7mMZmnRpimvjNFnKA1Q4S6Uf2yp\nRZ0IxuAYGeilW/1G7/+J+3uta/EOqTxotHulu4CLAoMP+oVhCv3kQf1KhRMz\neEpR275+IxwMbrnGAKKdU0c6Ot0W/7cou6bvsFb/SfeoxWBLA0hiYwwZWN29\nQ5ro\r\n=OCUj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMolFY7AgSBgco8OPBp14ujcMO4WGcfcsK/17l8oswOQIhAMWP7xeF9Wu6MRaj1AS/lscqWxiIQcHkKxgpFYUAhT1F"}]},"_npmUser":{"name":"amir23","email":"amir.a.23@hotmail.com"},"maintainers":[{"name":"amir23","email":"amir.a.23@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1635837038225_0.46499207768902173"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-02T07:10:38.179Z","1.0.0":"2021-11-02T07:10:38.376Z","modified":"2022-04-04T13:49:29.186Z"},"maintainers":[{"name":"amir23","email":"amir.a.23@hotmail.com"}],"description":"A mini clone of Lodash","homepage":"https://github.com/Amir-A-23/lotide#readme","repository":{"type":"git","url":"git+https://github.com/Amir-A-23/lotide.git"},"author":{"name":"Amir Ali"},"bugs":{"url":"https://github.com/Amir-A-23/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 @amir23/lotide`\n\n**Require it:**\n\n`const _ = require('@amir23/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\nconst head   = require('./head');\nconst tail   = require('./tail');\nconst middle = require('./middle');\nconst assertEqual = require('./assertEqual');\nconst eqArrays = require('./eqArrays');\nconst assertArraysEqual = require('./assertArraysEqual');\n* `head(...)`: given an array, output first element of that array\n* `tail(...)`: given an array, output all elements after the first\n* `middle(...)`: given an array, output middle element(s)\n* `assertEqual(...)`: given two primitives, cheecks if thier values match\n* `eqArrays(...)`: iven two arrays, checks to see they match \n* `assertArraysEqual(...)`: assertion for testing eqArrays","readmeFilename":"README.md"}