UNPKG

nixfilter-logicsignal

Version:

Filters for handling (compressing/uncompressing etc.) logic signals

26 lines (19 loc) 637 B
#!/usr/bin/env node 'use strict'; var nixfilter, reader, writer; // Require the "nixfilter" module nixfilter = require('nixfilter'); // Import/Require the local "reader" module reader = require('./reader'); // Import/Require the local "writer" module writer = require('./writer'); // Define the filter and register it on the module nixfilter.filter(module, { description: 'Compress/shorten logic signals', input_reader: reader.logic_signal(), output_writer: writer.logic_signal(), on_input: function(logic_signal) { return this.output(logic_signal.compress()); } }); //# sourceMappingURL=logic_signal_compress.js.map