Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@tinyhttp/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
The tinyhttp CLI to quick-start new projects.
Install
Node.js 16.8+ is required.
pnpm i -g @tinyhttp/cliUsage
tinyhttp new <template> [folder]
tinyhttp new basic my-appArguments
templateis the name of template from examples folder.folderargument is optional
Flags
--pkg- custom package manager to use for running installation commands.
Some flags help you to quickly create popular tool configurations for Node.js projects so you don't have to write them from scratch.
--prettier- creates a Prettier config (and installs Prettier)--eslint- creates an ESLint config (and installs ESLint, Prettier and plugins)--eslint-ts- creates an ESLint config for a TypeScript project (and installs ESLint, Prettier, TypeScript and plugins)--full---prettierand--eslintcombined