open-index/open-npm huggingface dataset:
npm package: @ohasa/pacioli
Description: Themeable bookkeeping components and schemas for database integration
Author: ohasa
Latest version: 1.0.0

# Pacioli

A premium, themeable React component library and Drizzle ORM PostgreSQL schema set for building modern double-entry bookkeeping apps.

> **Pacioli** is an open-source library designed to bridge the gap between complex financial engineering and beautiful user interfaces. Named after Luca Pacioli, the father of accounting, this package provides everything you need to bootstrap a double-entry bookkeeping system in minutes.
> 
> Instead of building ledgers, journal entries, and balance validation from scratch, Pacioli gives you drop-in, highly-customizable React components that look fantastic out-of-the-box (with built-in dark mode). By bundling production-ready **Drizzle ORM schemas**, Pacioli ensures your UI is perfectly mapped to a robust PostgreSQL database architecture backing your financial data.

## Features

- **Components**: Pre-built financial UI components like `Ledger`, `JournalEntryForm`, and `AccountSummary`.
- **Theming**: Easily toggle between `'light'`, `'dark'`, and `'system'` themes. Extensively customizable via CSS variables.
- **Database Schemas**: Built-in Drizzle ORM schemas to tie your components instantly to your PostgreSQL database.

## Installation

```bash
npm install pacioli
```

Ensure you have the peer dependencies installed:
```bash
npm install react react-dom drizzle-orm
```

## Setup

First, wrap your application in the `PacioliProvider` to apply the themes.

```tsx
import { PacioliProvider, Ledger } from 'pacioli';
import 'pacioli/dist/index.css'; // Make sure to import the CSS styles!

function App() {
  return (
    <PacioliProvider theme="system">
      <Ledger 
        entries={[
          { id: '1', date: '2023-10-01', description: 'Initial Deposit', account: 'Cash', debit: 5000 },
          { id: '2', date: '2023-10-02', description: 'Office Supplies', account: 'Expenses', credit: 200 }
        ]}
      />
    </PacioliProvider>
  );
}
```

## Database Schema (Drizzle ORM)

We provide standard accounting tables out-of-the-box (`accounts`, `transactions`, `journalEntries`).

```ts
// schema.ts
export * from 'pacioli/schemas';
```

Use `drizzle-kit` to push or migrate these schemas to your database.
npm package: @ohayojp.com/components
Description: Common business components of ohayojp.
Author: ohayojp
Latest version: 1.0.0

# @ohayojp.com/components [![Build Status](https://dev.azure.com/ohayojp/ohayo/_apis/build/status/ohayo-CI?branchName=master)](https://dev.azure.com/ohayojp/ohayo/_build/latest?definitionId=1&branchName=master) [![NPM version](https://img.shields.io/npm/v/@ohayojp.com/components.svg?style=flat-square)](https://www.npmjs.com/package/@ohayojp.com/components)

Common business components of ohayojp.

## Links

