index.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.crcjam = exports.crc32 = exports.crc24 = exports.crc16kermit = exports.crc16xmodem = exports.crc16modbus = exports.crc16ccitt = exports.crc16 = exports.crc81wire = exports.crc8 = exports.crc1 = undefined;
  6. var _crc = require('./crc1');
  7. var _crc2 = _interopRequireDefault(_crc);
  8. var _crc3 = require('./crc8');
  9. var _crc4 = _interopRequireDefault(_crc3);
  10. var _crc81wire = require('./crc81wire');
  11. var _crc81wire2 = _interopRequireDefault(_crc81wire);
  12. var _crc5 = require('./crc16');
  13. var _crc6 = _interopRequireDefault(_crc5);
  14. var _crc16ccitt = require('./crc16ccitt');
  15. var _crc16ccitt2 = _interopRequireDefault(_crc16ccitt);
  16. var _crc16modbus = require('./crc16modbus');
  17. var _crc16modbus2 = _interopRequireDefault(_crc16modbus);
  18. var _crc16xmodem = require('./crc16xmodem');
  19. var _crc16xmodem2 = _interopRequireDefault(_crc16xmodem);
  20. var _crc16kermit = require('./crc16kermit');
  21. var _crc16kermit2 = _interopRequireDefault(_crc16kermit);
  22. var _crc7 = require('./crc24');
  23. var _crc8 = _interopRequireDefault(_crc7);
  24. var _crc9 = require('./crc32');
  25. var _crc10 = _interopRequireDefault(_crc9);
  26. var _crcjam = require('./crcjam');
  27. var _crcjam2 = _interopRequireDefault(_crcjam);
  28. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  29. exports.crc1 = _crc2.default;
  30. exports.crc8 = _crc4.default;
  31. exports.crc81wire = _crc81wire2.default;
  32. exports.crc16 = _crc6.default;
  33. exports.crc16ccitt = _crc16ccitt2.default;
  34. exports.crc16modbus = _crc16modbus2.default;
  35. exports.crc16xmodem = _crc16xmodem2.default;
  36. exports.crc16kermit = _crc16kermit2.default;
  37. exports.crc24 = _crc8.default;
  38. exports.crc32 = _crc10.default;
  39. exports.crcjam = _crcjam2.default;
  40. exports.default = {
  41. crc1: _crc2.default,
  42. crc8: _crc4.default,
  43. crc81wire: _crc81wire2.default,
  44. crc16: _crc6.default,
  45. crc16ccitt: _crc16ccitt2.default,
  46. crc16modbus: _crc16modbus2.default,
  47. crc16xmodem: _crc16xmodem2.default,
  48. crc16kermit: _crc16kermit2.default,
  49. crc24: _crc8.default,
  50. crc32: _crc10.default,
  51. crcjam: _crcjam2.default
  52. };