{"_id":"@asmxali/lotide_","_rev":"1-8c34bc9c3456a8d75ecac95e1ca31c35","name":"@asmxali/lotide_","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asmxali/lotide_","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/asmxali/lotide.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/asmxali/lotide/issues"},"contributors":[{"name":"@asmxali"},{"name":"@dav_he123"}],"homepage":"https://github.com/asmxali/lotide#readme","gitHead":"3da2eeb7c52417d8411e8c166f93a368e901769a","_id":"@asmxali/lotide_@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"asmxali","email":"amino.asmaa.ali@gmail.com"},"dist":{"integrity":"sha512-G536BEbYQlF30LEHZP1GjiL/hNLt28kXFZ+dzqtyscNX3HJrGi4VkPwDmqZRNmXLi6bd3j+4vpwGlaCFWi8GZg==","shasum":"50062e6d2c45a2c0def048cb4f3a854589461e9d","tarball":"https://registry.npmjs.org/@asmxali/lotide_/-/lotide_-1.0.0.tgz","fileCount":26,"unpackedSize":18475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQdAHCRA9TVsSAnZWagAAL1AP/A9k1lM+Zsh09KZigzTp\nxEPoIlBnVciN5n6yCzpGJ9nlOszO+wZqi+3kbUZyTGQI4mGqWp+zKGL4kIg/\nIOuN0kTBqaj7f+CFx2Bn+R2UCXzLzLnwCvR4mCJAO9FlsyRFROqzwdHBNyWR\nMGjFBWn05/KASD7U+s0o8D9ykCcBqhouOnttLTzktdeWdqdO3+c+JezUpL/w\nGzIDgKhJlc0owTcHms5MT74tL0/NEC/w6g0WLVnE4tmICnlAi1EJAtEG94mk\npM4W2DIG7yhPeP+9jQ6W3mMjJ0Ml996andqPnkaG4+zAo/yE+V17aqLG6EEO\n5foTxPz7HKkqkMZWgPVMLPKTSzVudNpEzPrg/BL4fKgIVFlGBwWjzVJ4C6aR\nj0hYpeN1PdokTBhRBiLt7xtWMLnpBL6dX8WbFR8eh1Or5IhO7a4PvVj6k5By\n91wGHI4x0OKacG1njV9NOBuxmDdnkSNCMH2+ELjE3wPMRuAtNyTyTnMRyRJl\nF51GOEFPM+/4G9M1QiJs41ZaRDHiYmb5PZrUUyrTaqX6Gb3iKaZKqw67P5Iz\nROeKR1A7UM80fbthjxyWD2y2xaTSQ7UyCR5IRqEOFipc3qMIE+GKJplJx9I5\n2oA5AiMtH8Td0h0D+D6Y11GUubGMjJUADXGvfL5TqiAVr2AFRlylGBYs4eW5\nQDS9\r\n=vSOn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICAuyiJ+yJM2KDeo6rkvLAEGU6kYUhsL6fooCJJ0FuFkAiAkGPXjFnUSbn4NeF1IOj4hzRAWn1G18n3twFLqf1VvkQ=="}]},"maintainers":[{"name":"asmxali","email":"amino.asmaa.ali@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide__1.0.0_1581371399122_0.5313252908327009"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-10T21:49:59.091Z","1.0.0":"2020-02-10T21:49:59.255Z","modified":"2022-04-04T15:47:59.557Z"},"maintainers":[{"name":"asmxali","email":"amino.asmaa.ali@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/asmxali/lotide#readme","repository":{"type":"git","url":"git+https://github.com/asmxali/lotide.git"},"contributors":[{"name":"@asmxali"},{"name":"@dav_he123"}],"bugs":{"url":"https://github.com/asmxali/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 @asmxali/lotide`\n\n**Require it:**\n\n`const _ = require('@asmxali/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* head : obtains an array and returns the first value in the array\n* tail : obtains an array and returns the last value in the array\n* middle : obtains an array, then sorts it and returns the values located in the middle, if an even number of elements is present it will return the middle\n* assertArraysEqual : obtains and compares two arrays and returns true if the same\n* assertEqual : obtains and compares 2 values and returns true if the same, it is a test case\n* assertObjectEquals : obtains and compares 2 objects and returns true if the same, it is a test case\n* countLetters : obtains a string and counts the number of times each letter occurs\n* countOnly : obtains a value and an array, then returns the number of times the value occurs\n* eqArrays : obtains two arrays are given, it compares them and returns true if both arrays are the same\n* eqObjects : obtains an array, then sorts it and returns the values in it\n","readmeFilename":"README.md"}