Find all the permissions used by a Deno program
deno run -A --unstable-ffi jsr:@sigma/minimize my-deno-program.ts
- It runs the file with
deno run
- Says yes to every prompt
- Prints all discovered permissions
The output can be customized with OUTPUT
env variable, values are default
,
json
, none
Original python version https://github.com/sigmaSd/Minimize