{"_id":"@acronaut/lotide","_rev":"2-faf51e9be6ba464a0c13a2d4d107a88e","name":"@acronaut/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@acronaut/lotide","version":"1.0.0","description":"inspired based of Lodash library - Lotide library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/acronaut1/lotide.git"},"author":{"name":"acronaut1"},"license":"ISC","bugs":{"url":"https://github.com/acronaut1/lotide/issues"},"homepage":"https://github.com/acronaut1/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.3"},"dependencies":{"lotide":"^1.0.1"},"gitHead":"5443a0c083d23ca1bf13d172e9beacee302cdfef","_id":"@acronaut/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"8.1.1","dist":{"integrity":"sha512-VEkV50qKKRPp1lqdDS01IlQ0I2dF4V6nzCU6A4Kfc0kse5x0qWLkItOMXhsiJ1/wa4oiJWVnF7MCcxjyEjRJFQ==","shasum":"1683c3f82c0f022c365440db4c31d502fa71f3ee","tarball":"https://registry.npmjs.org/@acronaut/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":22046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyI+JCRA9TVsSAnZWagAABRYQAJ8eVuTQ0V8OtS26pEXZ\n6rUtb+ywFvP8YJ31dx9VbvCPoi5S/82Ng2MdvuE4tnzNVYtC+RImg2b0eaXs\nbPn5MSIg+wZCbFqS2z+2yY0/ajxy/GyS5VYyvn+WyUI4xYpLi7g6JDTpgqxn\nPUjd9Pf7oi7Q8/+Pgrno7oNkrF5qapDSpleevHj1BHTaaOagDpIPcozGh5jU\ny3BVEwonDMRZOME5hkZa9jzB+s326rCmuEwxM6NAzTR01nvce7mhtq+YvWkL\nTbgTOxIE17xZlqgIiMeCoxA5ts8UTmi/62fsh1XrG4Z30p+77kscAddTmiUj\nFnLp/8XOCGHZW8RxbzZPpNATtPy2Jtiee3UvHuc28V1w4/mLfQcn7Lg7ESiT\nRtIBp3DrLdYRjEDIjC7RBZa6h2gqbh3FAA18QU3PW92vqijYREey7HG5x3Oo\n4Eymq7w04LpMnOwcctP1a0WK1c+umEyLhLZRxmxiw2K5j7Lz8xmZfztIVY28\niBw3Ht2fvdeEvN64m1gd2sNgqS9v4xrPrhqlBEtHSCaT/0B0/hejSuAOvMR/\nMmdafxYxFsyC+sGMuHfr4rf+9N/QWvwKz7Kny0qKGoZl5t/q8FJ/KhxwEfvO\nyzRWyDrYqkNlGPSDU5iRFswcXbaGaB418qtbYARrgCSqqSKHitvNhXUOzjdW\nhiEn\r\n=ViMp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEOQL4mNd1Clvt6EkNjWWfq4EnIKF0FsswG972nq3MRgIhAJx84mEyQJE5t9Z9CfDXrHEyKE/b6MIsP4OSf5V3zlBe"}]},"_npmUser":{"name":"acronaut","email":"opruski@ryerson.ca"},"maintainers":[{"name":"acronaut","email":"opruski@ryerson.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1635999588536_0.8225480741992572"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-04T04:19:48.499Z","1.0.0":"2021-11-04T04:19:48.729Z","modified":"2022-04-04T11:16:23.224Z"},"maintainers":[{"name":"acronaut","email":"opruski@ryerson.ca"}],"description":"inspired based of Lodash library - Lotide library","homepage":"https://github.com/acronaut1/lotide#readme","repository":{"type":"git","url":"git+https://github.com/acronaut1/lotide.git"},"author":{"name":"acronaut1"},"bugs":{"url":"https://github.com/acronaut1/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 @acronaut/lotide`\n\n**Require it:**\n\n`const _ = require('@acronaut/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(arr)`: Gets the first element of array.\n* `tail(arr)`: Gets the last element of array.\n* `middle(arr)`: Get the middle element of array.\n\n* `assertArraysEqual(arr, arr)`: Assertion Equality between Arrays.\n* `assertEqual(str)`: Assertion Equality (String).\n* `assertObjectsEqual(obj, obj)`: Assertion Equality (Object).\n\n* `countLetters(str)`: Count of Letters from string.\n* `countOnly(arr, obj)`: Returns object from key/value iterative pairs.\n* `eqArrays(arr, arr)`: Equality-check through arrays.\n* `eqObjects(obj, obj)`: Equality-check through objects.\n* `findKey(obj, callback)`: Key search on object.\n* `findKeyByValue(key, str)`: Key search on object where its value matches given value.\n* `letterPositions(str)`: Return numeric-Indices of Character Positions.\n* `map(arr, callback)`: Return new array on results of callback function.\n* `takeUntil(arr, callback)`: Return slice of array with starting elements until truthy.\n* `without(arr, itm2rm)`: Expurgate unwanted values from array.\n\n\n","readmeFilename":"README.md"}