{"_id":"@alisav_7/lotide","name":"@alisav_7/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alisav_7/lotide","version":"1.0.0","description":"Useful methods for javascript","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/vorotyna/lotide.git"},"author":{"name":"Alisa Vorotyntseva"},"license":"ISC","bugs":{"url":"https://github.com/vorotyna/lotide/issues"},"homepage":"https://github.com/vorotyna/lotide#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"408f4ac089c0c4af9e93d1d0cce5e26c655c8c5b","_id":"@alisav_7/lotide@1.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-nqpz0U+P5y9gm3UydEChhlgNl8OlBsCM29taH03zgmvjBh6ZChnmc+DIJABD2jUZTZ5aDGwd7hnnjxrLpbFV8w==","shasum":"671cabe90210aaa90645b57177180bf9fe70c7da","tarball":"https://registry.npmjs.org/@alisav_7/lotide/-/lotide-1.0.0.tgz","fileCount":27,"unpackedSize":18073,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0SMmfS67/4lRBQvu+8YHuQ40sGfHUoLgbky4XFYr36AiEAgXJiMX1f8AKoQ0uT2AceT8HWMfshU+y9tn0oQPYhmXg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV2FbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplLg//ZTZZOKR8EsAHidxcYanER/X8z9/KW0fBgQb1HlVLlZi3GWl4\r\n/tmyW1wPEi1r1fRydUPFExkrTXI9d2UhNbh+jws0jrsplnY+kSXNgJ+znVfJ\r\n7McBBhUdsXpy/kbP3JN7aGTqUf+KEQzjEMIBNV66nDBl/JV1HDsVieDBNZXf\r\nXAklUbN25bHI6zWAPJQxZrVv49PgQ+gg7z8ozelprDuFUS8mh/lGrOwj0xX5\r\nmZl7H1RG1a/FomzPGTUkUEAehl9z31mFg0REHGlALSYhKMUSwVxCQBa7pYGB\r\nrx3kOXioV7+nNzpnuMN8CO6hAuseRU5IXzKMvxZt3zDVQPjcvAqRAHLLwXod\r\n9QY4xzYzlqkKnm52g2CDPByinRbYXVBpwYfek1/kJNveN4FprGxNzoT8vhfr\r\n5+BQ+vfPWNm+uhIGTomLafxB+n4740E/NeM3khiZyWhbXxpfw3L5jg3kwWW8\r\nZePhBu76A2ZnQg3CeaXbiZcTsQ29Xhb7lWeI5LgpzkxKl8m8MiskptU8a/V5\r\nNyCfZYVjVqd5Xwd6SpHgepDaCIw+C02W4lcNxZbIMM24MwysqQ5ZkBKGaFZK\r\n/7q37AknI/IIwoSUzT4DKmgrrlerQVwnrYDTxn5ks/og5Mu3T2bERXT14Tr5\r\noUhhMjxPyXCknBUVY2rvkJ4g9UAyGrjtsRY=\r\n=jJwL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alisav_7","email":"alisa.vorotyn@gmail.com"},"maintainers":[{"name":"alisav_7","email":"alisa.vorotyn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1666670938910_0.7728790777660253"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-25T04:08:58.844Z","1.0.0":"2022-10-25T04:08:59.073Z","modified":"2022-10-25T04:08:59.229Z"},"maintainers":[{"name":"alisav_7","email":"alisa.vorotyn@gmail.com"}],"description":"Useful methods for javascript","homepage":"https://github.com/vorotyna/lotide#readme","repository":{"type":"git","url":"git+https://github.com/vorotyna/lotide.git"},"author":{"name":"Alisa Vorotyntseva"},"bugs":{"url":"https://github.com/vorotyna/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 @alisav_7/lotide`\n\n**Require it:**\n\n`const _ = require('@alisav_7/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(actual, expected)`: Logs equal/not equal arrays\n- `assertEqual(actual, expected)`: Logs if parameters passed in are equal\n- `assertObjectsEqual(actual, expected)`: Logs equal/not equal objects\n- `countLetters(string)`: Returns number of letters in a string\n- `countOnly(allItems, itemsToCount)`: Counts number of items in an array\n- `eqArrays(arrOne, arrTwo)`: Returns true/false if arrays are equal/not equal\n- `eqObjects(object1, object2)`: Returns true/false if objects are equal/not equal\n- `findKey(object, callback)`: Finds the key of an object that satisfies the callback condition\n- `findKeyByValue(object, value)`: Finds object key, given the value\n- `head(actual, expected)`: Returns the head of the array\n- `letterPositions(sentence)`: Returns index of a letter in a string\n- `map(array, callback)`: Performs a function on each array element\n- `middle(arr)`: Takes middle of array\n- `tail(actual, expected)`: Returns the tail of the array\n- `takeUntil(array, callback)`: Return data until a callback condition is satisfied\n","readmeFilename":"README.md"}