1.0.1 • Published 3 years ago
@ihollander/js-generator v1.0.1
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.