Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 591 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 591 Bytes

create-a-new-app

A CLI for creating your new nodejs application. Just run...

npx create-a-new-app

...and follow the prompts.

API

You can also use create-a-new-app programmatically:

import { create } from 'create-a-new-app';

await create('my-new-app', {
  name: 'my-new-app',
  type: 'server', // or 'library';
  lang: 'typescript', // or 'javascript';
  template: 'express', // or '' if type is 'library'
  prettier: false,
  eslint: false,
  lintstaged: false,
  commitlint: false,
  ghActions: false, // currently only availabe if type is 'library'
});