Node Starter Kit is a command-line interface (CLI) tool that allows developers to quickly bootstrap Node.js projects. It provides a set of utilities to copy project files, initialize a Git repository, and install project dependencies.
To install Node Starter Kit, you need to have Node.js and npm (Node Package Manager) installed on your system. Once you have Node.js installed, open your terminal and run the following command:
npm install -g @oluwasemilore/node-starter-kit
After installing Node Starter Kit, simply run the command in the project directory using the following command:
node-starter-kit template [options]
The templates include:
JavaScript
: Bootstrap a JavaScript project.TypeScript
: Bootstrap a TypeScript project.
--git
,-g
: Initialize a Git repository in the project directory.--yes
,-y
: Skip all prompts and use default options.--install
,-i
: Automatically install project dependencies after creating the project.
node-starter-kit
This will prompt you to choose a project template (JavaScript or TypeScript) and whether to initialize a Git repository. And won't run npm install
node-starter-kit javascript --git --install
This will create a new JavaScript project, initialize a Git repository, and automatically install project dependencies.
The generated project will have the following structure:
project-name/
├── src/
├── package.json
We welcome contributions from the community! If you find any bugs or have suggestions for new features, please open an issue on the GitHub repository.
The TypeScript template hasn't been implemented yet. Feel free to contribrute.
To contribute to the codebase, follow these steps:
- Fork the repository on GitHub.
- Clone your forked repository to your local machine.
- Create a new branch for your changes.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your forked repository.
- Create a pull request from your branch to the main repository.
Node Starter Kit is released under the MIT License. See LICENSE for more details.
Node Starter Kit is developed and maintained by Oluwasemilore Badejo.