🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@daklang/cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daklang/cli

CLI for Dak

latest
Source
npmnpm
Version
0.10.0
Version published
Maintainers
1
Created
Source

@daklang/cli

This package provides a CLI for the Dak Language.

Wrapper

Adding this as a dependency provides a shell script wrapper that executes node with the loader. This is handy if you want to write CLI scripts. See for example the scripts section of how the website is built.

npm i @daklang/cli
echo '(console.log :hello)' > hello.dak
./node_modules/.bin/dak hello.dak

NPX

This also allows for usage via npx:

echo '(console.log :hello)' > hello.dak
npx @daklang/cli hello.dak

npx is slow, so install the package and use the dak script directly for best results.

Transpiler

A simple transpiler for CLI usage is also available:

echo '(console.log :hello)' | npx --package @daklang/cli -c dak-transpile

Keywords

lisp

FAQs

Package last updated on 23 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts