chart-to-json
v1.2.0
Published
[![Test](https://github.com/neogeek/chart-to-json/actions/workflows/test.workflow.yml/badge.svg)](https://github.com/neogeek/chart-to-json/actions/workflows/test.workflow.yml) [![NPM version](https://img.shields.io/npm/v/chart-to-json)](https://www.npmjs.
Downloads
8
Readme
chart-to-json
Install
$ npm install chart-to-json --save
Usage
Node.js
import { readFile } from 'node:fs/promises';
import chartToJson from 'chart-to-json';
const chart = await readFile('notes.chart', 'utf-8');
const data = chartToJson(chart);
console.log(data);
CLI
$ npx chart-to-json ./notes.chart > notes.json