Skip to content

CozyUtils is a utility package designed to streamline the tedious and repetitive tasks I find myself doing on almost every project.

Notifications You must be signed in to change notification settings

CozyBrian/cozyutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here's a template for your GitHub README.md file:


CozyUtils

CozyUtils is a utility package designed to streamline the tedious and repetitive tasks I find myself doing on almost every project.

Prerequisites

Before setting up the project, ensure you have the following installed:

  • Bun (Version 1.0.29 or later. Visit Bun.sh for installation instructions)

Installation

  1. Clone the repo
  2. Run "bun install"
  3. Run "bun run build"
  4. Copy the contents of the bin directory to (honestly idk, I've just exported mine to path)

Usage

Command Line Interface

CozyUtils provides a command-line interface with the following commands:

  • -svg2tsx <directory>: Convert SVG files in a directory to React components.
  • -img2export <directory> <output_file>: Export Image files in a directory as named exports.

Example

./cozyutils -svgtotsx ./icons

Scripts

CozyUtils provides some convenient npm scripts:

  • dev: Run the package in development mode.
  • build: Build the package for production.
  • build:js: Build the package with a specific target.

About

CozyUtils is a utility package designed to streamline the tedious and repetitive tasks I find myself doing on almost every project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published