Are NPM dependencies transitive when a library is published as Maven artifact?

Say I add in my JS dependencies api(npm("left-pad", leftPadVersion)) and publish my library on Maven with Gradle metadata enabled.
The consumer of my library will have to add left-pad as dependency as well or it will be added to the “classpath” (or whatever is the messed up JS equivalent called) by the plugin?