{"_id":"@acooper5259/lotide","_rev":"1-4eefcd7eec59105e74bf5c2ead2aad7e","name":"@acooper5259/lotide","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@acooper5259/lotide","version":"1.0.0","description":"my lodash-light personal package","main":"assertArrayEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/ACooper5259/lotide.git"},"keywords":["assert","equal","tail","head","middle"],"author":{"name":"Audrey Cooper","email":"audrey_cooper@me.com"},"license":"ISC","bugs":{"url":"https://github.com/ACooper5259/lotide/issues"},"homepage":"https://github.com/ACooper5259/lotide#readme","devDependencies":{"chai":"^4.2.0","mocha":"^8.1.1"},"gitHead":"e74c9a0427411d5824e79539de49af4e06f6f6f9","_id":"@acooper5259/lotide@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ouGPFTS/f/Sh+ylPaWVLpxhzSYONeMrakWbIKij/rZ52KNqpeuhdPEW+aaaxQMdZBie0hi1V0Xq+ZZDnEOBLqg==","shasum":"e684c144b6ff4b10fb98d6d1f4de78797e97ebc2","tarball":"https://registry.npmjs.org/@acooper5259/lotide/-/lotide-1.0.0.tgz","fileCount":26,"unpackedSize":21894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRGgQCRA9TVsSAnZWagAAkAAP/0TnnXqT/5ZyZQBivb1A\nRYVZcHeJpZe877UQ1F1YDCuEDGo8fnQlpVLEP8LAqsQD10hb6mWWEzlUSmIG\n6m7ERA2gu1rlxHSbnud01oeO24qp8FkdmWDL2GaPF2IC9TU82Ne6f+GjnYi5\n6hTBSqZ/IZpgVmSrrFQX0yre7zosGQps3SWZ5GE1vWQjUYyQbkVJ/ZWp1Zv+\nwjzE+iwzYQFfx1kk7w6k6Re9JbQM6l2ziAKhjusPeoF3xFoMs/439DPZ7KTj\n84XX5D67cF8SlYCQD8Bg9UO7nD6T87p0nbluli8lhFbu8fiH3CSPaqm3joe/\n46L3yZ51awC7bCL9imhJSY6v0NvOFgsKcgzfMnWZYuGBiqSMqBKL43g1eP4h\nnfh56JdkOVeObESTuYKH/tlJIilMYTp3Zy69W2fL7+mZs36W3dY/h6xWwnii\nYjFOIDkG1rVho8vMB/jw4tuLj2UQVD1Gg5xde4hgDYEW3GEthcuVkcXuKO0D\nW4+bF9hqZJAxIAzsl/rfgCUnmAgu1GlfIIa2VPJrKiF0h3J/8BvI3v69ndLL\nXCOaRu1gA12ycixt7xIG+dMXyC3h4zlFlm3GfviT65Escquu0os7Exaan7D4\nyoO322ELibsMf4Rcje/hv0okAQeLSECNtZOga22OUNBsgI+gVxskiUFdk0Gy\nJTlx\r\n=Jj2P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNS+LwqNfM0VZZ21lwNfzl0GYx6HcSLa+6gv9khSnwAgIhANM2YfPDYey1HyfFxT/tYGVBH7f/wFlqNrl6UgDyP4UQ"}]},"maintainers":[{"name":"acooper5259","email":"audrey_cooper@me.com"}],"_npmUser":{"name":"acooper5259","email":"audrey_cooper@me.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1598318608238_0.5849031922327637"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-25T01:23:28.190Z","1.0.0":"2020-08-25T01:23:28.426Z","modified":"2022-04-04T11:12:47.325Z"},"maintainers":[{"name":"acooper5259","email":"audrey_cooper@me.com"}],"description":"my lodash-light personal package","homepage":"https://github.com/ACooper5259/lotide#readme","keywords":["assert","equal","tail","head","middle"],"repository":{"type":"git","url":"git+https://github.com/ACooper5259/lotide.git"},"author":{"name":"Audrey Cooper","email":"audrey_cooper@me.com"},"bugs":{"url":"https://github.com/ACooper5259/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 @username/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(array)`: returns the fist value of an array\n- `tail(array)`: returns all the remaining values of an array, except the first\n- `middle(array)`: returns middle value(s) of the parameter array once sorted.\n- `assertArrayEqual(array1, array2`: check for strict equality between arrays, logging out to the console\n- `assertEqual(actual, expected)`: check for strict equality of an actual and an expected value.\n- `assertObjectEqual(object1, object 2)`: check for strict equality between objects, logging out to the console\n\n* `countLetters(sentence)`: returns an object with individual characters as keys and their count as values\n* `countOnly(allItems,itemsToCount`: counts through an array for instances of a specific value. Returns an object.\n* `eqArrays(array1, array2)`: returns true or false after evaluating for strict equality between 2 arrays\n* `eqObject(object1, object2)`: returns true or false after evaluating for equality between 2 objects\n* `findKey(object, callback)`: returns the key string for an object value determined by the callback\n* `findKeyByValue(object, value)`: returns the key of an object according to its value\n* `letterPositions(sentence)`: return an object letter/index as key value pairs for a given string.\n* `map(array,callback)`: returns a new array after callback applied to initial array.\n* `takeUntil(array, callback)`: returns an array of values from initial array until callback evaluates to false.\n* `without(source, itemsToRemove)`: returns a shallow copy of an array without the itemsToRemove.\n","readmeFilename":"README.md"}