+ [Document](https://ohayojp.com/components) ([Surge Mirror](https://ohayojp-doc.surge.sh/components) - [国内镜像](https://ohayojp.gitee.io/ohayo/components))
+ [@ohayojp.com Source](https://github.com/ohayojp/ohayo)
+ [DEMO](https://ohayojp.surge.sh) ([国内镜像](https://ohayojp.gitee.io/))

## Architecture

![Architecture](https://raw.githubusercontent.com/ohayojp/ohayo/master/_screenshot/architecture.png)

## Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

1. Use [GitHub Issues](https://github.com/ohayojp/ohayo/issues) board to report bugs and feature requests (not our email address)
2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

### License

The MIT License (see the [LICENSE](https://github.com/ohayojp/ohayo/blob/master/LICENSE) file for the full text)
npm package: @ohayojp.com/theme
Description: ohayojp theme system library.
Author: ohayojp
Latest version: 1.0.0

# @ohayojp.com/theme [![Build Status](https://dev.azure.com/ohayojp/ohayo/_apis/build/status/ohayo-CI?branchName=master)](https://dev.azure.com/ohayojp/ohayo/_build/latest?definitionId=1&branchName=master) [![NPM version](https://img.shields.io/npm/v/@ohayojp.com/theme.svg?style=flat-square)](https://www.npmjs.com/package/@ohayojp.com/theme)

ohayojp theme system library.

## Links

+ [Document](https://ohayojp.com/theme) ([Surge Mirror](https://ohayojp-doc.surge.sh/theme) - [国内镜像](https://ohayojp.gitee.io/ohayo/theme))
+ [@ohayojp.com Source](https://github.com/ohayojp/ohayo)
+ [DEMO](https://ohayojp.surge.sh) ([国内镜像](https://ohayojp.gitee.io/))

## Architecture

![Architecture](https://raw.githubusercontent.com/ohayojp/ohayo/master/_screenshot/architecture.png)

## Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

1. Use [GitHub Issues](https://github.com/ohayojp/ohayo/issues) board to report bugs and feature requests (not our email address)
2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

### License

The MIT License (see the [LICENSE](https://github.com/ohayojp/ohayo/blob/master/LICENSE) file for the full text)
npm package: @ohayojp/chart
Description: Cache the dictionary, city data etc.
Author: ohayojp
Latest version: 1.0.2

# @ohayojp/chart [![Build Status](https://dev.azure.com/ohayojp/ohayo/_apis/build/status/ohayo-CI?branchName=master)](https://dev.azure.com/ohayojp/ohayo/_build/latest?definitionId=1&branchName=master) [![NPM version](https://img.shields.io/npm/v/@ohayojp/chart.svg?style=flat-square)](https://www.npmjs.com/package/@ohayojp/chart)

Cache the dictionary, city data etc.

## Links

+ [Document](https://ohayojp.com/chart) ([Surge Mirror](https://ohayojp-doc.surge.sh/chart) - [国内镜像](https://ohayojp.gitee.io/ohayo/chart))
+ [@ohayojp Source](https://github.com/ohayojp/ohayo)
+ [DEMO](https://ohayojp.surge.sh) ([国内镜像](https://ohayojp.gitee.io/))

## Architecture

![Architecture](https://raw.githubusercontent.com/ohayojp/ohayo/master/_screenshot/architecture.png)

## Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

1. Use [GitHub Issues](https://github.com/ohayojp/ohayo/issues) board to report bugs and feature requests (not our email address)
2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

### License

The MIT License (see the [LICENSE](https://github.com/ohayojp/ohayo/blob/master/LICENSE) file for the full text)
npm package: @ohayojp/testing
Description: Test suite for ohayojp.
Author: ohayojp
Latest version: 1.0.2

# @ohayojp/testing [![Build Status](https://dev.azure.com/ohayojp/ohayo/_apis/build/status/ohayo-CI?branchName=master)](https://dev.azure.com/ohayojp/ohayo/_build/latest?definitionId=1&branchName=master) [![NPM version](https://img.shields.io/npm/v/@ohayojp/testing.svg?style=flat-square)](https://www.npmjs.com/package/@ohayojp/testing)

Test suite for ohayojp.

## Architecture

![Architecture](https://raw.githubusercontent.com/ohayojp/ohayo/master/_screenshot/architecture.png)

## Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

1. Use [GitHub Issues](https://github.com/ohayojp/ohayo/issues) board to report bugs and feature requests (not our email address)
2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

### License

The MIT License (see the [LICENSE](https://github.com/ohayojp/ohayo/blob/master/LICENSE) file for the full text)
npm package: @ohayojp/theme
Description: ohayojp theme system library.
Author: ohayojp
Latest version: 1.0.2

# @ohayojp/theme [![Build Status](https://dev.azure.com/ohayojp/ohayo/_apis/build/status/ohayo-CI?branchName=master)](https://dev.azure.com/ohayojp/ohayo/_build/latest?definitionId=1&branchName=master) [![NPM version](https://img.shields.io/npm/v/@ohayojp/theme.svg?style=flat-square)](https://www.npmjs.com/package/@ohayojp/theme)

ohayojp theme system library.

## Links

+ [Document](https://ohayojp.com/theme) ([Surge Mirror](https://ohayojp-doc.surge.sh/theme) - [国内镜像](https://ohayojp.gitee.io/ohayo/theme))
+ [@ohayojp Source](https://github.com/ohayojp/ohayo)
+ [DEMO](https://ohayojp.surge.sh) ([国内镜像](https://ohayojp.gitee.io/))

## Architecture

![Architecture](https://raw.githubusercontent.com/ohayojp/ohayo/master/_screenshot/architecture.png)

## Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

1. Use [GitHub Issues](https://github.com/ohayojp/ohayo/issues) board to report bugs and feature requests (not our email address)
2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

### License

The MIT License (see the [LICENSE](https://github.com/ohayojp/ohayo/blob/master/LICENSE) file for the full text)
npm package: @ohayojp/util
Description: Universal toolset of ohayojp.
Author: ohayojp
Latest version: 1.0.2

# @ohayojp/util [![Build Status](https://dev.azure.com/ohayojp/ohayo/_apis/build/status/ohayo-CI?branchName=master)](https://dev.azure.com/ohayojp/ohayo/_build/latest?definitionId=1&branchName=master) [![NPM version](https://img.shields.io/npm/v/@ohayojp/util.svg?style=flat-square)](https://www.npmjs.com/package/@ohayojp/util)

Universal toolset of ohayojp.

## Links

+ [Document](https://ohayojp.com/util) ([Surge Mirror](https://ohayojp-doc.surge.sh/util) - [国内镜像](https://ohayojp.gitee.io/ohayo/util))
+ [@ohayojp Source](https://github.com/ohayojp/ohayo)
+ [DEMO](https://ohayojp.surge.sh) ([国内镜像](https://ohayojp.gitee.io/))

## Architecture

![Architecture](https://raw.githubusercontent.com/ohayojp/ohayo/master/_screenshot/architecture.png)

## Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

1. Use [GitHub Issues](https://github.com/ohayojp/ohayo/issues) board to report bugs and feature requests (not our email address)
2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

### License

The MIT License (see the [LICENSE](https://github.com/ohayojp/ohayo/blob/master/LICENSE) file for the full text)