https://github.com/sholladay/generator-deno
Set up your Deno projects
https://github.com/sholladay/generator-deno
deno denojs denoland
Last synced: 10 months ago
JSON representation
Set up your Deno projects
- Host: GitHub
- URL: https://github.com/sholladay/generator-deno
- Owner: sholladay
- License: mpl-2.0
- Created: 2019-01-26T08:58:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-26T11:32:33.000Z (almost 7 years ago)
- Last Synced: 2024-04-14T00:25:17.805Z (over 1 year ago)
- Topics: deno, denojs, denoland
- Language: JavaScript
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# generator-deno [](https://travis-ci.com/sholladay/generator-deno "Builds")
> Set up your Deno projects
This [Yeoman](https://yeoman.io) generator will help you scaffold a new [Deno](https://github.com/denoland/deno) app or library.
*Deno is a next-generation server-side runtime for JavaScript and [TypeScript](https://www.typescriptlang.org/). It is an improved version of Node.js, written by Node's original creator, [Ryan Dahl](https://en.wikipedia.org/wiki/Ryan_Dahl).*
## Why?
- 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.
## Install
```
$ npm install yo generator-deno --global
```
## Usage
Create your new project with [yo](https://github.com/yeoman/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`).
## Command line options
### `--username`
Example: `--username=janedoe`
Author's online handle
### `--fullName`
Example: `--fullName='Jane Doe'`
Author's full legal name
### `--email`
Example: `--email=jane@doe.com`
Author's contact address
### `--website`
Example: `--website='https://janedoe.com'`
Author's website URL
### `--createRemote`
Example: `--createRemote` or `--no-createRemote`
Create a GitHub repository
### `--accessToken`
Example: `--accessToken='123xyz'`
GitHub API token to create a repo
## Contributing
See our [contributing guidelines](https://github.com/sholladay/generator-deno/blob/master/CONTRIBUTING.md "Guidelines for participating in this project") for more details.
1. [Fork it](https://github.com/sholladay/generator-deno/fork).
2. Make a feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. [Submit a pull request](https://github.com/sholladay/generator-deno/compare "Submit code to this project for review").
## License
[MPL-2.0](https://github.com/sholladay/generator-deno/blob/master/LICENSE "License for generator-deno") © [Seth Holladay](https://seth-holladay.com "Author of generator-deno")
Go make something, dang it.