GithubHelp home page GithubHelp logo

create-node-ts-cli's Introduction

node-ts-cli

Coverage PRs Welcome

Overview

Using this tool you will quickly start creating your own cli tools either for personal use or for your development team

Getting started

  • Create the project by executing the following command
    $ npm init node-ts-cli@latest my-project
  • Install the dependencies
  $ cd my-project
  $ yarn install
  • Start creating the code in the src folder using typescript and run it with dev
  $ yarn dev

Motivation and features

  • Javascript developer can avoid learning curve on how to write Bash Scripts

  • Enforce good standards to get quality code using popular tools

  • Reduce the effort overthinking which packages to use or defining the basic structure

Contributing

You can always help to improve this tool. See CONTRIBUTING.md for more information to have you onboard.

License

Create Node TS CLI is open source software licensed as MIT.

create-node-ts-cli's People

Contributors

mickambar19 avatar

Watchers

 avatar

create-node-ts-cli's Issues

As a user, I want to be able to have a cli project which support ECMAScript modules to avoid errors with third party libraries

A user commonly use another package to ask questions through the terminal or parse arguments. These well known packages commonly support ECMAScript modules and do not have backward compatibility with Common JS in latest version of the package.
This leads to the next message

Error [ERR_REQUIRE_ESM]: require() of ES Module node_modules/inquirer/lib/inquirer.js from csv-to-insert/index.ts not supported. Instead change the require of inquirer.js in csv-to-insert/index.ts to a dynamic import() which is available in all CommonJS modules. }

You can read more about this problem in an issue of inquirer library

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.