Set up your Deno projects
This Yeoman generator will help you scaffold a new Deno app or library.
Deno is a next-generation server-side runtime for JavaScript and TypeScript. It is an improved version of Node.js, written by Node's original creator, Ryan Dahl.
- Deno is awesome and you should use it.
- No prior knowledge of Deno is required.
- Can create a repository on GitHub and set up Travis CI.
$ npm install yo generator-deno --global
Create your new project with yo:
$ yo deno
View the help for command line options to learn more:
$ yo deno --help
Usage:
yo deno [options]
Options:
--help # Print the generator's options and usage
--skip-cache # Do not remember prompt answers Default: false
--skip-install # Do not automatically install dependencies Default: false
...
You will be prompted for any options not passed on the command line. Boolean flags can be negated with the no
prefix (e.g. --no-createRemote
).
Example: --username=janedoe
Author's online handle
Example: --fullName='Jane Doe'
Author's full legal name
Example: --email=jane@doe.com
Author's contact address
Example: --website='https://janedoe.com'
Author's website URL
Example: --createRemote
or --no-createRemote
Create a GitHub repository
Example: --accessToken='123xyz'
GitHub API token to create a repo
See our contributing guidelines for more details.
- Fork it.
- Make a feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request.
Go make something, dang it.