postmanlabs / openapi-to-postman

Plugin for converting OpenAPI 3.0 specs to the Postman Collection (v2) format
Apache License 2.0
917 stars 196 forks source link

Remove Lodash as a Dependency #826

Open mohit-kumar-bechtel opened 2 weeks ago

mohit-kumar-bechtel commented 2 weeks ago

Lodash is currently listed as a dependency in the openapi-to-postmanv2 module. While Lodash provides useful utility functions, it increases the overall package size. Modern JavaScript (ES6+) includes many built-in functions that can replace Lodash's utilities, reducing the need for an external dependency. By removing Lodash, we can streamline the module and improve performance.

Benefits:

wellitsmk commented 2 weeks ago

a great resource to help with this change - https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore