This commit is contained in:
2022-07-18 02:50:52 +00:00
parent befd344ab0
commit 06181b34d6
8569 changed files with 818704 additions and 352705 deletions
-2
View File
@@ -22,8 +22,6 @@
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
View File
@@ -0,0 +1,10 @@
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
View File
@@ -1,3 +1,4 @@
/*! 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
+33 -16
View File
@@ -1,40 +1,42 @@
{
"_args": [
[
"ieee754@1.1.13",
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
"ieee754@1.2.1",
"/home/node/nuxt"
]
],
"_from": "ieee754@1.1.13",
"_id": "ieee754@1.1.13",
"_from": "ieee754@1.2.1",
"_id": "ieee754@1.2.1",
"_inBundle": false,
"_integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==",
"_integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
"_location": "/ieee754",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "ieee754@1.1.13",
"raw": "ieee754@1.2.1",
"name": "ieee754",
"escapedName": "ieee754",
"rawSpec": "1.1.13",
"rawSpec": "1.2.1",
"saveSpec": null,
"fetchSpec": "1.1.13"
"fetchSpec": "1.2.1"
},
"_requiredBy": [
"/buffer",
"/crc/buffer",
"/js-crypto-ec/buffer",
"/js-crypto-hash/buffer",
"/js-crypto-key-utils/buffer",
"/sha3/buffer"
"/sha3/buffer",
"/token-types"
],
"_resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
"_spec": "1.1.13",
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
"_resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
"_spec": "1.2.1",
"_where": "/home/node/nuxt",
"author": {
"name": "Feross Aboukhadijeh",
"email": "feross@feross.org",
"url": "http://feross.org"
"url": "https://feross.org"
},
"bugs": {
"url": "https://github.com/feross/ieee754/issues"
@@ -47,10 +49,24 @@
],
"description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object",
"devDependencies": {
"airtap": "0.1.0",
"airtap": "^3.0.0",
"standard": "*",
"tape": "^4.0.0"
"tape": "^5.0.1"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"homepage": "https://github.com/feross/ieee754#readme",
"keywords": [
"IEEE 754",
@@ -72,5 +88,6 @@
"test-browser-local": "airtap --local -- test/*.js",
"test-node": "tape test/*.js"
},
"version": "1.1.13"
"types": "index.d.ts",
"version": "1.2.1"
}