Diplo
Diplo is a deno script runner made in rust.
Installing
You can download diplo from the releases tab or install it using cargo install diplo
Features
Script running
create a file called diplo.json and put the following code in there
after that you can do diplo run start or node
Dependencies
If you add dependencies object to the diplo.json file diplo will automatically create a file called deps.ts inside the .diplo folder.
for import map support
This only works on javascript and will cause type error in typescript
import * as server from 'server';
- note Diplo will automatically append
--import-map="./.diplo/import_map.jsonafterdeno run.
Dotenv Support
Diplo can automatically add environment variables using the rust dotenv module instead of the deno based one
Example Config
Donating
You can support the project by donating to my xmr address 89prBkdG58KU15jv5LTbP3MgdJ2ikrcyu1vmdTKTGEVdhKRvbxgRN671jfFn3Uivk4Er1JXsc1xFZFbmFCGzVZNLPQeEwZc
License
This project is licensed under the terms of the Apache License 2.0