Libia

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

# pnpm
pnpm dlx libia init .
# or
pnpm dlx libia init lib-name

You can use other package managers as well

# npm
npx libia init lib-name
# yarn
yarn dlx libia init lib-name

Example

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!

Top categories

Loading Svelte Themes