Decense (deno license) allows you to generate a license with one deno run
command—no downloading, no chmod +x ./program_name
, no installing.
- Make sure Deno is installed
- Run
deno run --allow-write --allow-net https://deno.land/x/decense/main.ts
- Pick your license and enter your name
- 🦕🎉
Q: Why is there an --allow-write
and --allow-net
?
A: Deno is secure by default—accessing the network and writing files locally requires additional permission. Those two commands are used to fetch the license and write it on your computer.
Q: Where does the license comes from?
A: All these license templates comes from this github repository.