{
	"name": "grouped-queue",
	"versions": {
		"0.1.0": {
			"name": "grouped-queue",
			"version": "0.1.0",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/SBoudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/SBoudrias/grouped-queue/issues"
			},
			"devDependencies": {
				"sinon": "~1.7.3"
			},
			"_id": "grouped-queue@0.1.0",
			"dist": {
				"shasum": "9b7e4796d3801a8e238e14d1b9291d34e55d492f",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.1.0.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.5",
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.1.1": {
			"name": "grouped-queue",
			"version": "0.1.1",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/SBoudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/SBoudrias/grouped-queue/issues"
			},
			"devDependencies": {
				"sinon": "~1.7.3"
			},
			"dependencies": {
				"lodash": "~2.4.1"
			},
			"_id": "grouped-queue@0.1.1",
			"dist": {
				"shasum": "358fd3c30f2f4f1b604b1f16e1809617cb8b55de",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.1.1.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.5",
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.1.2": {
			"name": "grouped-queue",
			"version": "0.1.2",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/SBoudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/SBoudrias/grouped-queue/issues"
			},
			"devDependencies": {
				"sinon": "~1.7.3"
			},
			"dependencies": {
				"lodash": "~2.4.1",
				"setimmediate": "~1.0.1"
			},
			"_id": "grouped-queue@0.1.2",
			"dist": {
				"shasum": "ae22f4950dcfa5b36673b5e6a31f98e2c98cbb7e",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.1.2.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.5",
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.2.0": {
			"name": "grouped-queue",
			"version": "0.2.0",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/SBoudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/SBoudrias/grouped-queue/issues"
			},
			"devDependencies": {
				"sinon": "~1.7.3"
			},
			"dependencies": {
				"lodash": "~2.4.1",
				"setimmediate": "~1.0.1"
			},
			"_id": "grouped-queue@0.2.0",
			"dist": {
				"shasum": "27a6d94dc10390362c6e4a7229430c2ed130f373",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.2.0.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.5",
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.2.1": {
			"name": "grouped-queue",
			"version": "0.2.1",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/SBoudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/SBoudrias/grouped-queue/issues"
			},
			"devDependencies": {
				"sinon": "~1.7.3"
			},
			"dependencies": {
				"lodash": "~2.4.1",
				"setimmediate": "~1.0.1"
			},
			"_id": "grouped-queue@0.2.1",
			"dist": {
				"shasum": "ede20396d6c7f313b6d44e438d7d646153fca9a9",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.2.1.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.5",
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.3.0": {
			"name": "grouped-queue",
			"version": "0.3.0",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/SBoudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/SBoudrias/grouped-queue/issues"
			},
			"devDependencies": {
				"sinon": "~1.7.3"
			},
			"dependencies": {
				"lodash": "~2.4.1",
				"setimmediate": "~1.0.1"
			},
			"homepage": "https://github.com/SBoudrias/grouped-queue",
			"_id": "grouped-queue@0.3.0",
			"_shasum": "4f5e1a768bba722862993285820f980e227fc4a6",
			"_from": ".",
			"_npmVersion": "1.4.7",
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"dist": {
				"shasum": "4f5e1a768bba722862993285820f980e227fc4a6",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.3.0.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"0.3.2": {
			"name": "grouped-queue",
			"version": "0.3.2",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha -R spec"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sboudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"files": [
				"lib"
			],
			"dependencies": {
				"lodash": "^3.10.1"
			},
			"devDependencies": {
				"mocha": "^2.1.0",
				"sinon": "^1.12.2"
			},
			"gitHead": "9b9eb80b11d2411fbedbe755dc38956cb769501e",
			"bugs": {
				"url": "https://github.com/sboudrias/grouped-queue/issues"
			},
			"homepage": "https://github.com/sboudrias/grouped-queue#readme",
			"_id": "grouped-queue@0.3.2",
			"_shasum": "1005f70ece919eccbb37a318f84af99fd6c4eb5c",
			"_from": ".",
			"_npmVersion": "3.5.0",
			"_nodeVersion": "0.12.7",
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"dist": {
				"shasum": "1005f70ece919eccbb37a318f84af99fd6c4eb5c",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.3.2.tgz"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"0.3.3": {
			"name": "grouped-queue",
			"version": "0.3.3",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha -R spec"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sboudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"files": [
				"lib"
			],
			"dependencies": {
				"lodash": "^4.17.2"
			},
			"devDependencies": {
				"mocha": "^3.1.2",
				"sinon": "^1.12.2"
			},
			"gitHead": "6909aa1b49f607c218ed79b5e372221f18ea8792",
			"bugs": {
				"url": "https://github.com/sboudrias/grouped-queue/issues"
			},
			"homepage": "https://github.com/sboudrias/grouped-queue#readme",
			"_id": "grouped-queue@0.3.3",
			"_shasum": "c167d2a5319c5a0e0964ef6a25b7c2df8996c85c",
			"_from": ".",
			"_npmVersion": "3.10.8",
			"_nodeVersion": "7.0.0",
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"dist": {
				"shasum": "c167d2a5319c5a0e0964ef6a25b7c2df8996c85c",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.3.3.tgz"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-12-west.internal.npmjs.com",
				"tmp": "tmp/grouped-queue-0.3.3.tgz_1479601365037_0.19518585316836834"
			},
			"directories": {},
			"contributors": []
		},
		"1.0.0": {
			"name": "grouped-queue",
			"version": "1.0.0",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha -R spec"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/SBoudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"dependencies": {
				"lodash": "^4.17.15"
			},
			"devDependencies": {
				"mocha": "^7.0.0",
				"sinon": "^8.0.4"
			},
			"gitHead": "b4769b6fe32819d4d20783c68b6e524b829301e1",
			"bugs": {
				"url": "https://github.com/SBoudrias/grouped-queue/issues"
			},
			"homepage": "https://github.com/SBoudrias/grouped-queue#readme",
			"_id": "grouped-queue@1.0.0",
			"_nodeVersion": "13.3.0",
			"_npmVersion": "6.13.4",
			"dist": {
				"integrity": "sha512-XslfWrAGCYovQjveHODR0hllUrsn3UtvPFTkamHbgVHmkUA6eCIDmw3JDWVLJvuntTvYjwaPGamlyzK4/HAEOA==",
				"shasum": "5bdb97934a9a17b19626ff3cc23c103f2622ef49",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-1.0.0.tgz",
				"fileCount": 4,
				"unpackedSize": 7461,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGBSfCRA9TVsSAnZWagAAyN0P/0eOTEHUeBeU9lyjmYQ0\nEZxOKQOZuIILJ6cVNdzfNPCzC2rRWFPVMQyfwZMWhKn8b3dJxGFRlXRgTCo0\n6L5owlS1NlQ49AJ+JMK1drTrxaHV1tnwksdSn1Hr2T+/3eGaFTa0DhqCh8D3\nDFoU3heRwAKFHAJQRzugbpnOXaDQxSPmuk2aaqgxhxw3VzLpx6/wEDkE3iT4\nxulnSl1AZm3OrkDLgttA3r5kay+0TNdvc0JqBqJm8ozkcJcLHseUx9JTCh+U\nM5VMOsjktIhpx5XWgSvwqi4EDQw41PzDGDknIAB/YarZRzASWP7z+bUWgkoG\nm4H7GryJLRYAN/gQBtiYuFd8wvUZuzKjtA9BUyk2D0GkrXXqGzbpOCmdQIfp\n2Tci007qCISrETddyoXAcUqXgRSvjGmIkkbbtUKdSEaDGbhlefp2cfbRlLey\n7lrmdQvKlf/yZlwW5aCBh3nN0djyAkm02sv05Sw0avu1jIQcVRAatvQ+JQL/\ns6rOICokb5RZ2H87ybKljvDx/p3ieB0Vpgj4timGq1su1BpicFvh31VpfYNf\ng+dxnBAApWCSKpiCBM+HRZFQaGXRMpISHwHAg2rLOV9sqqmzZV8Ff24j1h89\nn+z3vdcUW45Amktj8be4vCIaPwWwkiyLJjezw7wbrf+nMXaa5TgwuUOdYPXK\nnOdS\r\n=zTee\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/grouped-queue_1.0.0_1578636447194_0.09222274366733685"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		},
		"1.1.0": {
			"name": "grouped-queue",
			"version": "1.1.0",
			"description": "In memory queue system prioritizing tasks",
			"main": "lib/queue.js",
			"scripts": {
				"test": "mocha -R spec"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/SBoudrias/grouped-queue.git"
			},
			"keywords": [
				"queue",
				"async",
				"task",
				"flow",
				"control"
			],
			"author": {
				"name": "Simon Boudrias",
				"email": "admin@simonboudrias.com"
			},
			"license": "MIT",
			"dependencies": {
				"lodash": "^4.17.15"
			},
			"devDependencies": {
				"mocha": "^7.0.0",
				"sinon": "^8.0.4"
			},
			"gitHead": "9fde5b62d5cc7a29bafec43f496f799150a1fffd",
			"bugs": {
				"url": "https://github.com/SBoudrias/grouped-queue/issues"
			},
			"homepage": "https://github.com/SBoudrias/grouped-queue#readme",
			"_id": "grouped-queue@1.1.0",
			"_nodeVersion": "12.16.1",
			"_npmVersion": "6.13.4",
			"dist": {
				"integrity": "sha512-rZOFKfCqLhsu5VqjBjEWiwrYqJR07KxIkH4mLZlNlGDfntbb4FbMyGFP14TlvRPrU9S3Hnn/sgxbC5ZeN0no3Q==",
				"shasum": "63e3f9ca90af952269d1d40879e41221eacc74cb",
				"tarball": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-1.1.0.tgz",
				"fileCount": 4,
				"unpackedSize": 7578,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemBHQCRA9TVsSAnZWagAAKhsQAI9remUsNeK++3uqyoUV\nDXSyK863c2aSB+wwU3Ly+NuQZafibrbUilZ5X6dC5lup7EQS7ZpptFuSGqPT\nXNrQagj835I49NMQtYMTwyFPDoboxunwJVSNxTpsTZiEnO2kpGFdwsA4hBEl\nV9v6JUgJUGvWYKXbHb8wdffL5hwlRIUMg0zrEgHV73V/TUUFhySI43s5vq+i\nA0uLFf4cieac7ATdIqOiZstnxYCgfMflshyHoYw2kL08hDPVWYTbx9oCEVVj\nhWXRwlimffFTxGXitlKe6o7hM4IJCZNzaKMkONuAyjuUnno9ELK5imWNhuO4\nifpGiPm2+IN54konryiNjakLvaJciSr0BmZOCfLHPIG3+EopXoDrzjFk28pO\n7X7J2n+WsuEslaKkgRIwF2swaoaAjToafdvpimI547tZO+cRutaXndvJ0/x3\n69fwD4TBeBQy8huv4q6app95qSJAnWLStVMNmZsy4nVw219x/KegIkjP0l0H\nSKTgYhUnpJ08UMHzUeX9I3/aLI+qU0IPIYkSUzBC2ok7ejmkkbahNu4ImnJT\nnO2SkEqXf1GWsoTTpYQ+XHeaSUTEMbE/Or0hA0PW6AUSticSU8VB8CBUDmNL\nJjzDvaN0xzVd9q0SQyiIt4nRSDnZ5gyac2Y94hf1W/yCV0mBgXTkZAco/iC2\n8a6H\r\n=Maap\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "sboudrias",
					"email": "admin@simonboudrias.com"
				}
			],
			"_npmUser": {
				"name": "sboudrias",
				"email": "admin@simonboudrias.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/grouped-queue_1.1.0_1587024336426_0.7855349307621111"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		}
	},
	"time": {
		"modified": "2020-04-16T08:05:42.250Z",
		"created": "2013-11-26T20:48:49.292Z",
		"0.1.0": "2013-11-26T20:48:51.681Z",
		"0.1.1": "2014-01-13T21:01:00.706Z",
		"0.1.2": "2014-01-13T21:35:38.368Z",
		"0.2.0": "2014-01-17T21:18:41.582Z",
		"0.2.1": "2014-01-22T19:43:41.830Z",
		"0.3.0": "2014-06-02T04:09:18.112Z",
		"0.3.2": "2015-11-30T08:35:05.862Z",
		"0.3.3": "2016-11-20T00:22:45.269Z",
		"1.0.0": "2020-01-10T06:07:27.341Z",
		"1.1.0": "2020-04-16T08:05:36.573Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "1.1.0"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"d022a087afb83e41ebda1851201050e9\"",
			"fetched": 1593324439167
		}
	},
	"_distfiles": {
		"grouped-queue-0.1.0.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.1.0.tgz",
			"sha": "9b7e4796d3801a8e238e14d1b9291d34e55d492f",
			"registry": "npmjs"
		},
		"grouped-queue-0.1.1.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.1.1.tgz",
			"sha": "358fd3c30f2f4f1b604b1f16e1809617cb8b55de",
			"registry": "npmjs"
		},
		"grouped-queue-0.1.2.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.1.2.tgz",
			"sha": "ae22f4950dcfa5b36673b5e6a31f98e2c98cbb7e",
			"registry": "npmjs"
		},
		"grouped-queue-0.2.0.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.2.0.tgz",
			"sha": "27a6d94dc10390362c6e4a7229430c2ed130f373",
			"registry": "npmjs"
		},
		"grouped-queue-0.2.1.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.2.1.tgz",
			"sha": "ede20396d6c7f313b6d44e438d7d646153fca9a9",
			"registry": "npmjs"
		},
		"grouped-queue-0.3.0.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.3.0.tgz",
			"sha": "4f5e1a768bba722862993285820f980e227fc4a6",
			"registry": "npmjs"
		},
		"grouped-queue-0.3.2.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.3.2.tgz",
			"sha": "1005f70ece919eccbb37a318f84af99fd6c4eb5c",
			"registry": "npmjs"
		},
		"grouped-queue-0.3.3.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.3.3.tgz",
			"sha": "c167d2a5319c5a0e0964ef6a25b7c2df8996c85c",
			"registry": "npmjs"
		},
		"grouped-queue-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-1.0.0.tgz",
			"sha": "5bdb97934a9a17b19626ff3cc23c103f2622ef49",
			"registry": "npmjs"
		},
		"grouped-queue-1.1.0.tgz": {
			"url": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-1.1.0.tgz",
			"sha": "63e3f9ca90af952269d1d40879e41221eacc74cb",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"grouped-queue-0.3.3.tgz": {
			"shasum": "c167d2a5319c5a0e0964ef6a25b7c2df8996c85c"
		}
	},
	"_rev": "2-fdb6b6ccb2aecf68",
	"_id": "grouped-queue",
	"readme": "Grouped Queue [![Build Status](https://travis-ci.org/SBoudrias/grouped-queue.svg?branch=master)](https://travis-ci.org/SBoudrias/grouped-queue)\n==============\n\nIn memory queue system prioritizing tasks.\n\n\nDocumentation\n=============\n\nInstallation\n-------------\n\n``` bash\n$ npm install --save grouped-queue\n```\n\nMethods\n------------\n\n### Constructor\n\nThe constructor takes an optional array of task groups. The first `String` name will be the first queue to be emptied, the second string will be the second group emptied, etc.\n\nBy default, the constructor will always add a `default` queue in the last position. You can overwrite the position of the `default` group if you specify it explicitly.\n\n``` javascript\nvar Queue = require('grouped-queue');\n\nvar queue = new Queue([ 'first', 'second', 'third' ]);\n```\n\n### Queue#add `add( [group], task, [options] )`\n\nAdd a task into a group queue. If no group name is specified, `default` will be used.\n\nImplicitly, each time you add a task, the queue will start emptying (if not already running).\n\nEach task function is passed a callback function. This callback must be called when the task is complete.\n\n``` javascript\nqueue.add(function( cb ) {\n  DB.fetch().then( cb );\n});\n```\n\n#### Option: `once`\n\nYou can register tasks in queues that will be dropped if they're already planned. This is done with the `once` option. You pass a String (basically a name) to the `once` option.\n\n``` javascript\n// This one will eventually run\nqueue.add( method, { once: \"readDB\" });\n\n// This one will be dropped as `method` is currently in the queue\nqueue.add( method3, { once: \"readDB\" });\n```\n\n#### Option: `run`\n\nYou can register a task without launching the run loop by passing the argument `run: false`.\n\n```javascript\nqueue.add( method, { run: false });\n```\n\n### Pro tip\n\nBind your tasks with context and arguments!\n\n``` javascript\nvar task = function( models, cb ) {\n  /* you get `models` data here! */\n};\nqueue.add( task.bind(null, models) );\n```\n\n### That's all?\n\nYes!\n\nEvents\n-------------\n\n### `end`\n\nThis event is called **each time** the queue emptied itself.\n\n\nContributing\n=====================\n\n**Style Guide**: Please base yourself on [Idiomatic.js](https://github.com/rwldrn/idiomatic.js) style guide with two space indent  \n**Unit test**: Unit tests are written in Mocha. Please add a unit test for every new feature\nor bug fix. `npm test` to run the test suite.  \n**Documentation**: Add documentation for every API change. Feel free to send corrections\nor better docs!  \n**Pull Requests**: Send _fixes_ PR on the `master` branch.\n\n\nLicense\n=====================\n\nCopyright (c) 2013 Simon Boudrias (twitter: @vaxilart)  \nLicensed under the MIT license."
}