4 ms·
What's wrong with `deno init`? `npm init` has been a thing for years.
by colejohnson66 4y ago
What's wrong with `deno init`? `npm init` has been a thing for years.
- peanut_worm 4y agoYeah but Deno doesn’t require package.json or anything like that. Seems sort of redundant.
- brundolf 4y agoFrom the sound of things, deno init basically just downloads a sample project- it's not creating actual boilerplate that you're going to keep using as you implement your real app
- IshKebab 4y agoYeah but that's what users want. `<project manager> init` is a de facto standard way to say "Ok, new tool that I don't understand, make me a blank project." Just because Deno's blank project is literally just `/* main.ts */ console.log("hello world!");` doesn't mean that the `init` command is useless. It's not useful if you are already aware how Deno works. The point of adding it is to help people who don't know. It's about discoverability.
- melony 4y agoIt's also missing git and gitignore.