# herochartio

> chart parser and serializer from clone hero

Latest version **1.1.0** (published 2020-04-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install herochartio
pnpm add herochartio
yarn add herochartio
bun add herochartio
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-04-14 |
| First published | 2020-02-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 68.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Aurelie Richard |
| Maintainers | bumpmann |
| Keywords | clone-hero, clonehero, chart |

## Links

- npm: https://www.npmjs.com/package/herochartio
- Repository: https://github.com/bumpmann/herochartio
- Homepage: https://github.com/bumpmann/herochartio#readme
- Issues: http://github.com/bumpmann/herochartio/issues
- npm.io page: https://npm.io/package/herochartio

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [fs-extra](https://npm.io/package/fs-extra.md) 8.1.0
- [midi-file](https://npm.io/package/midi-file.md) ^1.1.2

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-04-14
- 1.0.2 — 2020-02-23
- 1.0.1 — 2020-02-21
- 1.0.0 — 2020-02-20

## README

Node.js: herochartio
=================

`herochartio` a chart parser and serializer from clone hero. This includes types for typescript and few helpers. This also supports mid charts parsing.

Installation
------------

    npm install herochartio

Usage
-----

```js
import { ChartIO } from 'herochartio'
```

```js
let chart = await ChartIO.load("./notes"); // load .chart or .mid

let sectionPosition = chart.findSectionPosition("Guitar solo");
let sectionTime = chart.positionToSeconds(sectionPosition);

// ...

await ChartIO.save(chart, "./guitar.chart");

```

License
-------

Licensed under MIT

Copyright (c) 2020 [Aurélie Richard](https://arichard.me)

---
_Source: https://npm.io/package/herochartio · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
