generator-deno

Set up your Deno projects

Usage no npm install needed!

<script type="module">
  import generatorDeno from 'https://cdn.skypack.dev/generator-deno';
</script>

README

generator-deno Build status for Generator Deno

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.

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:

$ 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 for more details.

  1. Fork it.
  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.

License

MPL-2.0 © Seth Holladay

Go make something, dang it.