Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webassembly-floating-point-hex-parser

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webassembly-floating-point-hex-parser - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.babelrc

24

package.json
{
"name": "webassembly-floating-point-hex-parser",
"bugs": "https://github.com/maurobringolf/webassembly-floating-point-hex-parser/issues",
"contributors": [ "maurobringolf" ],
"contributors": [
"maurobringolf"
],
"engines": {
"node": "*"
"node": "*"
},
"repository": {
"type": "git",
"url": "https://github.com/maurobringolf/webassembly-floating-point-hex-parser.git"
"type": "git",
"url": "https://github.com/maurobringolf/webassembly-floating-point-hex-parser.git"
},
"homepage": "https://github.com/maurobringolf/webassembly-floating-point-hex-parser",
"version": "0.1.0",
"homepage": "https://github.com/maurobringolf/webassembly-floating-point-hex-parser",
"version": "0.1.1",
"description": "A function to parse floating point hexadecimal strings as defined by the WebAssembly specification",
"main": "index.js",
"main": "lib/index.js",
"scripts": {
"build": "babel src -d lib",
"prepublishOnly": "npm run build",
"watch": "jest --watch *.js",
"test": "jest"
"test": "jest",
"postbuild": "NODE_ENV=PRODUCTION jest"
},

@@ -28,4 +33,7 @@ "keywords": [

"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-minify": "^0.2.0",
"jest": "^22.0.4"
}
}
# Parser function for floating point hexadecimals
[![CircleCI](https://img.shields.io/circleci/project/github/maurobringolf/webassembly-floating-point-hex-parser/master.svg)]()
[![Github file size](https://img.shields.io/github/size/maurobringolf/webassembly-floating-point-hex-parser/index.js.svg)]()
[![Github file size](https://img.shields.io/github/size/maurobringolf/webassembly-floating-point-hex-parser/lib/index.js.svg)]()
[![license](https://img.shields.io/github/license/maurobringolf/webassembly-floating-point-hex-parser.svg)]()
[![GitHub last commit](https://img.shields.io/github/last-commit/maurobringolf/webassembly-floating-point-hex-parser.svg)]()
[![npm](https://img.shields.io/npm/v/webassembly-floating-point-hex-parser.svg)]()

@@ -18,1 +19,9 @@ A JavaScript function to parse floating point hexadecimals as defined by the [WebAssembly specification](https://webassembly.github.io/spec/core/text/values.html#text-hexfloat).

```
## Links
* [maurobringolf.ch/2017/12/hexadecimal-floating-point-notation/](https://maurobringolf.ch/2017/12/hexadecimal-floating-point-notation/)
* [github.com/xtuc/js-webassembly-interpreter/issues/32](https://github.com/xtuc/js-webassembly-interpreter/issues/32)
* [github.com/WebAssembly/design/issues/292](https://github.com/WebAssembly/design/issues/292)

@@ -1,2 +0,2 @@

const parse = require('../index');
const parse = require( process.env.NODE_ENV === 'PRODUCTION' ? '../src/' : '../lib/' );

@@ -3,0 +3,0 @@ test('Positive values should be parsed correctly', () => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc