{"_id":"@anaaa/lotide2","_rev":"1-60a15dbe07f9dcc3be5f16b372695dc5","name":"@anaaa/lotide2","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@anaaa/lotide2","version":"1.0.0","description":"a library of lotide functions","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Anaaag/Lotide2.git"},"author":{"name":"ana"},"license":"ISC","bugs":{"url":"https://github.com/Anaaag/Lotide2/issues"},"homepage":"https://github.com/Anaaag/Lotide2#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"de66f48cc2a481a83d8c5b1c3ea52669fe07f727","_id":"@anaaa/lotide2@1.0.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-wKQ1oFm4fBSie3lDkPuddLD18T1+OpWeavgV+WNeEGiGylSn7YOc3tfs/0jppI098bSqWt99R/5QlhiRgig6rg==","shasum":"21142dbf9b90cd6072514ba859c43f7acb41bda3","tarball":"https://registry.npmjs.org/@anaaa/lotide2/-/lotide2-1.0.0.tgz","fileCount":25,"unpackedSize":17715,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdB12wKqrgCKNLP6xz1xctU6LpDlqAo1y4dF+jazkagQIgWXfqNN5LRkmfaLo2uuxPPLuow16/qLpvDnggk9nqlpA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8HhOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7ORAAjDeSx7fUHXwCLEZ96iL4fM1YtH6/dOPa3wWkekdUGz5TYw+3\r\nJvz7UIE/H0v9MC0Gcw4XVy0mEik/XbRJnK+r4rC+zmOm723zBy0EZhYuWIkt\r\nHTeubM0s/M/6hvwsQJ0LqofA/47NecoIQMJTn/beC9Prry9eDP5I+C1t6AY/\r\nvdEc1BHc4IRpYELuUFXpkK9ahlR+eronpd6mcNPAtM2rjNVtw5CfLpcjuPRO\r\nBskcF6uAclcu5cX8GfKipISgziGIskIk1b62f4Li/SyXOz6r8fKDnCRHs3w5\r\nAlZ7N/1FOOpsMCi2xaTxjJelKoI9TjR0i7RjWew9QIxMhHPlDk2+jvQgLhsa\r\ngfwGlwNP9fTLYwHbd2guqOiDDiIK89869cACg5cPkuLDw7qi4lLw9pSTI/iQ\r\nyr/E+Jl9BNj6DIQqNdcPYoovnw8kmVtHTR5qwhQeaFVZftdexc0IvXlhAZrn\r\nLnZLN7lo/xwBWkS8RQWCC5l9iWA+/nElHeSRxcvu2hPYecz1X+gxBzrpQt/D\r\n9W2g2h1J1hzak7DwW0DBdkK1PzPuTPik56HWg+hz+WCc/s2xo7HLD7WIH7xc\r\n85k2KCFBpFrsft0eDpNGllmFU8NBKqqmDUOeWsEa3lkycDBs7kfvpSA5T6HW\r\nDyIC16aKLiKe+0ebeSZQzQGz+KkbC6xUAvQ=\r\n=JPQc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anaaa","email":"agarcc8@gmail.com"},"maintainers":[{"name":"anaaa","email":"agarcc8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide2_1.0.0_1659926605792_0.2718010453188453"},"_hasShrinkwrap":false},"1.1.0":{"name":"@anaaa/lotide2","version":"1.1.0","description":"a library of lotide functions","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Anaaag/Lotide2.git"},"author":{"name":"ana"},"license":"ISC","bugs":{"url":"https://github.com/Anaaag/Lotide2/issues"},"homepage":"https://github.com/Anaaag/Lotide2#readme","devDependencies":{"chai":"^4.3.6","mocha":"^9.2.2"},"gitHead":"e5ec5e440a7c5dff2bd63b9843877c72ae76e8fb","_id":"@anaaa/lotide2@1.1.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-PzpcG8Ue8Q8uQAZ28oWK7tXrAN25Q+liVBfB6VmUkL0Ee4ZHSLItl7YGqFMX1UVkJ3xGX8aTdtl+nJKYg6dpIA==","shasum":"75eef7d9d610b2684241548bdac3b0f0339d39a6","tarball":"https://registry.npmjs.org/@anaaa/lotide2/-/lotide2-1.1.0.tgz","fileCount":25,"unpackedSize":15244,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJAEOdg0jHCNjJ5niB/xV5KN/E1CRJTSqPLiXVaGzxCAIgKIQyNdoHQtgCA6thkjaDBIP3UDvfQOWMRq/pVhBaKGY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8LZHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrsew//anmCRi3dWMEaf7MJqUFAjC59hiE3q8e/6Ev831T76GCrlraX\r\nR5/qvxPt2C/mt9J7Y3QDBX4OJ2Vxr0+dy3xICImkyCKwg5kxWX1mg2xH8GO1\r\n8YoeDlIxmw7KcYtVBizAzzzpYQmccWVhCoOvkOfLkzDKAhvPL3Vqg4OMbu30\r\nnEDLRaqLitRZdilpvrtmzYJomeg+9oxNv81xbgj7UfTQYEL7jsg95wbGfbkO\r\nUHAgjY2sGzQz7sbmJTazlAjA36sWyu2SyYXIKACdLscpnzTuOkkbXKen+pdi\r\nDlu8P4qt25lGqGKcOucQysIyZ4wIh/s66vbDHxdEYjULWll2qMXdLSb8UyNU\r\niM5HwtHYDq5IC7ITVFZzov1dXWBWCXEyvIrpuHXhgRusxXYfg78d+lLVt6HD\r\nrdpLD/lS3cB27r9t0K5943S0hOn/BqPnQMhZaEILCOURQDAxgBhu/6PZjcDO\r\nbvhoAYWEOoBzL9D7poaey1QIlpYRR0Y30j7hya9ebul42Pra8L+s4Ccn0qJI\r\nH25yLJ3IzR5q1btjGrPz7V2XQz/ljLcLS5fyvILqwC1Yzttg5prw9U43jjUC\r\n2BcPqpZFGa8rDctIn8epRmCymi+iIsSMx961PQcTLHJjGud187RQUV0O+89l\r\nKHglZxWA6pgqT7WprXyjAAhowsAAtNMKsjk=\r\n=zH+n\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anaaa","email":"agarcc8@gmail.com"},"maintainers":[{"name":"anaaa","email":"agarcc8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide2_1.1.0_1659942471734_0.33377960682061847"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-08T02:43:25.736Z","1.0.0":"2022-08-08T02:43:25.972Z","modified":"2022-08-08T07:07:52.079Z","1.1.0":"2022-08-08T07:07:51.940Z"},"maintainers":[{"name":"anaaa","email":"agarcc8@gmail.com"}],"description":"a library of lotide functions","homepage":"https://github.com/Anaaag/Lotide2#readme","repository":{"type":"git","url":"git+https://github.com/Anaaag/Lotide2.git"},"author":{"name":"ana"},"bugs":{"url":"https://github.com/Anaaag/Lotide2/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 @anaaa/lotide2`\n\n**Require it:**\n\n`const _ = require('@anaaa/lotide2');`\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* `function1(assertArraysEqual)`: A function that will take in two arrays and compare their values to test if they are equal, will then print out a message of either success or failure.\n* `function2(assertEqual)`: A function that compares two values (primitive types) and prints out a message of either success or failure.\n* `function3(assertObjectsEqual)`: A function that will take in two objects and test if they are equal. It will then print out a message of either success or failure. \n* `function4(countLetters2)`: A function that will take in a sentence (string), and return a count of each of the letters in that sentence. \n* `function5(countOnly)`: A function that will take in two arguments an array and object, it will return an object containing counts of everything that the input object listed. \n* `function6(eqArrays)`: A function that takes in two arrays and returns true or false, based on a perfect match.\n* `function7(eqObjects)`: A function that will take in two arguments, two objects and return either true or false, based on a perfect match.\n* `function8(findKey)`: A function that takes in two arguments an object and a callback. It will scan the object and return the first key, to which the callback returns a truthy value.\n* `function9(findKeyByValue)`: A function that will take in two arguments an object and a value. It will scan the object and return the first key which contains the given value.\n* `function10(head)`: A function that retrieves the first element in an array. \n* `function11(index)`: An object for all of our lotide functions. \n* `function12(letterPositions)`: A function that will take in a string and return all the indices in the string where each character is found.\n* `function13(map)`: A function that will take in two arguments an array to map and a callback function.  The map function will return a new array based on the results of a callback function.\n* `function14(middle)`: A function that will take in an array and return the middle-most element(s) of that array. If array only has one or two elements will return an empty array. \n* `function15(tail)`: A function that retrieves all elemements except the first element of an array.\n* `function16(takeUntil)`: A function that will take in two arguments, an array and a callback. It will return a slice of the array with elements of the array taken from the start, it will keep going until the callback returns a truthy value.\n* `function17(without)`: A function that will take in two arguments a source (array) and a itemsToRemove (array). It will return a new array, removing unwanted elements. ","readmeFilename":"README.md"}