# TIDY.JS to the function node

**URL:** <https://community.n8n.io/t/tidy-js-to-the-function-node/7365>\
**Category:** Feature Requests\
**Created:** [August 19, 2021, 8:21am UTC](https://community.n8n.io/t/tidy-js-to-the-function-node/7365 "2021-08-19T08:21:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [August 19, 2021, 9:58am UTC](https://community.n8n.io/t/tidy-js-to-the-function-node/7365/2 "2021-08-19T09:58:08Z")

</div>

I have not tried it myself but you can import modules to use in the functions, There is a bit of text about how to do it below that might be useful to you.

> [@Socks5 support in http request node?](http://community.n8n.io/t/socks5-support-in-http-request-node/6301/4):
>
> Yes, but again, you have to: Add the library socks5-http-client to /n8n/packages/nodes-base/package.json Reference the [custom](https://github.com/n8n-io/n8n/tree/master/docker/images/n8n-custom) image in the docker-compose file. Set the env variable NODE\_FUNCTION\_ALLOW\_EXTERNAL=socks5-http-client Require and use the library within the function node.

---

_[View the full topic](https://community.n8n.io/t/tidy-js-to-the-function-node/7365)._
