js is a backend framework and is only used for building servers . This isn’t true: Node. js can be used both on the frontend and the backend. One of the reasons Node. js frameworks are a popular choice for developers building a flexible and scalable backend is its event-driven, non-blocking nature.