ieee754 travis npm downloads javascript style guide

saucelabs

Read/write IEEE754 floating point numbers from/to a Buffer or array-like object.

install

npm install ieee754

methods

var ieee754 = require('ieee754')

The ieee754 object has the following functions:

ieee754.read = function (buffer, offset, isLE, mLen, nBytes)
ieee754.write = function (buffer, value, offset, isLE, mLen, nBytes)

The arguments mean the following:

what is ieee754?

The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point computation. Read more.

license

BSD 3 Clause. Copyright (c) 2008, Fair Oaks Labs, Inc.

ieee754 - Installation

To install ieee754 via this registry, you'll need to install via the --registry parameter with your package manager.

n

NPM

npm install ieee754 --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Yarn

yarn config set registry https://js.registry.sudovanilla.org
yarn install ieee754

Learn more about the config option.

PNPM

pnpm install ieee754 --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Bun Logo

Bun

bun install ieee754 --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Learn more about setting this up in your bunfig.toml configuration.


For Deno, add the following to your .npmrc file in your directory:

registry="https://js.registry.sudovanilla.org"

Then run the deno install command.

ieee754 - Download

Download Tarball (v1.2.1)

Integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
SHASUM 8eb7a10a63fff25d15a57b001586d177d1b0d352
Tarball https://js.registry.sudovanilla.org/ieee754/-/ieee754-1.2.1.tgz