{"_id":"@c22quiambao/lotide","name":"@c22quiambao/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@c22quiambao/lotide","version":"1.0.0","description":"Lotide project for LHL","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/c22quiambao/lotide.git"},"keywords":[],"author":{"name":"Christel Quiambao"},"license":"ISC","bugs":{"url":"https://github.com/c22quiambao/lotide/issues"},"homepage":"https://github.com/c22quiambao/lotide#readme","devDependencies":{"chai":"^4.3.10","mocha":"^9.2.2"},"gitHead":"d4bb743c8c1a89889f39cdb9357ea394de9ba7fd","_id":"@c22quiambao/lotide@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-F97yHnhJQ5R5kZOwejXj0vDMvfVdZGSOzkPBc4mnHq/9G0//QFL6juACfu2GHgrP5rhFuYU/IeZQwIc8IiJW1A==","shasum":"350addb4929033dcc183dd01bc595f9eec10437b","tarball":"https://registry.npmjs.org/@c22quiambao/lotide/-/lotide-1.0.0.tgz","fileCount":25,"unpackedSize":26795,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICEe9VXDFqqAg4qv3YTd+KKUON7OSCruBD7GXIeKT0bbAiBij0jaOplNj2uZ3PTcm51euYvJYnpjQFp41hH3lNAJAw=="}]},"_npmUser":{"name":"c22quiambao","email":"christelquiambao@gmail.com"},"maintainers":[{"name":"c22quiambao","email":"christelquiambao@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1700645835158_0.7294035779555144"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-22T09:37:15.060Z","1.0.0":"2023-11-22T09:37:15.364Z","modified":"2023-11-22T09:37:15.606Z"},"maintainers":[{"name":"c22quiambao","email":"christelquiambao@gmail.com"}],"description":"Lotide project for LHL","homepage":"https://github.com/c22quiambao/lotide#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/c22quiambao/lotide.git"},"author":{"name":"Christel Quiambao"},"bugs":{"url":"https://github.com/c22quiambao/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 @c22quiambao/lotide`\n\n**Require it:**\n\n`const _ = require('@username/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(...)`: retrieve the head of an array\n* `tail(...)`: retrieve the tail of the array\n* `middle(...)`:  retrieve the middle of an array\n* `assertArrayEqual(...)`:  assertion to check if arrays supplied are equal\n* `assertEqual(...)`:  assertion to check if supplied expected value actual value are equal\n* `assertObjectsEqual(...)`:  assertion to check if objects supplied are equal\n* `countLetters(...)`: counts the number of occurences a letter appears on a string\n* `countOnly(...)`: Counts elements from an array based from an object\n* `eqArrays(...)`: validates if given arrays are equal\n* `eqObjects(...)`: validates if given objects are equal\n* `findKey(...)`: finds the  object key with the highest key value\n* `findKeyByValue(...)`: finds the  object key given a value element\n* `letterPositions(...)`: retrieves the index/indexes of a letter in string\n* `map(...)`: creates a new array based from another array by mapping taking only a part of each array element\n* `takeUntil(...)`: Stop collecting items from an array when the callback returns a truthy value\n* `without(...)`: removes items on an array  based from another array","readmeFilename":"README.md"}