`fastn` provides support for JavaScript integration in various places. There are
two main ways to incorporate JavaScript in `fastn`:
- [**JS in function**](/js-in-function/): A JavaScript function can be called
within a function
- **Web component**: A custom web component, created using JavaScript (or other
languages too, that compiles to JS) can be incorporated into `fastn`
documentation.
This gives you flexibility of using JS in `fastn` module.