Socket
Book a DemoInstallSign in
Socket

epf-fix-schema

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epf-fix-schema

Fix invalid epf rows

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

epf-fix-schema

Transform stream that fixes rows where Apple's EPF schema is inconsistent.

Usage

const Fixer = require('epf-fix-schema');
const parse = require('epf-parser');
const fs = require('fs');

fs.createReadStream('./application_detail')
  .pipe(parse((meta, rows) => {
    rows.pipe(new Fixer('application_detail', meta))
    .on('unfixable', row => console.error('Unfixable row:', row))
    .pipe(yourDestination);
  }))

License

MIT

FAQs

Package last updated on 04 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts