create-kosko
Create a new Kosko project.
create-kosko [path]
It's also possible to execute create-kosko
via a package manager.
- npm
- Yarn
- pnpm
npm init kosko@latest [path]
yarn create kosko@latest [path]
pnpm create kosko@latest [path]
Positionals
path
Path to initialize. Default to the current directory.
Options
--esm
Generate ECMAScript module (ESM) files.
--force, -f
Overwrite existing files.
--install
Install dependencies automatically.
--package-manager, --pm
Package manager (npm, yarn, pnpm). If this option is not specified, Kosko will detect package manager based on lock files.
--typescript, --ts
Generate TypeScript files.