{"_id":"@arcanecipher/lotide","name":"@arcanecipher/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@arcanecipher/lotide","version":"1.0.0","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"author":{"name":"arcanecipher"},"license":"ISC","description":"This project was created and published by me as part of my learnings at Lighthouse Labs.","devDependencies":{"chai":"^4.3.1","mocha":"^9.2.2"},"_id":"@arcanecipher/lotide@1.0.0","gitHead":"2ceb45b7f59cd9ac3bff96930af5ee820f63fb6b","_nodeVersion":"18.20.4","_npmVersion":"10.8.3","dist":{"integrity":"sha512-E6Oq3+XO7dHwIE4wnQOvsONSoiSoWsatLlWHaiAH3snSqTHYp/RJhSHUtYOR6VWUGQ/yce3Af2ga4AzFmC93PA==","shasum":"12f2e351dd4bc14f4e24c3b29ddb59747abee3f5","tarball":"https://registry.npmjs.org/@arcanecipher/lotide/-/lotide-1.0.0.tgz","fileCount":38,"unpackedSize":42905,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZukBMIcnqO3ACIRnwbdF2xnVTi/8N6dxvNBw1uEoB4gIgX1vpedRzKKl34DQsPgcqwpiPTtNrHxEAN53bOfbYYMY="}]},"_npmUser":{"name":"arcanecipher","email":"desjardins.jarp@gmail.com"},"maintainers":[{"name":"arcanecipher","email":"desjardins.jarp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1729377577410_0.030555472596137445"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-19T22:39:37.295Z","1.0.0":"2024-10-19T22:39:37.616Z","modified":"2024-10-19T22:39:37.918Z"},"maintainers":[{"name":"arcanecipher","email":"desjardins.jarp@gmail.com"}],"description":"This project was created and published by me as part of my learnings at Lighthouse Labs.","author":{"name":"arcanecipher"},"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 @arcanecipher/lotide`\n\n**Require it:**\n\n`const _ = require('@arcanecipher/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- `assertArraysEqual(...)`: Compares two arrays and returns true if they are equal, false otherwise\n- `assertEqual(...)`: Compares two values and returns true if they are strictly equal, false otherwise\n- `assertObjectsEqual(...)`: Logs a message to the console based on whether two objects are equal\n- `countLetters(...)`: Takes a string and returns an object containing the counts of each letter in the string\n- `countOnly(...)`: Counts specified items from an array, based on the itemsToCount object\n- `eqArrays(...)`: Compares two arrays for a perfect match (strict equality of elements and order)\n- `eqObjects(...)`: Compares two objects to check if they are equal\n- `findKey(...)`: Finds the first key in an object where the callback function returns true for the value\n- `findKeyByValue(...)`: Finds the first key in an object that matches the specified value\n- `flatten(...)`: Flattens a nested array into a single-level array\n- `head(...)`: Returns the first element of an array\n- `isObject(...)`: Evaluates a value to check if is strictly an object. Will exclude null, Arrays, and Functions as \"objects\"\n- `letterPositions(...)`: Returns an object where each key is a character from the input sentence\n- `map(...)`: Takes an array and a callback function, applies the callback to each item in the array, and returns a new array with the results\n- `middle(...)`: Returns the middle element(s) of an array\n- `tail(...)`: Returns the last element of an array\n- `takeUntil(...)`: Returns a slice of the array with elements taken from the beginning until the callback function returns a truthy value.\n- `without(...)`: Returns a new array that excludes specific unwanted elements from the source array\n","readmeFilename":"README.md"}