#764·ejs

async option is not true async 3.1.10

Author: crh3675Created Jun 6, 2024Updated Jan 17, 2026

We are using 3.1.10 with NodeJS 20.9.0.

I read that there is an async option for rendering templates. Upon further inspection of the source code, this is not a real Async behavior as the internals of this library use these calls to load file data.

  • fs.existsSync
  • fs.readFileSync

Any hopes to Promisify these calls to be truly async?