Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1014 Bytes

README.md

File metadata and controls

47 lines (32 loc) · 1014 Bytes

igc-filename-parser

Build Status

IGC flight log filename parser

Install

npm install --save igc-filename-parser

or using yarn:

yarn add igc-filename-parser

Usage

const parse = require('igc-filename-parser');

let result = parse('78_65dv1qz1.igc');
{
  callsign: '78',
  date: '2016-05-13', 
  manufacturer: 'LXNAV', 
  loggerId: '1QZ', 
  numFlight: 1, 
}

For more examples have a look at our test suite.

License

igc-filename-parser is licensed under the MIT License.