{"_id":"@aravbhivgade/ts-utility","_rev":"3-935af4f58c36913ff99485994fd24c33","name":"@aravbhivgade/ts-utility","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@aravbhivgade/ts-utility","version":"1.0.0","keywords":["typescript","utilities"],"author":{"name":"Arav Bhivgade - https://x.com/arav190720"},"license":"MIT","_id":"@aravbhivgade/ts-utility@1.0.0","maintainers":[{"name":"aravbhivgade","email":"bhivgadearav@gmail.com"}],"dist":{"shasum":"7c232cc3a8bf58a437419b019732d6d67c952945","tarball":"https://registry.npmjs.org/@aravbhivgade/ts-utility/-/ts-utility-1.0.0.tgz","fileCount":6,"integrity":"sha512-t3wp+qn09H2JnY9yAD5fDAFPX70cZ0cacra4eEJ3aQYmuZAenz+qgH+UK8TZzMSfVelWXuXtxhRMfxcszQI1Qg==","signatures":[{"sig":"MEYCIQCrYoFvJnrwi/1HcvjvRn7OQau3hx28uByQWz7jB+K3gAIhAJXtkaDxyfIr1V94xmplySgeqIbcKx6LsBTpryba+HpJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5576},"main":"index.js","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"aravbhivgade","email":"bhivgadearav@gmail.com"},"_npmVersion":"10.8.3","description":"this package lets you use pick, partial, read only, records, maps and exclude typescript functions in a simple manner that's also not hard to intepret by other developers","directories":{},"_nodeVersion":"21.6.2","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-utility_1.0.0_1729779433940_0.8265110551894572","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@aravbhivgade/ts-utility","version":"1.0.1","keywords":["typescript","utilities"],"author":{"name":"Arav Bhivgade - https://x.com/arav190720"},"license":"MIT","_id":"@aravbhivgade/ts-utility@1.0.1","maintainers":[{"name":"aravbhivgade","email":"bhivgadearav@gmail.com"}],"homepage":"https://github.com/bhivgadearav/ts-utility#readme","bugs":{"url":"https://github.com/bhivgadearav/ts-utility/issues"},"dist":{"shasum":"54abec8400ecac6577009d94526b147ca3318c18","tarball":"https://registry.npmjs.org/@aravbhivgade/ts-utility/-/ts-utility-1.0.1.tgz","fileCount":6,"integrity":"sha512-6MW1bUH5LIrBDP2JXB+Xx54SvSEWygvY0WYwTqLU35xvGko4XDLfYUDG3GXoEjt1RW7VU2jzyV7rIvHYjuEZeQ==","signatures":[{"sig":"MEUCIBVLGZsjtMhwWJJIXq3xSymfzIZLOm3FwmSwhtsxavRLAiEA98xsvlJfabZgXYUzBjoQmCWgv1atjrKODyObcbgj/mI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5678},"main":"index.js","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"aravbhivgade","email":"bhivgadearav@gmail.com"},"repository":{"url":"git+https://github.com/bhivgadearav/ts-utility.git","type":"git"},"_npmVersion":"10.8.3","description":"this package lets you use pick, partial, read only, records, maps and exclude typescript functions in a simple manner that's also not hard to intepret by other developers","directories":{},"_nodeVersion":"21.6.2","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-utility_1.0.1_1729779633323_0.9070229795204203","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@aravbhivgade/ts-utility","version":"1.0.2","keywords":["typescript","utilities"],"author":{"name":"Arav Bhivgade - https://x.com/arav190720"},"license":"MIT","_id":"@aravbhivgade/ts-utility@1.0.2","maintainers":[{"name":"aravbhivgade","email":"bhivgadearav@gmail.com"}],"homepage":"https://github.com/bhivgadearav/ts-utility#readme","bugs":{"url":"https://github.com/bhivgadearav/ts-utility/issues"},"dist":{"shasum":"e4f0a4d9b9a4272d0ac0c918c10be6a3a3eb47c1","tarball":"https://registry.npmjs.org/@aravbhivgade/ts-utility/-/ts-utility-1.0.2.tgz","fileCount":7,"integrity":"sha512-yZHkOKDz8R6B8/rDtB5sd6Gq8PB+4qzbcLDSpGLtw0LYFsS5CuRuz+8ViFCM4CMSvInkRYnZJ4BtNZH691UbHQ==","signatures":[{"sig":"MEQCIGshbceBhMf8/ZDahOE0oXDL1sHwM0yOWwNy406+8lB8AiA2BdqGoxhlfaJAUfCKqW2k32hn8ORPD82cedwijHwXdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7899},"main":"index.js","private":false,"scripts":{"build":"tsc"},"_npmUser":{"name":"aravbhivgade","email":"bhivgadearav@gmail.com"},"repository":{"url":"git+https://github.com/bhivgadearav/ts-utility.git","type":"git"},"_npmVersion":"10.8.3","description":"this package lets you use pick, partial, read only, records, maps and exclude typescript functions in a simple manner that's also not hard to intepret by other developers","directories":{},"_nodeVersion":"21.6.2","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-utility_1.0.2_1729779927846_0.506646589660561","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@aravbhivgade/ts-utility","version":"1.1.0","private":false,"description":"this package lets you use pick, partial, read only, records, maps and exclude typescript functions in a simple manner that's also not hard to intepret by other developers","main":"dist/index.js","scripts":{"build":"tsc"},"repository":{"type":"git","url":"git+https://github.com/bhivgadearav/ts-utility.git"},"keywords":["typescript","utilities"],"author":{"name":"Arav Bhivgade - https://x.com/arav190720"},"license":"MIT","devDependencies":{"typescript":"^5.6.3"},"_id":"@aravbhivgade/ts-utility@1.1.0","gitHead":"ab6e633e57706e19ae8c699433253209edeac389","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/bhivgadearav/ts-utility/issues"},"homepage":"https://github.com/bhivgadearav/ts-utility#readme","_nodeVersion":"21.6.2","_npmVersion":"10.8.3","dist":{"integrity":"sha512-zdFAhGqiaHUnuXLsUFKfylNR0Zl1ItU3KsB4RVEGPmX2FcL/OvgrPhXeIjNi1ZNAq3f1Kk9XQou3mtx5ERyY6Q==","shasum":"a41a33f92684d89aff41bab736cf40c2230fdfd5","tarball":"https://registry.npmjs.org/@aravbhivgade/ts-utility/-/ts-utility-1.1.0.tgz","fileCount":6,"unpackedSize":7314,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAY45loiHFYO6AhOtg9Gv+MYOBF1ynjvzq9uzrHJAOs8AiAQmR9duWMmh3ByLs1meVL9MqXs90se3P2q3xJOqoKmLw=="}]},"_npmUser":{"name":"aravbhivgade","email":"bhivgadearav@gmail.com"},"directories":{},"maintainers":[{"name":"aravbhivgade","email":"bhivgadearav@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-utility_1.1.0_1729780663694_0.2250901974272863"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-24T14:17:13.761Z","modified":"2024-10-24T14:37:44.026Z","1.0.0":"2024-10-24T14:17:14.160Z","1.0.1":"2024-10-24T14:20:33.511Z","1.0.2":"2024-10-24T14:25:28.052Z","1.1.0":"2024-10-24T14:37:43.864Z"},"bugs":{"url":"https://github.com/bhivgadearav/ts-utility/issues"},"author":{"name":"Arav Bhivgade - https://x.com/arav190720"},"license":"MIT","homepage":"https://github.com/bhivgadearav/ts-utility#readme","keywords":["typescript","utilities"],"repository":{"type":"git","url":"git+https://github.com/bhivgadearav/ts-utility.git"},"description":"this package lets you use pick, partial, read only, records, maps and exclude typescript functions in a simple manner that's also not hard to intepret by other developers","maintainers":[{"name":"aravbhivgade","email":"bhivgadearav@gmail.com"}],"readme":"# TypeScript Utility Package\r\n\r\n![Version](https://img.shields.io/npm/v/@aravbhivgade/ts-utility) ![License](https://img.shields.io/badge/license-MIT-brightgreen)\r\n\r\nA utility package for TypeScript designed to simplify common operations on objects. This package enhances code readability and reduces boilerplate code in TypeScript projects by providing several helpful functions.\r\n\r\n## Overview of Features\r\n\r\n### 1. Pick\r\n**Purpose**: Easily create new objects with selected properties from an existing object.  \r\n**Use Case**: Ideal for scenarios where you only need a subset of properties from a larger object.\r\n\r\n### 2. Make Partial\r\n**Purpose**: Generate objects where all properties are optional.  \r\n**Use Case**: Useful in cases where you want to create configurations or update functions that don't require all properties to be provided.\r\n\r\n### 3. Make Readonly\r\n**Purpose**: Create an immutable version of an object.  \r\n**Use Case**: Ensures that your object cannot be modified, preventing accidental changes.\r\n\r\n### 4. Create Record\r\n**Purpose**: Create a new object where keys are from an array, and all values are set to a fixed value.  \r\n**Use Case**: Handy for initializing state or creating lookup tables.\r\n\r\n### 5. Exclude From Union\r\n**Purpose**: Filter out specific items from an array.  \r\n**Use Case**: Useful for managing lists where certain items need to be excluded based on user input or conditions.\r\n\r\n### 6. Create Map\r\n**Purpose**: Transform object values into a new structure using a mapping function.  \r\n**Use Case**: Ideal for converting data formats or applying transformations to each value in an object.\r\n\r\n## Installation\r\n\r\nYou can install the package using npm.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the LICENSE file for details.\r\n\r\n## Contributing\r\n\r\nContributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request. Your contributions help make this package better for everyone!\r\n\r\n## Contact\r\n\r\nFor any questions or feedback, feel free to reach out to me:\r\n\r\n- LinkedIn: [aravbhivgade](https://in.linkedin.com/in/aravbhivgade)\r\n- X (Twitter): [@arav190720](https://x.com/arav190720)\r\n","readmeFilename":"README.md"}