Socket
Socket
Sign inDemoInstall

buckets-js

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buckets-js - npm Package Compare versions

Comparing version 1.85.3 to 1.90.0

buckets.min.js

37

package.json
{
"name": "buckets-js",
"simpleName": "buckets",
"description": "Buckets is a complete, fully tested and documented data structure library written in pure JavaScript.",
"version": "1.85.3",
"version": "1.90.0",
"author": "Mauricio Santos <mauriciosantoss@gmail.com>",
"keywords": [
"buckets",
"data",
"structure",
"linked",
"list",
"heap",
"stack",
"queue",
"priority",
"binary",
"tree",
"set",
"dictionary",
"map"
],
"license": "MIT",

@@ -10,8 +28,21 @@ "repository": {

},
"homepage": "https://github.com/mauriciosantos/Buckets-JS",
"dependencies": {},
"files": [
"buckets.js",
"buckets-minified.js"
"buckets.min.js"
],
"main": "buckets.js"
"main": "buckets.js",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-concat": "^0.5.1",
"grunt-contrib-jasmine": "^0.8.2",
"grunt-contrib-uglify": "^0.8.0",
"grunt-jsbeautifier": "^0.2.10",
"grunt-shell": "^1.1.2",
"grunt-umd": "^2.3.3",
"grunt-write-bower-json": "0.0.1",
"jsdoc2": "^2.4.0",
"load-grunt-tasks": "^3.1.0"
}
}

26

README.md

@@ -37,3 +37,3 @@ [Buckets](https://github.com/mauriciosantos/buckets/)

- [buckets.js](https://rawgithub.com/mauriciosantos/buckets/master/buckets.js) (for development) or
- [buckets-minified.js](https://rawgithub.com/mauriciosantos/buckets/master/buckets-minified.js) (for production)
- [buckets.min.js](https://rawgithub.com/mauriciosantos/buckets/master/buckets.min.js) (for production)

@@ -49,3 +49,3 @@ Then, add it as a script tag to your page:

Or install `bucketsjs` using bower
Or install `bucketsjs` using [bower](http://bower.io/)

@@ -56,3 +56,3 @@ ```shell

Or use an AMD loader
Or use an [AMD](https://github.com/amdjs/amdjs-api) loader

@@ -65,3 +65,3 @@ ```javascript

Or install `buckets-js` using npm
Or install `buckets-js` using [npm](https://www.npmjs.com/)

@@ -72,3 +72,3 @@ ```shell

In Node.js: `var buckets = require('buckets-js')`.
In [Node.js](https://nodejs.org/): `var buckets = require('buckets-js');`.

@@ -79,10 +79,16 @@ Usage

```javascript
var setA = new buckets.Set();
var setB = new buckets.Set();
setA.add(1);
setB.add(2);
setA.union(setB); // {1,2}
var a = new buckets.Set();
var b = new buckets.Set();
a.add(1);
a.add(2);
b.add(2);
a.union(b); // {1,2}
```
Read the [documentation](https://rawgithub.com/mauriciosantos/buckets/master/doc/index.html).
Building guide
--------------------
There's nothing else you need to use buckets. However, this [guide](./BUILD.md) may help you if you wish to contribute to the project or modify it.
Support

@@ -89,0 +95,0 @@ --------------------

Sorry, the diff of this file is too big to display

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