{"_id":"@ekeneezeeani/lotide","name":"@ekeneezeeani/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ekeneezeeani/lotide","version":"1.0.0","description":"This is library that performs some basic operations on arrays and string","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ekeneezeeani/lotide.git"},"author":{"name":"Ekene Ezeani"},"license":"ISC","bugs":{"url":"https://github.com/ekeneezeeani/lotide/issues"},"homepage":"https://github.com/ekeneezeeani/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"37823f3e17d092302e50a99e5c17e24d43463820","_id":"@ekeneezeeani/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-lBxORlFQ6PvhoD2IMwDhpyDI4dhSv1rFsup8pw5mVjldbPj1kPZWAvEvUVvQ1/kp0KCR0KTQMAuOmTEAEYjG1Q==","shasum":"1141f28023c35f16b4f571af0b5c8d8cf51c629f","tarball":"https://registry.npmjs.org/@ekeneezeeani/lotide/-/lotide-1.0.0.tgz","fileCount":29,"unpackedSize":20067,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJYKHPODbZg9WL8MOGcxWyVzy1KoRLdiELMnHGtVw7PQIgY/3FJeZBXA7s6ck4QyprTJUaZwg6wGQ0Ncrkgnz2qbM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDlFHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqx0Q/+IbvE4UooJPQ6+OikLlp1kOMGVYf+tSe1u63eudGGdCG80qGy\r\nUQ9y1dI6DesQwF89+riguTAlOATdhreclYQcOn5TdIzN7Qxm8LHT07V03O/w\r\nyEIrGsm20VED1Z4fMTwdVXDELDPBQ8xdFX4t0OhQXR+XpzwlmRWnFPy3JhjG\r\nf69LfhpEdMqr5NtY111kQP0j2GQ1OB6yafRKUC+LcRLge4Uv5XiA4NEGUdht\r\nM+jdulY4CybKhyHWZxseJbAXiwIEZlN+5/YODlaxZN8K2ev6K+iyZX33gbPf\r\nHzmRrz1fwsZTty7Smzase97uwlmajjppxg4ikCfjiPJnyLdc5YjF1iXKc7JI\r\nygP61TERIP1pW8E8js8dJInn7GTxQWk4TQP3YqOo5rE0rTcJdksVVsqskaHL\r\nzOuQfgC+z87bznV62Jhp3ARhFRxejnEfa3ZHMTwKc5ScULW+abWseQi6O1x9\r\nZuzQ19fhSTAlSy8WriqrFVDds/2/cX3hu95aAksVUGKnxdRXhl2QtSUgEprc\r\n+BTj7wV9bOjSLJyQ862iGxod+Sqx8YrxE3pZn93M5AOYNYiyk6kHuUVdTpD7\r\neqJFQ4lFuZv1Bc/QoJF500/Pms5AVkBq5Q3OWLR6ZDCZk6FAXk0fnXzv8Qrc\r\nH625J0T+Exo6fl3Oz4Y/q0dFtD8qWJSWwPY=\r\n=wfSW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ekeneezeeani","email":"ekeneezeani@gmail.com"},"maintainers":[{"name":"ekeneezeeani","email":"ekeneezeani@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1661882695692_0.4780682997036483"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-30T18:04:55.629Z","1.0.0":"2022-08-30T18:04:55.927Z","modified":"2022-08-30T18:04:56.054Z"},"maintainers":[{"name":"ekeneezeeani","email":"ekeneezeani@gmail.com"}],"description":"This is library that performs some basic operations on arrays and string","homepage":"https://github.com/ekeneezeeani/lotide#readme","repository":{"type":"git","url":"git+https://github.com/ekeneezeeani/lotide.git"},"author":{"name":"Ekene Ezeani"},"bugs":{"url":"https://github.com/ekeneezeeani/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 @ekeneezeeani/lotide`\n\n**Require it:**\n\n`const _ = require('@ekeneezeeani/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* `tail (...)`: It return an array, removing the first  element\n* `middle(...)` : It returns the middle element(s) in an array\n* `eqArrays(...)`: It checks if two arrays are equal\n* `findKey(...)` : It finds an object by its key\n* `findKeyByValue(...)` : it returns an object key when given the value\n* `flatten (...)`: it flattens a nested array\n* `takeUntil(...)` : It takes from an array untill a condition is met\n* `assertArraysEqual(...)` : asserts the two arrays are equal\n* `letterPositions(...)` : returns the position of a letter in a word or sentence\n* `countOnly(...)` : \n* `countLetters(...)` : counts the number of individual letters in a word or sentence\n* `map(...)` :Returns a custom modified array\n* `eqObjects(...)` :check if two objects are thesame\n* `reverse(...)` : Reverses a string\n* `pigLatin(...)` : returns a pig latin\n* `head (...)`: Retuens only the first element of an array.","readmeFilename":"README.md"}