{"_id":"@adamhart/lotide","_rev":"1-ee949daa2c89e94fef3e3def482cfb7e","name":"@adamhart/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@adamhart/lotide","version":"1.0.0","description":"Educational tool I made to learn how to create my own javascript library.","main":"assertEqual.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/AdamHHart/Lotide.git"},"author":{"name":"Adam Hart"},"email":"adamhayhart@gmail.com","license":"ISC","bugs":{"url":"https://github.com/AdamHHart/Lotide/issues"},"homepage":"https://github.com/AdamHHart/Lotide#readme","devDependencies":{"chai":"^4.3.3","eslint":"^7.21.0","mocha":"^8.3.1"},"gitHead":"22e1edee032ca0f3cbf44c5585690ecd1b9648f4","_id":"@adamhart/lotide@1.0.0","_nodeVersion":"15.10.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-b15jkhNw3Qdi+YlVlhr7AsQ8QlmbH9nXAWBDyhsq+WJdYjBC7bHZTU3GvwPCD4zxVQbHo/U4EKh2Oacw2w2uSg==","shasum":"c53a6431806be37374db83abaecb162d5d90e9e6","tarball":"https://registry.npmjs.org/@adamhart/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":23825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRrS0CRA9TVsSAnZWagAAMTsP/iGBS5WEqAguXw+nc26W\nTAvUvkekh59+cQ/K/SO/f9M1YmkCJ5dhux6ZFtIqG1uywUTZSN15bJ7598JR\nFDBS+wLCq89PZ8XRH0sZHtwe7Kf0PN8p81f04OZ7bEbuZdKYH/9T7icVOyoQ\nDRuZb3N+FxNmzYozKZPp6+DfenfIwMGCcMcH78upP4UKN6u+Z2aQD3ofofUP\nRjwM3PPxFYkUIcGSz7oeFmJSxzFxaUdg3TJ78DcuV7Wy+8RlhHFaCSdPuFlD\n3B3NxB+JW7/75KJpsj8KyLPzFcS9KGI2uMeSVJEuKoO51n6jiCb7IXgnts8L\nZZTpJ1f7ttL5MGmGvrLscX2kgvO3q4Gw65RXcXGerUlfGaHG9+5KeAI1YXjH\nwbDBeqSe3xDxT+7uQJMyo7n85olr9Z1j62e6jhc/xNrQg01bwRG2rBQfbwa8\nmtG2jOg6bowhU2nac5w9fLnzSfq6/qh8B18AUF6m8geCUd8d8DNtnYWPph7U\nTEQBkyIKGUnV3C9wo+zwATqbPMXcP6gvphtqFtfnXaU3VXl6yr3Al3q+KBY/\nRcgh/GVIvs5NGs5as0eXqzaIkx8Ir0W1mXVzwE7p3yFeZN8QX9P/w3yDSKdK\ny/7KlR8YOMaskM7rtf36kWPqZ/7OPZLL9Y/BusdyC00rpDkIGJ203zVG3PJ4\nrVBj\r\n=5zYX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGf1O27xGUeipiQgAVAuUt4yrRd8pQTbjDcwTq6irefoAiEA2HDlu/8G609tQ0ZzvRRdqfUPl2SFr9TFapJT0ctg3kg="}]},"_npmUser":{"name":"adamhart","email":"adamhayhart@gmail.com"},"directories":{},"maintainers":[{"name":"adamhart","email":"adamhayhart@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1615246515631_0.6348687739320862"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-08T23:35:15.589Z","1.0.0":"2021-03-08T23:35:15.805Z","modified":"2022-04-04T11:25:15.653Z"},"maintainers":[{"name":"adamhart","email":"adamhayhart@gmail.com"}],"description":"Educational tool I made to learn how to create my own javascript library.","homepage":"https://github.com/AdamHHart/Lotide#readme","repository":{"type":"git","url":"git+https://github.com/AdamHHart/Lotide.git"},"author":{"name":"Adam Hart"},"bugs":{"url":"https://github.com/AdamHHart/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 @adamhart/lotide`\n\n**Require it:**\n\n`const _ = require('@adamhart/lotide');`\n\n**Call it:**\n\nCall functions using this notation:\n\n`const results = _.tail([1, 2, 3]) // => [2, 3]`\n\n## Documentation\n\nThe following functions are currently implemented:\n\n*  `head(arr)`: returns the first index of an array\n*  `tail(arr)`: returns everything following the first index of an array\n*  `middle(arr)`: returns the middle 1 or 2 indexes of an array\n*  `without(source, itemsToRemove)`: removes items from an array\n*  `takeUntil(array, callback)`: recreates array until specified input is reached\n*  `ourMap(array, callbackFunction)`: returns an array of the same length as the input\n*  `letterPositions(string)`: returns the index of a string\n*  `findKeyByValue(searchObject, keyValue)`: finds object key by it's corresponding value\n*  `findKey(object, callback)`: finds key in object\n*  `eqObjects(object1, object2)`: tests object equality\n*  `eqArrays(arr1, arr2)`: tests array equality\n*  `countOnly(allItems, itemsToCount)`: counts only desired elements of an array\n*  `countLetters(string)`: returns an object of letter quantity\n*  `assertObjectsEqual(obj1, obj2)`: tests object equality\n*  `assertEqual(actual, expected)`: tests equality of primitive variables\n*  `assertArraysEqual(arr1, arr2)`: tests array equality\n\n","readmeFilename":"README.md"}