Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

omnipod-file-reader

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omnipod-file-reader

An Omnipod export file parser

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

omnipod-file-reader

This is a fork of ibf-file-reader. This library parses a binary IBF file from an Omnipod PDM into an array.

All credit goes to the original author(s). All this repo does is package up the original library into one parseOmnipodFile function, and provides the documentation below.

Usage

import fs from 'fs';
import parseOmnipodFile from 'omnipod-file-reader';

const MY_IBF_FILE = './test/input.ibf';
const MY_OUTPUT_FILE = './test/output.json';

parseOmnipodFile(MY_IBF_FILE).then((parsedData) => {
  const jsonData = JSON.stringify(parsedData, null, 2);

  fs.writeFile(MY_OUTPUT_FILE, jsonData, (err) => {
    if (err) {
      console.log(err);
    } else {
      console.log(`Finished saving to ${MY_OUTPUT_FILE}.`);
    }
  });
}).catch(console.error);

Notes

If you're using macOS, you'll need Android File Transfer installed to be able to extract your Omnipod's IBF data file.

License

MIT

FAQs

Package last updated on 24 May 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc