@guieen/node-starter

A simple command-line utility for starting TS/JS project 🌈

Usage no npm install needed!

<script type="module">
  import guieenNodeStarter from 'https://cdn.skypack.dev/@guieen/node-starter';
</script>

README

TS/JS project starter

npm version LICENSE

🏳️‍🌈 Simple TS/JS project starter!

No more annoying tedious npm install -D @types/~ for starting your new project.

This module will let you start coding without configuration and installing packages. All you need to do is set your initial state of repository (or you can use my sample node server) and type the node-starter cli command.

By default, simple node-server will be created. You can also use your repository to set an initial state of node project.

Happy coding ✨

Contribute your starter repositories ==> node_starter_samples repository

Install

npm install @guieen/node-starter -g

Basic Usage

Usage: node-starter [options] [command]

Options:
  -V, --version      output the version number
  -h, --help         output usage information

Commands:
  i [options] [dir]

Examples:
  $ node-starter i [project_name]
  $ node-starter i [project_name] -t [repository_url]
node-starter i [project_name]
node-starter i [project_name] -t [repository_url]

# This will create `my-app` dir and clone & install packages of default / another repository you set
node-starter i my-app
node-starter i my-app -t https://github.com/GUIEEN/node-starter
  • repository_url : You can set any git repository to use as a starter kit

TediousTediousTediousTediousTediousTediousTedious... :|

alt text

Update

  • Fix the issues with installing

Todo...

  • Make a page for this module and let ppl share their customized initial repositories :)
  • Show available starter samples in repositories with CLI
  • Select the lint configuration before installing application and apply it after project is installed.
  • ...

These are the features of what I'm thinking to do in near future ✨

How do you guys think ? Any feedback would be welcome 🍀