Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @alchemy-js/transmute-ejs with all npm packages installed. Try it out:

var transmuteEjs = require("@alchemy-js/transmute-ejs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@alchemy-js/transmute-ejs v1.0.1

Transmute ejs with Alchemy

Transmute ejs

Transmutes ejs for the Alchemy static site generator.

  • Transmutes file content to use ejs templates
  • File must contain front-matter with a valid layout property
    • layout: <templateName>.ejs
  • Should appear after any markdown transmutations (if applicable)
  • Options object accepts all valid ejs options


npm i @alchemy/transmute-ejs


This is a wrapper around the ejs package, accepting all valid options as an object.

const Alchemy = require('@alchemy-js/alchemy');
const ejs = require('@alchemy-js/transmute-ejs');

  /* file paths */
    /* accepts valid ejs options as an object */
    use: './layouts'



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free