Home » Php » node.js php-like delimiters

node.js php-like delimiters

Posted by: admin February 25, 2020 Leave a comment

Questions:

Does Node.js has php-like delimiters that mix server-side code (Node.js) and client-side code (HTML) together in a file?

PHP delimiters inside HTML

<div>
  <?php echo 'some text here'; ?>
</div>

Results

<div>
  some text here
</div>

Does Node.js has this feature?

How to&Answers: