Skip to content

ihollander/js-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanilla JS Generator

A Node CLI for generating vanilla JavaScript applications

Usage

You can run this package using npx:

$ npx @ihollander/js-generator project-name

This will generate the following files:

.
├── project-name
│   ├── src
│   │   └── index.js
│   ├── styles
│   │   └── main.css
│   └── index.html

It will also initialize a local git repository in the project.

Contributing

If you'd like to make a contribution,

  • fork and clone this project;
  • run npm install to install project dependencies;
  • write and test your code; then
  • make a pull request with your new feature!

Here are some ideas for how to extend this project:

  • Use file templates instead of strings?
  • Use inquirer, chalk, figlet, etc for nicer terminal output?
  • Create a remote repo on Github & push up the code?
  • Whatever your heart desires!

If you're curious how this was put together, check out the lecture readme or video.

About

A Node CLI for generating vanilla JS projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published