igc-filename-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i igc-filename-parser

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

7.74 kB

Total Files

5

Last publish

Collaborators

  • turbo87