I'm writing a project that I want to use in my portfolio as web developer and I'm using a JS 3rd party module in my code. This module covers a lot of different use cases that are not immediately relevant to my project. I want my code to be as simple and clear as possible and I'm worried that using too much external content would show that I have a tendency of relying on other people's work.
Does it make sense to adapt the parts of code I need and place that in my own program with a mention to the module and its author? My hope is that doing so would at least show that I took the time of understanding why that solution worked and learned a lesson from it.
Is it bad practice to provide software that makes extensive use of somewhat obscure plugins instead of presenting its own implementation directly in its source code?
Note: I don't mean I should rewrite modules that are assumed to be part of the common repertoire, as Lodash or ReactRouter