#Nest and Bun.

1 messages · Page 1 of 1 (latest)

torpid torrent
#

Will Nest work with Bun?

abstract cragBOT
#

Yes, NestJS generally works with Bun. Bun aims for high compatibility with the existing Node.js ecosystem, and as of Bun v1.0.3, it supports emitDecoratorMetadata, which is essential for NestJS's decorator-based architecture. This means NestJS can work "out of the box" with Bun.
However, while core NestJS functionalities are expected to work well, some specific packages or edge cases might still present compatibility challenges. It has been observed that the build process might still require Node.js or Yarn, with the resulting dist folder then runnable using Bun. There is also an ongoing discussion and a feature request on the NestJS GitHub repository for official Bun.js support.