{"_id":"@elicolussi/lotide","name":"@elicolussi/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@elicolussi/lotide","version":"1.0.0","description":"a mini clone of the popular lodash library","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/eliColussi/lotide.git"},"author":{"name":"eli colussi"},"license":"ISC","bugs":{"url":"https://github.com/eliColussi/lotide/issues"},"homepage":"https://github.com/eliColussi/lotide#readme","devDependencies":{"chai":"^4.3.7","mocha":"^9.2.2"},"gitHead":"1e10a77acdf79e6d4617d284333b6d3b50ae07c3","_id":"@elicolussi/lotide@1.0.0","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-1GoBc8X5+aMh6YFfTHP57HuBgCCzlHjb6MoZCs//QpwR4WHHcOlOnu1un2ts6dQM5+L9lGNJXb1rCkV5CDam7A==","shasum":"6178fe27838bc6ad6a6e513db17f328a5dfc57fe","tarball":"https://registry.npmjs.org/@elicolussi/lotide/-/lotide-1.0.0.tgz","fileCount":28,"unpackedSize":18353,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeWQ6lkVHR+RDEBvDzMVshbrP3BiHTbuLyHoSOFJueNwIgdoxPvGFz8tv++guO6lkYabsMfW9DlE0ql4Vt9nd9Mpk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjknhqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlAw/9GxnIRqEDUhy5wIxx9YNfj0Faf1pvFZa/dfE26VlYWewBUmHd\r\nknMSAZkyOwnjljML3uWYWUXxIllOZOWoV+az8JcMABOWqWaS6eXFEmQjXKdt\r\nKRvjZd0XYHQq8C6i6YXmI0+bIrfIKLo6aqWzFzvWTxaAevdX4BxP2kIRt3wZ\r\nanL70pVaCbmeLNyiunxORNOQUAqQ2ctTch99L5/h8iYKuia98mKQIcGaroge\r\nhdynSw1BqigM/pIfrU9EWClcrXRIVDEkU09Ir6hmef3qhj4DRNI8rbzQN+mG\r\nYj/9/cvvA/YVfTBlAlY7WBMFksED+VB9Yk33MhB9mLbVyX5/wodZ7yAW+xFv\r\nV9D3VRba120Xcjca/FJG9eKFamGVGkj7LO62N3+CPWyhNHAzancjFTVWJf8o\r\nd9b4lB8s+toW1gJF6p2Ul0HEyyf9dDMfzeHkOqLIwa2wCfgmno/gOF/Ydkfa\r\nyQapYxZUGRuPPQMre5m6PkfG90uq2dJjtQJU4yiM0+JX7+19UQrvNaGOZQ2H\r\n2s4qTPaj/aFDPoUCgjwuF51DXoJ12kd8knVhOKXAMtd2svx8dZdS0FJy2VGU\r\ndVDanauCnP4zQRgL8iTI2aO0By7Qo0+0BG41Jj3iXSyKkWVzOPrlIzqRiyK2\r\nRVy1i2gUA7qSpu592oFwo+3jbSxmeqmIFX4=\r\n=P92Z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"elicolussi","email":"eliaocolussi@gmail.com"},"maintainers":[{"name":"elicolussi","email":"eliaocolussi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1670543466619_0.47500690674627344"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-08T23:51:06.561Z","1.0.0":"2022-12-08T23:51:06.813Z","modified":"2022-12-08T23:51:06.994Z"},"maintainers":[{"name":"elicolussi","email":"eliaocolussi@gmail.com"}],"description":"a mini clone of the popular lodash library","homepage":"https://github.com/eliColussi/lotide#readme","repository":{"type":"git","url":"git+https://github.com/eliColussi/lotide.git"},"author":{"name":"eli colussi"},"bugs":{"url":"https://github.com/eliColussi/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 @elicolussi/lotide`\n\n**Require it:**\n\n`const _ = require('@elicolussi/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(assertArraysEqual)`: checks if two arrays are equal\n- `function2(assertEqual)`: checks if two values are equal\n- `function3(assertObjectsEqual)`: checks if two objects are equal\n- `function4(countLetters)`: returns count of each letter in string\n- `function5(countOnly)`: takes input and returns a count of chosen items\n- `function6(eqArrays)`: compares two arrays returns bool\n- `function7(eqObjects)`: compares two objects returns bool\n- `function8(findKey)`: searches for a key chosen by the user that returns truthy\n- `function9(findKeyByValue)`: searches for key in object that matches given value\n- `function10(flatten)`: flattens array with nested arrays into a single array\n- `function11(head)`: retrieves the first element of an array\n- `function12(index)`: a list of all the functions stored in an object\n- `function13(letterPosition)`: returns indices of letters position in a given string\n- `function14(map)`: creates a new array with the results of calling a provided function on every element in the calling array\n- `function15(middle)`: returns middle element(s) of an array\n- `function16(tail)`: returns every element of array except the head (first element)\n- `function17(takeUntil)`: returns a slice of an array with elements taken from the beginning\n- `function18(without)`: removes elements from an array\n","readmeFilename":"README.md"}