Skip to main content

Find all the permissions needed to run a Deno program

Works with
This package works with Deno
JSR Score
100%
Published
a day ago

Minimize

Find all the permissions used by a Deno program

Usage

deno run -A --unstable-ffi jsr:@sigma/minimize my-deno-program.ts

How it works

  • It runs the file with deno run
  • Says yes to every prompt
  • Prints all discovered permissions

Tips

The output can be customized with OUTPUT env variable, values are default, json, none

Original python version https://github.com/sigmaSd/Minimize

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @sigma/minimize

Import symbol

import * as mod from "@sigma/minimize";