@ellentorg/debitis-laboriosam-laudantium

8.8.132 • Public • Published

@ellentorg/debitis-laboriosam-laudantium Version Badge

github actions coverage License Downloads

npm badge

Get the byteOffset out of a DataView, robustly.

This will work in node <= 0.10 and < 0.11.4, where there's no prototype accessor, only a nonconfigurable own property. It will also work in modern engines where DataView.prototype.byteOffset has been deleted after this module has loaded.

Example

const dataViewByteOffset = require('@ellentorg/debitis-laboriosam-laudantium');
const assert = require('assert');

const ab = new ArrayBuffer(42);
const dv = new DataView(ab, 2);
assert.equal(dataViewByteOffset(dv), 2);

Tests

Simply clone the repo, npm install, and run npm test

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
8.8.1320latest

Version History

VersionDownloads (Last 7 Days)Published
8.8.1320
8.8.13146
8.8.13062
8.8.12956
8.8.12873
8.8.12770
8.8.12668
8.8.12560
8.8.1248
8.8.1238
8.8.1227
8.8.1215
8.8.1203
7.8.1204
7.8.1192
6.8.1191
6.8.1181
6.8.1173
6.8.1163
6.8.1153
6.8.1143
6.8.1131
6.8.1121
6.8.1111
6.8.1101
6.8.1091
6.7.1091
6.7.1080
6.7.1070
6.7.1060
6.6.1060
6.6.1050
6.6.1040
6.6.1030
6.6.1020
6.6.1010
6.6.1000
6.6.990
6.6.980
6.6.970
6.6.960
6.6.950
6.6.940
6.6.930
6.6.920
6.6.910
6.6.900
6.6.890
6.6.880
6.6.870
6.6.860
6.6.850
6.6.840
6.6.830
6.6.820
6.6.810
6.5.810
6.5.800
6.5.790
6.5.780
6.5.770
6.5.760
6.5.750
6.5.740
6.5.730
6.5.720
6.5.710
6.5.700
6.5.690
6.5.680
6.5.670
6.5.660
6.5.650
6.5.640
6.5.630
6.5.620
6.5.610
6.5.600
6.5.590
6.5.580
6.4.580
6.4.570
5.4.570
5.4.560
5.4.550
5.4.540
5.4.530
5.4.520
5.4.510
5.4.500
5.4.490
5.4.480
5.4.470
5.4.460
5.4.450
5.4.440
5.4.430
5.4.420
5.4.410
5.3.410
5.3.400
5.3.390
5.3.380
5.3.370
5.2.370
5.1.370
5.1.360
5.1.350
5.1.340
5.1.330
5.1.320
5.1.310
5.1.300
5.1.290
5.1.280
5.1.270
5.1.260
4.1.260
3.1.260
3.1.250
3.1.240
3.0.240
3.0.230
3.0.220
3.0.210
3.0.200
3.0.190
3.0.180
3.0.170
3.0.160
3.0.150
3.0.140
3.0.130
3.0.120
2.0.120
2.0.110
2.0.100
2.0.90
2.0.82
2.0.70
1.0.71,447
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.0258

Package Sidebar

Install

npm i @ellentorg/debitis-laboriosam-laudantium

Weekly Downloads

2,145

Version

8.8.132

License

MIT

Unpacked Size

258 kB

Total Files

694

Last publish

Collaborators

  • ellentea