@serialport/parser-byte-length
Advanced tools
Comparing version 10.2.2 to 10.3.0
@@ -11,8 +11,2 @@ /// <reference types="node" /> | ||
* A transform stream that emits data as a buffer after a specific number of bytes are received. Runs in O(n) time. | ||
* @example | ||
const SerialPort = require('serialport') | ||
const ByteLength = require('@serialport/parser-byte-length') | ||
const port = new SerialPort('/dev/tty-usbserial1') | ||
const parser = port.pipe(new ByteLength({length: 8})) | ||
parser.on('data', console.log) // will have 8 bytes per data event | ||
*/ | ||
@@ -19,0 +13,0 @@ export declare class ByteLengthParser extends Transform { |
@@ -9,8 +9,2 @@ "use strict"; | ||
* A transform stream that emits data as a buffer after a specific number of bytes are received. Runs in O(n) time. | ||
* @example | ||
const SerialPort = require('serialport') | ||
const ByteLength = require('@serialport/parser-byte-length') | ||
const port = new SerialPort('/dev/tty-usbserial1') | ||
const parser = port.pipe(new ByteLength({length: 8})) | ||
parser.on('data', console.log) // will have 8 bytes per data event | ||
*/ | ||
@@ -17,0 +11,0 @@ class ByteLengthParser extends stream_1.Transform { |
{ | ||
"name": "@serialport/parser-byte-length", | ||
"version": "10.2.2", | ||
"version": "10.3.0", | ||
"main": "./dist/index.js", | ||
@@ -24,3 +24,3 @@ "types": "./dist/index.d.ts", | ||
}, | ||
"gitHead": "e8be807d39ad084ffc7e8609693da5a94cf8a9cb" | ||
"gitHead": "ceba41c8f89d911de210f2513aaae85fff3ab457" | ||
} |
@@ -0,1 +1,3 @@ | ||
# @serialport/parser-byte-length | ||
See our api docs https://serialport.io/docs/api-parser-byte-length |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
3876
62