https://github.com/junaedsiam/libia
A CLI tool to scaffold your next frontend library
https://github.com/junaedsiam/libia
boilerplate cli generator javascript library react scaffolding starter svelte typescript vue
Last synced: 9 months ago
JSON representation
A CLI tool to scaffold your next frontend library
- Host: GitHub
- URL: https://github.com/junaedsiam/libia
- Owner: junaedsiam
- License: mit
- Created: 2024-01-24T16:27:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T16:21:02.000Z (over 2 years ago)
- Last Synced: 2025-09-21T10:36:01.553Z (9 months ago)
- Topics: boilerplate, cli, generator, javascript, library, react, scaffolding, starter, svelte, typescript, vue
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/libia
- Size: 384 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A CLI tool to scaffold your next frontend library
### Libia
Libia is a CLI tool to scaffold your next frontend library template. It provides library specific configurations along with starter files.
**Supported platforms**
- Vanilla JS / TS
- React (JS / TS)
- Vue (JS / TS)
- Svelte (JS / TS)
### Getting started
To initialize the CLI -
**pnpm**
```bash
# pnpm
pnpm dlx libia init .
# or
pnpm dlx libia init lib-name
```
You can use other package managers as well
```bash
# npm
npx libia init lib-name
# yarn
yarn dlx libia init lib-name
```
#### Example
```bash
pnpm dlx libia init test
---
? Enter your package name: test
? Choose Project framework: React
? Want to use Typescript? yes
? Entry file : src / index.ts
? Want to seperate CSS file from JS? yes
? Choose a package manager: pnpm (recommended)
✔ Preparing template
✔ Initializing git
✔ installing dependencies
┌───────────────┐
│ │
│ All done! │
│ │
└───────────────┘
Head into your package, and build something amazing
```
For bugs and feature requests, create an issue. If you find this tool useful feel free to give it a star on github! Happy coding!