# `@ashiteam/ashichords-ts-lib`

TypeScript/Node.js port of `AshiChords.LIB`.

## Features

- Chord validation and transposition
- Normal text and ACF song parsing
- Ashi chord file load/save helpers
- Song metadata helpers
- Sinhala text support included from the local TypeScript source used in this workspace

## Install

```bash
npm install @ashiteam/ashichords-ts-lib
```

## Build

```bash
npm install
npm run build
```

## Example

```ts
import { AshiChordFile, Chord, SongData } from '@ashiteam/ashichords-ts-lib';

const song = new SongData('Demo', true);
song.Text = 'G\r\nmaage\r\n';

console.log(Chord.Transpose('C', 2));
console.log(song.ACFFormattedText);

const file = new AshiChordFile();
file.Text = song.Text;
```
