A TypeScript library for working with DATEV data formats and calculations. This library provides type-safe utilities and functions for handling DATEV-specific operations.
- 🎯 Type-Safe: Built with TypeScript for better development experience
- 📊 Big.js Integration: Precise decimal calculations using big.js
- 📅 Date Handling: Powered by dayjs for robust date operations
- ✅ Runtime Validation: Schema validation using Zod
- 📦 Dual Package: Supports both CommonJS and ESM
npm install @talentir/datev-typescript
# or
yarn add @talentir/datev-typescript
# or
bun add @talentir/datev-typescriptimport { /* your exports */ } from '@talentir/datev-typescript';
// Your usage examples here- Bun (recommended)
- Node.js (alternative)
- Clone the repository
git clone https://github.com/your-username/datev-typescript.git
cd datev-typescript- Install dependencies
bun install- Start development
bun devbun dev- Run in development mode with watchbun start- Run the projectbun build- Build the projectbun test- Run tests
The project uses tsup for building, which creates both CommonJS and ESM outputs:
bun run buildThis will generate:
dist/index.js(CommonJS)dist/index.mjs(ESM)dist/index.d.ts(TypeScript declarations)
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.