create-l

2.0.3 • Public • Published

create-l

npm CI

TypeScript Library Scaffold.

Using

# npm
$ npm create l

# yarn
$ yarn create l

# pnpm
$ pnpm create l

# bun
$ bunx create-l

Then you need to answer a series of questions to create the template.

You can also directly specify the project name and the template to use via additional command line options.

$ npm create l --name <projectName> --bundle <unbuild | tsup | vite>

The default project name is my-lib and the default bundle tool is unbuild if no project name or bundle tool is specified.

Currently supported template presets include:

  • unbuild
  • tsup
  • vite

You can use . for the project name to scaffold in the current directory.

[!IMPORTANT] Since v2.0.0, monorepo and Vue SFC templates have been removed. If you still have a need to use them, you can use cli with legacy tag

# npm
$ npm create l@legacy

# yarn
$ yarn create l@legacy

# pnpm
$ pnpm create l@legacy

# bun
$ bunx create-l@legacy

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.3
    2
    • latest
  • 1.0.0
    0
    • legacy

Version History

Package Sidebar

Install

npm i create-l

Weekly Downloads

2

Version

2.0.3

License

MIT

Unpacked Size

225 kB

Total Files

46

Last publish

Collaborators

  • bernankez