0.8.47 โ€ข Published 5 months ago

@zayne-labs/toolkit v0.8.47

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@zayne-labs/toolkit

A powerful collection of utility functions, types, and composables designed to accelerate development across various JavaScript/TypeScript projects. Built with modularity and type-safety in mind.

๐Ÿ“ฆ Packages

  • @zayne-labs/toolkit - Umbrella package that includes all toolkit packages
  • @zayne-labs/toolkit-core - Core utility functions and helpers
  • @zayne-labs/toolkit-type-helpers - Advanced TypeScript type utilities and helpers
  • @zayne-labs/toolkit-react - React-specific hooks, utilities, and Zustand integrations

โœจ Features

  • ๐ŸŽฏ Modular design - Import only what you need
  • ๐Ÿ“ Full TypeScript support with advanced type utilities
  • โš›๏ธ React hooks and utilities for common patterns
  • ๐Ÿ”„ Zustand store integrations and helpers
  • ๐ŸŽจ Zero runtime overhead for type utilities
  • ๐Ÿ“ฆ Tree-shakeable exports
  • ๐Ÿงช Thoroughly tested utilities
  • ๐Ÿ”œ Support for Vue, Svelte, and Solid coming soon!

๐Ÿ“ฅ Installation

# Using pnpm (recommended)
pnpm add @zayne-labs/toolkit

# Using npm
npm install @zayne-labs/toolkit

# Using yarn
yarn add @zayne-labs/toolkit

๐Ÿš€ Quick Start

// Core utilities
import { someUtil } from '@zayne-labs/toolkit/core'

// React hooks
import { useToggle } from '@zayne-labs/toolkit/react'

// React utilities
import { cn } from '@zayne-labs/toolkit/react/utils'

// Zustand utilities
import { createStore } from '@zayne-labs/toolkit/react/zustand'

// Type helpers
import type { Prettify } from '@zayne-labs/toolkit/type-helpers'

๐Ÿ› ๏ธ Development

This project uses pnpm as the package manager. To get started with development:

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run development build
pnpm build:dev

# Run tests
pnpm build:test

# Lint code
pnpm lint:eslint

# Format code
pnpm lint:format

๐Ÿ“ Project Structure

toolkit/
โ”œโ”€โ”€ packages/
โ”‚   โ”œโ”€โ”€ toolkit/          # Main package that exports all utilities
โ”‚   โ”œโ”€โ”€ toolkit-core/     # Core JavaScript/TypeScript utilities
โ”‚   โ”œโ”€โ”€ toolkit-react/    # React-specific hooks and utilities
โ”‚   โ””โ”€โ”€ toolkit-type-helpers/  # TypeScript type utilities
โ”œโ”€โ”€ dev/                  # Development utilities
โ””โ”€โ”€ package.json         # Root package.json

๐Ÿค Contributing

We welcome contributions! Please check out our contribution guidelines for details on how to get started.

๐Ÿ“„ License

MIT ยฉ Ryan Zayne


0.8.45

5 months ago

0.8.47

5 months ago

0.8.46

5 months ago

0.8.38

6 months ago

0.8.37

6 months ago

0.8.39

6 months ago

0.8.36

6 months ago

0.8.34

7 months ago

0.8.33

7 months ago

0.8.35

6 months ago

0.8.30

7 months ago

0.8.32

7 months ago

0.8.31

7 months ago

0.8.27

7 months ago

0.8.28

7 months ago

0.8.23

7 months ago

0.8.25

7 months ago

0.8.24

7 months ago

0.8.26

7 months ago

0.8.22

8 months ago

0.8.21

8 months ago

0.8.20

8 months ago

0.8.19

8 months ago

0.8.12

8 months ago

0.8.11

8 months ago

0.8.14

8 months ago

0.8.13

8 months ago

0.8.16

8 months ago

0.8.15

8 months ago

0.8.18

8 months ago

0.8.17

8 months ago

0.8.9

8 months ago

0.8.8

8 months ago

0.8.5

8 months ago

0.8.7

8 months ago

0.8.6

8 months ago

0.8.10

8 months ago

0.8.4

8 months ago

0.8.3

8 months ago

0.8.2

8 months ago

0.8.1

8 months ago

0.8.0

8 months ago

0.6.7

9 months ago

0.6.6

9 months ago

0.6.8

9 months ago

0.7.0

9 months ago

0.6.5

9 months ago

0.6.3

9 months ago

0.6.4

9 months ago

0.6.2

10 months ago

0.6.1

10 months ago

0.6.0

10 months ago

0.5.2

10 months ago

0.5.1

10 months ago

0.4.9

10 months ago

0.4.8

10 months ago

0.4.10

10 months ago

0.4.11

10 months ago

0.4.12

10 months ago

0.3.0

10 months ago

0.2.0

11 months ago

0.4.5

10 months ago

0.4.4

10 months ago

0.4.7

10 months ago

0.4.6

10 months ago

0.5.0

10 months ago

0.4.1

10 months ago

0.4.0

10 months ago

0.4.3

10 months ago

0.4.2

10 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago

0.0.1

12 months ago