guitar-pro-api
v0.0.1
Published
An easy to use guitar pro file reader, exporter and compiler.
Maintainers
Readme
How to use
const GuitarPro = require('guitar-pro-api'); // CommonJS
import GuitarPro from 'guitar-pro-api'; // ES6
(async () => { // read() method is asynchronous
const data_1 = await GuitarPro.read('file.gp'); // Reads a local file
const data_2 = await GuitarPro.read('C:/Users/User/Documents/file.gp'); // Reads a file at specified location
console.dir(data_1, { depth: null, color: true }); // Displays all the data of the .gp file.
})();