backend v4 half
This commit is contained in:
+2
@@ -22,6 +22,8 @@
|
||||
npm install ieee754
|
||||
```
|
||||
|
||||
[Get supported ieee754 with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-ieee754?utm_source=npm-ieee754&utm_medium=referral&utm_campaign=readme)
|
||||
|
||||
## methods
|
||||
|
||||
`var ieee754 = require('ieee754')`
|
||||
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
declare namespace ieee754 {
|
||||
export function read(
|
||||
buffer: Uint8Array, offset: number, isLE: boolean, mLen: number,
|
||||
nBytes: number): number;
|
||||
export function write(
|
||||
buffer: Uint8Array, value: number, offset: number, isLE: boolean,
|
||||
mLen: number, nBytes: number): void;
|
||||
}
|
||||
|
||||
export = ieee754;
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
||||
var e, m
|
||||
var eLen = (nBytes * 8) - mLen - 1
|
||||
|
||||
+5
-20
@@ -1,19 +1,19 @@
|
||||
{
|
||||
"name": "ieee754",
|
||||
"description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object",
|
||||
"version": "1.2.1",
|
||||
"version": "1.1.13",
|
||||
"author": {
|
||||
"name": "Feross Aboukhadijeh",
|
||||
"email": "feross@feross.org",
|
||||
"url": "https://feross.org"
|
||||
"url": "http://feross.org"
|
||||
},
|
||||
"contributors": [
|
||||
"Romain Beauxis <toots@rastageeks.org>"
|
||||
],
|
||||
"devDependencies": {
|
||||
"airtap": "^3.0.0",
|
||||
"airtap": "0.1.0",
|
||||
"standard": "*",
|
||||
"tape": "^5.0.1"
|
||||
"tape": "^4.0.0"
|
||||
},
|
||||
"keywords": [
|
||||
"IEEE 754",
|
||||
@@ -24,7 +24,6 @@
|
||||
],
|
||||
"license": "BSD-3-Clause",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/feross/ieee754.git"
|
||||
@@ -34,19 +33,5 @@
|
||||
"test-browser": "airtap -- test/*.js",
|
||||
"test-browser-local": "airtap --local -- test/*.js",
|
||||
"test-node": "tape test/*.js"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/feross"
|
||||
},
|
||||
{
|
||||
"type": "patreon",
|
||||
"url": "https://www.patreon.com/feross"
|
||||
},
|
||||
{
|
||||
"type": "consulting",
|
||||
"url": "https://feross.org/support"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user