open-index/open-npm huggingface dataset:
npm package: @tako./resume-builder-core
Description: Resume data model, types and validation
Latest version: 1.0.3

# @tako./resume-builder-core

Resume data model, types and validation (JSON Resume–aligned).

## Install

```bash
npm install @tako./resume-builder-core
```

## Usage

### Types

- **Resume** – full resume (basics, work, education, skills, languages, projects)
- **Basics**, **WorkExperience**, **Education**, **Skill**, **Language**, **Project**
- **ValidateResult** – `{ success: true, data: Resume }` or `{ success: false, errors: ZodIssue[] }`

### Validation

```ts
import { validateResume, type Resume } from "@tako./resume-builder-core"

const result = validateResume({ basics: { name: "Jane", email: "jane@example.com" } })
if (result.success) {
  const resume: Resume = result.data
}
```

## API

- **validateResume(data: unknown): ValidateResult** – validates and returns typed resume or errors.

## Scripts

- `npm run build` – compile to `dist/`
- `npm run test` / `npm run test:run` – run Vitest