It's basic use is to generate a direcory of files from a source template directory and configuration file, but with a map file it can send templated files anywhere.
- 🚀 Uses the hyper-fast and robust Eta templating engine
- 🔨 Has a docker image for repeatable templating in your build processes
docker run \
--user $(UID):$(GID) \
-v $(PWD)/example/.env:/.env \
-v $(PWD)/example/templates:/input \
-v $(PWD)/example/build/templates:/output \
jeffspies/d2d:latest
npm install -g d2d
d2d --help
d2d example/templates example/build/templates --env example/.env
npm install d2d
# or
yarn add d2d
import * as d2d from 'd2d'
// or
const d2d = require('d2d')