0.8.47 โ€ข Published 3 months ago

@zayne-labs/toolkit v0.8.47

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 months ago

0.8.47

3 months ago

0.8.46

3 months ago

0.8.38

4 months ago

0.8.37

4 months ago

0.8.39

4 months ago

0.8.36

4 months ago

0.8.34

5 months ago

0.8.33

5 months ago

0.8.35

4 months ago

0.8.30

5 months ago

0.8.32

5 months ago

0.8.31

5 months ago

0.8.27

5 months ago

0.8.28

5 months ago

0.8.23

5 months ago

0.8.25

5 months ago

0.8.24

5 months ago

0.8.26

5 months ago

0.8.22

6 months ago

0.8.21

6 months ago

0.8.20

6 months ago

0.8.19

6 months ago

0.8.12

6 months ago

0.8.11

6 months ago

0.8.14

6 months ago

0.8.13

6 months ago

0.8.16

6 months ago

0.8.15

6 months ago

0.8.18

6 months ago

0.8.17

6 months ago

0.8.9

6 months ago

0.8.8

6 months ago

0.8.5

6 months ago

0.8.7

6 months ago

0.8.6

6 months ago

0.8.10

6 months ago

0.8.4

6 months ago

0.8.3

6 months ago

0.8.2

6 months ago

0.8.1

6 months ago

0.8.0

6 months ago

0.6.7

7 months ago

0.6.6

7 months ago

0.6.8

7 months ago

0.7.0

7 months ago

0.6.5

7 months ago

0.6.3

7 months ago

0.6.4

7 months ago

0.6.2

8 months ago

0.6.1

8 months ago

0.6.0

8 months ago

0.5.2

8 months ago

0.5.1

8 months ago

0.4.9

8 months ago

0.4.8

8 months ago

0.4.10

8 months ago

0.4.11

8 months ago

0.4.12

8 months ago

0.3.0

9 months ago

0.2.0

9 months ago

0.4.5

8 months ago

0.4.4

8 months ago

0.4.7

8 months ago

0.4.6

8 months ago

0.5.0

8 months ago

0.4.1

9 months ago

0.4.0

9 months ago

0.4.3

8 months ago

0.4.2

9 months ago

0.1.5

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago

0.0.1

10 months ago