How I brought down my project's dependency tree from 36 packages to 4 packages Saurabh Daware 🌻 on September 22, 2019 Before you npm install package or <script src="https://coolframework.com/file.js"> do you ever ask yourself if you really need this package/f... Read full post Submit Preview Dismiss Collapse Expand Oleksii Holub Oleksii Holub Oleksii Holub Follow Filtering data with a cheesegrater Location Kyiv, Ukraine Work Senior Software Developer Joined Jun 9, 2019 • Sep 22 '19 Dropdown menu Copy link Hide Just make sure to cover all of your handwritten functionality with tests now Collapse Expand Saurabh Daware 🌻 Saurabh Daware 🌻 Saurabh Daware 🌻 Follow - JavaScript <3 - I make silly libraries - Building Abell, A new static-site-generator. Email saurabhdaware99@gmail.com Location Bengaluru, India 🇮🇳 Pronouns He/Him Work Senior Frontend Engineer @Razorpay Joined May 31, 2019 • Sep 23 '19 Dropdown menu Copy link Hide yes working on it :D thanks for reading 🌻 Collapse Expand Johan Alkstål Johan Alkstål Johan Alkstål Follow Swedish web developer building and breaking things since 2010, living life on the front end. Location Sweden Work Software Developer @ Trustbit Joined Aug 26, 2019 • Sep 22 '19 Dropdown menu Copy link Hide This is the right kind of thinking. Thumbs up. Collapse Expand Saurabh Daware 🌻 Saurabh Daware 🌻 Saurabh Daware 🌻 Follow - JavaScript <3 - I make silly libraries - Building Abell, A new static-site-generator. Email saurabhdaware99@gmail.com Location Bengaluru, India 🇮🇳 Pronouns He/Him Work Senior Frontend Engineer @Razorpay Joined May 31, 2019 • Sep 23 '19 Dropdown menu Copy link Hide Thank you :) Collapse Expand James Thomson James Thomson James Thomson Follow Just another front-end web dev junkie Location Australia Work Senior Frontend Engineer at Complish Joined Feb 22, 2019 • Sep 23 '19 Dropdown menu Copy link Hide I'll always have a look through a packages dependencies list before considering adding it to a project. A tool that's helpful when doing this: bundlephobia.com Collapse Expand Saurabh Daware 🌻 Saurabh Daware 🌻 Saurabh Daware 🌻 Follow - JavaScript <3 - I make silly libraries - Building Abell, A new static-site-generator. Email saurabhdaware99@gmail.com Location Bengaluru, India 🇮🇳 Pronouns He/Him Work Senior Frontend Engineer @Razorpay Joined May 31, 2019 • Sep 23 '19 Dropdown menu Copy link Hide Oh I didn't know about bundlephobia thank you for sharing Collapse Expand Paweł Kowalski Paweł Kowalski Paweł Kowalski Follow Performance, JavaScript, Serverless, and Testing enthusiast. Location Earth, Milky Way Work Senior Performance Engineer at platformOS Joined Dec 25, 2017 • Sep 23 '19 Dropdown menu Copy link Hide Good investigation and solution from your part. Its so refreshing to see someone caring about how much junk they ship with the app. I hope more people will take care about it. Collapse Expand Saurabh Daware 🌻 Saurabh Daware 🌻 Saurabh Daware 🌻 Follow - JavaScript <3 - I make silly libraries - Building Abell, A new static-site-generator. Email saurabhdaware99@gmail.com Location Bengaluru, India 🇮🇳 Pronouns He/Him Work Senior Frontend Engineer @Razorpay Joined May 31, 2019 • Sep 23 '19 Dropdown menu Copy link Hide Thank you so much🌻🌻 and yes every developer should spend some time deciding what frameworks or libraries are actually needed :D Collapse Expand Zaid Rehman Zaid Rehman Zaid Rehman Follow Problem Solver, Programmer, Blogger, Mountaineer. Email zqzaidqureshi@gmail.com Location India Education Computer Engineer Work Senior Software Engineer Joined Jan 18, 2018 • Sep 23 '19 • Edited on Sep 25 • Edited Dropdown menu Copy link Hide I used almost a similar approach to remove lodash completely from my project 😅😅 Personally I feel it's a right approach. Collapse Expand Saurabh Daware 🌻 Saurabh Daware 🌻 Saurabh Daware 🌻 Follow - JavaScript <3 - I make silly libraries - Building Abell, A new static-site-generator. Email saurabhdaware99@gmail.com Location Bengaluru, India 🇮🇳 Pronouns He/Him Work Senior Frontend Engineer @Razorpay Joined May 31, 2019 • Sep 23 '19 Dropdown menu Copy link Hide Do you have a link to this commit or PR? Would love to see how you did :D Collapse Expand Zaid Rehman Zaid Rehman Zaid Rehman Follow Problem Solver, Programmer, Blogger, Mountaineer. Email zqzaidqureshi@gmail.com Location India Education Computer Engineer Work Senior Software Engineer Joined Jan 18, 2018 • Sep 25 '19 Dropdown menu Copy link Hide Sorry bro it was a private repo of my employer. Saurabh Daware 🌻 Saurabh Daware 🌻 Saurabh Daware 🌻 Follow - JavaScript <3 - I make silly libraries - Building Abell, A new static-site-generator. Email saurabhdaware99@gmail.com Location Bengaluru, India 🇮🇳 Pronouns He/Him Work Senior Frontend Engineer @Razorpay Joined May 31, 2019 • Sep 25 '19 Dropdown menu Copy link Hide oh ok no problem. good job though :D Collapse Expand Agha Azeem Agha Azeem Agha Azeem Follow Technical Lead | Full Stack Developer | Agile Coach | Scrum Master | Architecture | Cloud | AI/ML Enthusiast Email azeem2793@gmail.com Location Dubai Education Masters in Software Engineering Joined Aug 3, 2019 • Sep 24 '19 Dropdown menu Copy link Hide 👍 that’s brilliant Collapse Expand Saurabh Daware 🌻 Saurabh Daware 🌻 Saurabh Daware 🌻 Follow - JavaScript <3 - I make silly libraries - Building Abell, A new static-site-generator. Email saurabhdaware99@gmail.com Location Bengaluru, India 🇮🇳 Pronouns He/Him Work Senior Frontend Engineer @Razorpay Joined May 31, 2019 • Sep 24 '19 Dropdown menu Copy link Hide thank you so much :D Collapse Expand SyntaxSeed (Sherri W) SyntaxSeed (Sherri W) SyntaxSeed (Sherri W) Follow Learn, code, build, grow! 🐘 Full-stack PHP/JS dev with 15+ years experience and miles to go before I sleep(); 💻 Location Canada Work Full Stack Web Developer Joined Mar 16, 2019 • Sep 22 '19 Dropdown menu Copy link Hide I do the same with my PHP dependencies. I give preference to packages without a ton of sub dependencies. Collapse Expand Saurabh Daware 🌻 Saurabh Daware 🌻 Saurabh Daware 🌻 Follow - JavaScript <3 - I make silly libraries - Building Abell, A new static-site-generator. Email saurabhdaware99@gmail.com Location Bengaluru, India 🇮🇳 Pronouns He/Him Work Senior Frontend Engineer @Razorpay Joined May 31, 2019 • Sep 23 '19 Dropdown menu Copy link Hide Yes I feel this is right approach and applies to any domain and any language and even on the frontend Code of Conduct • Report abuse
Just make sure to cover all of your handwritten functionality with tests now
yes working on it :D thanks for reading 🌻
This is the right kind of thinking. Thumbs up.
Thank you :)
I'll always have a look through a packages dependencies list before considering adding it to a project.
A tool that's helpful when doing this: bundlephobia.com
Oh I didn't know about bundlephobia thank you for sharing
Good investigation and solution from your part.
Its so refreshing to see someone caring about how much junk they ship with the app.
I hope more people will take care about it.
Thank you so much🌻🌻 and yes every developer should spend some time deciding what frameworks or libraries are actually needed :D
I used almost a similar approach to remove lodash completely from my project 😅😅
Personally I feel it's a right approach.
Do you have a link to this commit or PR? Would love to see how you did :D
Sorry bro it was a private repo of my employer.
oh ok no problem. good job though :D
👍 that’s brilliant
thank you so much :D
I do the same with my PHP dependencies. I give preference to packages without a ton of sub dependencies.
Yes I feel this is right approach and applies to any domain and any language and even on the frontend