Package Exports
- xmodem.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xmodem.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
xmodem.js
XMODEM is a simple file transfer protocol. This project implements the protocol in JavaScript. Please see the API docs for more details.
Installation
npm install xmodem.js
Usage
Sending
var xmodem = require('xmodem.js');
xmodem.send(socket, buffer);
Receiving
var xmodem = require('xmodem.js');
xmodem.receive(socket, receiveFile);