Skip to content

Add support for rendering raw string directly

Compare
Choose a tag to compare
@thetutlage thetutlage released this 21 Feb 17:53

The new API allows rendering raw strings

edge.renderRaw('Hello {{ username }}', { username: 'virk' })

edge.renderRawAsync('Hello {{ await getUserName() }}', { getUserName: async () => 'virk' })
  • chore: update dependencies 98e6d95
  • feat: add support for rendering raw string 2ed8d98
  • feat: add support for removing inline registered templates 148d7c9
  • chore: update dependencies fd891f0

v4.0.1...v4.0.2