Skip to content

andrewrk/node-flp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FL Studio Project File Parser

Usage

File API

var flp = require('flp');

flp.parseFile("project.flp", function(err, projectInfo) {
  if (err) throw err;
  console.log(projectInfo);
});

Stream API

var flp = require('flp');
var fs = require('fs');

// or use flp.createParserChild to use a subprocess
var parser = flp.createParser();

parser.on('end', function(project) {
  console.log(project);
});

var inStream = fs.createReadStream("my-cool-project.flp");

inStream.pipe(parser);