https://github.com/bernankez/create-l
TypeScript Library Scaffold.
https://github.com/bernankez/create-l
Last synced: 3 months ago
JSON representation
TypeScript Library Scaffold.
- Host: GitHub
- URL: https://github.com/bernankez/create-l
- Owner: Bernankez
- License: mit
- Created: 2023-07-01T08:59:21.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-11-20T10:14:33.000Z (7 months ago)
- Last Synced: 2025-11-20T12:10:44.474Z (7 months ago)
- Language: TypeScript
- Homepage: https://create-l.keke.cc
- Size: 1.48 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-l
[](https://www.npmjs.com/package/create-l)
[](https://github.com/Bernankez/create-l/actions)
**TypeScript Library Scaffold.**
Visit https://create-l.keke.cc to get a live preview.
## Using
```sh
# 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.
```sh
$ npm create l --name --bundle
```
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
```sh
# npm
$ npm create l@legacy
# yarn
$ yarn create l@legacy
# pnpm
$ pnpm create l@legacy
# bun
$ bunx create-l@legacy
```