Write TypeScript code where I could import another libraries like pipedream NodeJS step.
My use case:
Is always a good idea to have separate requests that people can upvote exactly what they want to upvote and that we can also close it once it got implemented (chance is much lower that two things get implemented and released at the same time).
In this case is the second one already possible. Meaning you are already able to import and use any npm library you want. But two things are important:
The npm library has to be installed (because n8n does not auto-install them when required)
Access to the library has to be enabled (is disabled by default for security reasons)
For 1. it is best to create a custom n8n docker image.
For 2. you can find more information here