@daklang/loader
v0.10.0
Published
ESM Loader for Dak
Downloads
24
Readme
@daklang/loader
This package provides a ESM
Loader to allow loading
Dak files with the extension .dak
in Node without
having to manually transpile them.
npm i @daklang/loader
echo '(console.log :hello)' > hello.dak
node --no-warnings --enable-source-maps --loader @daklang/loader hello.dak
This is the recommended setup for writing Dak CLI scripts.
(NOTE: --no-warnings
is a hammer for quiet --loader
use.)