Convert karaoke files from KFN format (Karafun) to ASS files
Conversion tool made to parse KFN files (https://www.karafun.fr) and rewrite their lyrics using ASS format
``bashPrints conversion on stdout
kfn-to-ass -i
$3
#### function parseKfn(fileContent: string, encodingIn?: BufferEncoding, encodingOut?: string): KfnData
Loads a
KfnData structure based on said fileContentencodingIn is the one you used to read your file (defaults as 'binary')encodingOut is the one you want your output to use (defaults as 'utf8')It is recommended you read the fileContent with a 'binary' encoding so the header can be properly decoded
#### function convertKfnToAss(kfn: KfnData, options: Options): string
Prepares said
kfn and returns it as a string`#### interface Options
Wraps all options that could be used during conversion. Its members are:
- offset (number): offsets every line
- useFileInstructions (boolean): allows conversion tweaks KFN authors could have written on a per file basis