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

bit-vector

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bit-vector - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

src/index.js

8

package.json

@@ -5,5 +5,6 @@ {

"repository": "git://github.com/ashaffer/bit-vector.git",
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"scripts": {

@@ -13,5 +14,6 @@ "prepublish": "rm -rf lib && babel src --out-dir lib",

},
"dependencies": {},
"dependencies": {
"babel-preset-es2015": "^6.1.2"
},
"devDependencies": {
"babel": "^5.8.21",
"babel-tape-runner": "^1.2.0",

@@ -18,0 +20,0 @@ "standard": "^5.1.0",

@@ -14,3 +14,3 @@

This package exports three functions:
This package exports four functions:

@@ -28,2 +28,6 @@ * `createBv(sizeInBits)` - Creates a bit vector with the number of bits you want. Returns an array or typed array (depending on your environment) of length: `Math.ceil(sizeInBits / 32)`.

* Chrome - ~2x faster than objects
* Safari - 2-3x faster
* Firefox - 40x faster
## License

@@ -30,0 +34,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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