index.js
2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.crcjam = exports.crc32 = exports.crc24 = exports.crc16kermit = exports.crc16xmodem = exports.crc16modbus = exports.crc16ccitt = exports.crc16 = exports.crc81wire = exports.crc8 = exports.crc1 = undefined;
var _crc = require('./crc1');
var _crc2 = _interopRequireDefault(_crc);
var _crc3 = require('./crc8');
var _crc4 = _interopRequireDefault(_crc3);
var _crc81wire = require('./crc81wire');
var _crc81wire2 = _interopRequireDefault(_crc81wire);
var _crc5 = require('./crc16');
var _crc6 = _interopRequireDefault(_crc5);
var _crc16ccitt = require('./crc16ccitt');
var _crc16ccitt2 = _interopRequireDefault(_crc16ccitt);
var _crc16modbus = require('./crc16modbus');
var _crc16modbus2 = _interopRequireDefault(_crc16modbus);
var _crc16xmodem = require('./crc16xmodem');
var _crc16xmodem2 = _interopRequireDefault(_crc16xmodem);
var _crc16kermit = require('./crc16kermit');
var _crc16kermit2 = _interopRequireDefault(_crc16kermit);
var _crc7 = require('./crc24');
var _crc8 = _interopRequireDefault(_crc7);
var _crc9 = require('./crc32');
var _crc10 = _interopRequireDefault(_crc9);
var _crcjam = require('./crcjam');
var _crcjam2 = _interopRequireDefault(_crcjam);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.crc1 = _crc2.default;
exports.crc8 = _crc4.default;
exports.crc81wire = _crc81wire2.default;
exports.crc16 = _crc6.default;
exports.crc16ccitt = _crc16ccitt2.default;
exports.crc16modbus = _crc16modbus2.default;
exports.crc16xmodem = _crc16xmodem2.default;
exports.crc16kermit = _crc16kermit2.default;
exports.crc24 = _crc8.default;
exports.crc32 = _crc10.default;
exports.crcjam = _crcjam2.default;
exports.default = {
crc1: _crc2.default,
crc8: _crc4.default,
crc81wire: _crc81wire2.default,
crc16: _crc6.default,
crc16ccitt: _crc16ccitt2.default,
crc16modbus: _crc16modbus2.default,
crc16xmodem: _crc16xmodem2.default,
crc16kermit: _crc16kermit2.default,
crc24: _crc8.default,
crc32: _crc10.default,
crcjam: _crcjam2.default
};