{"_id":"@astarinamaulida/lotide","_rev":"3-6475ac58657c4543e1074a726b250534","name":"@astarinamaulida/lotide","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@astarinamaulida/lotide","version":"1.0.0","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/astarinamaulida/lotide.git"},"author":{"name":"Astarina Maulida astarina.maulida@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/astarinamaulida/lotide/issues"},"homepage":"https://github.com/astarinamaulida/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1"},"gitHead":"9ac433c01dbd4d36458d80316c4345e1df6e2a24","_id":"@astarinamaulida/lotide@1.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-rlJJkyw5JcxLftwh938XIkt2zPdYDgqbvphFcqEbyhWGdainwBDri5XaMpxmIUzswj2gpudwmxYZ5j2IvO5JeQ==","shasum":"25e0e7136f5bcf51a152a292c625aff99db3f29e","tarball":"https://registry.npmjs.org/@astarinamaulida/lotide/-/lotide-1.0.0.tgz","fileCount":35,"unpackedSize":18933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8s1v/t7Acba1mVHqc7dUav5YTe1bzTA+GWaG8bVZ/oAiALO2+O1RxWUf1V1SRwE5ddi+dheRb7nTmuDLqZftFwRQ=="}]},"_npmUser":{"name":"astarinamaulida","email":"astarina.maulida@gmail.com"},"maintainers":[{"name":"astarinamaulida","email":"astarina.maulida@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.0_1632229601230_0.14214778612607848"},"_hasShrinkwrap":false},"1.0.1":{"name":"@astarinamaulida/lotide","version":"1.0.1","description":"A mini clone of the [Lodash](https://lodash.com) library.","main":"assertArraysEqual.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/astarinamaulida/lotide.git"},"author":{"name":"Astarina Maulida astarina.maulida@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/astarinamaulida/lotide/issues"},"homepage":"https://github.com/astarinamaulida/lotide#readme","devDependencies":{"chai":"^4.3.4","mocha":"^9.1.1"},"gitHead":"d14ed2a8fb198650ff05af0dd51a6998c3ce551b","_id":"@astarinamaulida/lotide@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-Pqw7x4/g+z3gfcoJb6E/T+MU93ClgSPrczDoM7JTZBMfBTiiyJrq5Oc/uXHcQZXcrR2Bcy8a+X7fcIa1+GfQfQ==","shasum":"567b3dc1a8ba7bec181063f2d0c6209d2dbed59a","tarball":"https://registry.npmjs.org/@astarinamaulida/lotide/-/lotide-1.0.1.tgz","fileCount":35,"unpackedSize":19767,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwzvRCRA9TVsSAnZWagAApPkQAI6ZUHROC2naplG7KSQy\neosclyxnzG6vF7yQmbQLArzi8rjT9XDFKNaeW/1t+j86YK5ZD6ESo15bT52K\nHB3YEKjp912eH5U9XnY8TgxnZdiMS3MwTcSYXXDX1NIMV55jtdPyNGTxVjLk\nsy1qNHS3i2UVRRd7ZnCbtQMYxCxVj39x6XREOoIud95kCXXsXcdPuZPp+sWf\nUA8g3DbAEJoRY74QUbyV+VGfEktyowpG0mdrYa/rHIUO0lEEc2ZCBUvGXEfM\nXenvC9mTBul+w/nviFCloiMT6AmVmjNg4uR2ONftzGz4h88Nbz2Z23dwIiO5\n9NHpGCzdFvHoflSQZJAbNQC/OWSTKL2UAxku5r2/gjhW4EpW0dtZgy/RWkd8\neTmF4A3ly4DyGcM179hNdAmef2vX4gTDRVMmnOgBWRMaepKLHuFVWqBtfK9G\n4WK3Xlw8hZsFAjHWyyeok5li0YAXUN1kO3T4NfeR+XHsNzT9eNHMVsBY/8NQ\nYP9BpZnAeHa8CZ7QWng+SLxlvWF+bxDuSG7SPKEbqCX36ml633ehWLqx7ZVB\nw07xchq7EJRHmawSPAGeCW7DyNgO2W1ocC9UvIXofwFgtiImqcNiL0i6exY5\nc0RpZsYTPL6Cjl9vihshBvFSX+8xREEeFA9FKq/HlDeihpfwaS97X26jC1iW\nohbu\r\n=99P8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICndcWV/pa4+JhvKuK9xkh5tTXkMBqubhGsxFwMAIxnhAiEA0aPUmw+SGujCFfO5GtEf42evy4d8UMw9lPfffX3CDCg="}]},"_npmUser":{"name":"astarinamaulida","email":"astarina.maulida@gmail.com"},"maintainers":[{"name":"astarinamaulida","email":"astarina.maulida@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lotide_1.0.1_1632328790194_0.6053756737681086"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-21T13:06:41.194Z","1.0.0":"2021-09-21T13:06:41.402Z","modified":"2022-04-04T15:52:02.618Z","1.0.1":"2021-09-22T16:39:50.314Z"},"maintainers":[{"name":"astarinamaulida","email":"astarina.maulida@gmail.com"}],"description":"A mini clone of the [Lodash](https://lodash.com) library.","homepage":"https://github.com/astarinamaulida/lotide#readme","repository":{"type":"git","url":"git+https://github.com/astarinamaulida/lotide.git"},"author":{"name":"Astarina Maulida astarina.maulida@gmail.com"},"bugs":{"url":"https://github.com/astarinamaulida/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 @astarinamaulida/lotide`\n\n**Require it:**\n\n`const _ = require('@astarinamaulida/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`: accepts an array and returns the first element of an array\n* `tail`: accepts an array and return the same array without the first element\n* `middle`: accepts an array and return the middle element(s) of the array\n* `countLetters`: accepts a string and return the occurence of the object\n* `countOnly`: accepts an array and the parameter, then return the objects in the arrays \n* `eqArrays`: accepts two arrays and return true if they are equal\n* `eqObjects`: accepts two arrays and return true if they are equal\n* `findKey`: accepts an object and a callback,  \n* `findKeyByValue`: accepts object and argument then return the key value and compare if they are equal\n* `letterPositions`: accepts a string and return its index position character\n* `map`: accepts an array and a callback then return it to modified array with applied callback function\n* `takeUntil`: accepts an array and return the array up until the \n* `without`: accepts an array and return the new array without the argument that we set\n* `assertArraysEqual`: accepts two arrays and compare them to check if they are equal\n* `assertEqual`: accepts two values and compare them to check if they are equal\n* `assertObjectsEqual`: accepts two objects as parameters and return true if they are equal","readmeFilename":"README.md"}