Skip to content

Talentir/datev-typescript

Repository files navigation

@talentir/datev-typescript

TypeScript License

A TypeScript library for working with DATEV data formats and calculations. This library provides type-safe utilities and functions for handling DATEV-specific operations.

Features

  • 🎯 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

Installation

npm install @talentir/datev-typescript
# or
yarn add @talentir/datev-typescript
# or
bun add @talentir/datev-typescript

Usage

import { /* your exports */ } from '@talentir/datev-typescript';

// Your usage examples here

Development

Prerequisites

  • Bun (recommended)
  • Node.js (alternative)

Setup

  1. Clone the repository
git clone https://github.com/your-username/datev-typescript.git
cd datev-typescript
  1. Install dependencies
bun install
  1. Start development
bun dev

Available Scripts

  • bun dev - Run in development mode with watch
  • bun start - Run the project
  • bun build - Build the project
  • bun test - Run tests

Building

The project uses tsup for building, which creates both CommonJS and ESM outputs:

bun run build

This will generate:

  • dist/index.js (CommonJS)
  • dist/index.mjs (ESM)
  • dist/index.d.ts (TypeScript declarations)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors