{
	"name": "uniqs",
	"versions": {
		"1.0.0": {
			"name": "uniqs",
			"version": "1.0.0",
			"description": "Creates a de-duplicated version of a given list",
			"keywords": [
				"unique",
				"uniq",
				"dedupe"
			],
			"repository": {
				"type": "git",
				"url": "git://github.com/fgnass/uniqs.git"
			},
			"main": "index.js",
			"scripts": {
				"test": "node test"
			},
			"author": {
				"name": "Felix Gnass",
				"email": "fgnass@gmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/fgnass/uniqs/issues"
			},
			"homepage": "https://github.com/fgnass/uniqs",
			"_id": "uniqs@1.0.0",
			"_shasum": "140dcbd7c2e5ea83e46dc3ded92736bc43dc4f22",
			"_from": ".",
			"_npmVersion": "1.4.9",
			"_npmUser": {
				"name": "fgnass",
				"email": "fgnass@gmail.com"
			},
			"maintainers": [
				{
					"name": "fgnass",
					"email": "fgnass@gmail.com"
				}
			],
			"dist": {
				"shasum": "140dcbd7c2e5ea83e46dc3ded92736bc43dc4f22",
				"tarball": "https://registry.npmjs.org/uniqs/-/uniqs-1.0.0.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"2.0.0": {
			"name": "uniqs",
			"version": "2.0.0",
			"description": "Tiny utility to create unions and de-duplicated lists",
			"keywords": [
				"unique",
				"uniq",
				"dedupe",
				"union"
			],
			"repository": {
				"type": "git",
				"url": "git://github.com/fgnass/uniqs.git"
			},
			"main": "index.js",
			"scripts": {
				"test": "node test"
			},
			"author": {
				"name": "Felix Gnass",
				"email": "fgnass@gmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/fgnass/uniqs/issues"
			},
			"homepage": "https://github.com/fgnass/uniqs",
			"_id": "uniqs@2.0.0",
			"_shasum": "ffede4b36b25290696e6e165d4a59edb998e6b02",
			"_from": ".",
			"_npmVersion": "1.4.9",
			"_npmUser": {
				"name": "fgnass",
				"email": "fgnass@gmail.com"
			},
			"maintainers": [
				{
					"name": "fgnass",
					"email": "fgnass@gmail.com"
				}
			],
			"dist": {
				"shasum": "ffede4b36b25290696e6e165d4a59edb998e6b02",
				"tarball": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz"
			},
			"directories": {},
			"contributors": []
		}
	},
	"time": {
		"modified": "2014-06-03T08:28:57.628Z",
		"created": "2014-06-01T22:05:39.648Z",
		"1.0.0": "2014-06-01T22:05:39.648Z",
		"2.0.0": "2014-06-03T08:28:57.628Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "2.0.0"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"ccb9235da3bbb7723149957c7d1fef4c\"",
			"fetched": 1600679319975
		}
	},
	"_distfiles": {
		"uniqs-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/uniqs/-/uniqs-1.0.0.tgz",
			"sha": "140dcbd7c2e5ea83e46dc3ded92736bc43dc4f22",
			"registry": "npmjs"
		},
		"uniqs-2.0.0.tgz": {
			"url": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz",
			"sha": "ffede4b36b25290696e6e165d4a59edb998e6b02",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"uniqs-2.0.0.tgz": {
			"shasum": "ffede4b36b25290696e6e165d4a59edb998e6b02"
		}
	},
	"_rev": "2-a1cb6fba7abd2a83",
	"_id": "uniqs",
	"readme": "[![Build Status](https://travis-ci.org/fgnass/uniqs.svg?branch=master)](https://travis-ci.org/fgnass/uniqs)\n\n### Tiny utility to create unions and de-duplicated lists.\n\nExample:\n\n```js\nvar uniqs = require('uniqs');\n\nvar foo = { foo: 23 };\nvar list = [3, 2, 2, 1, foo, foo];\n\nuniqs(list);\n// => [3, 2, 1, { foo: 23 }]\n```\n\nYou can pass multiple lists to create a union:\n\n```js\nuniqs([2, 1, 1], [2, 3, 3, 4], [4, 3, 2]);\n// => [2, 1, 3, 4]\n```\n\nPassing individual items works too:\n```js\nuniqs(3, 2, 2, [1, 1, 2]);\n// => [3, 2, 1]\n```\n\n### Summary\n\n* Uniqueness is defined based on strict object equality.\n* The lists do not need to be sorted.\n* The resulting array contains the items in the order of their first appearance.\n\n### About\n\nThis package has been written to accompany utilities like\n[flatten](https://npmjs.org/package/flatten) as alternative to full-blown\nlibraries like underscore or lodash.\n\nThe implementation is optimized for simplicity rather than performance and\nlooks like this:\n\n```js\nmodule.exports = function uniqs() {\n  var list = Array.prototype.concat.apply([], arguments);\n  return list.filter(function(item, i) {\n    return i == list.indexOf(item);\n  });\n};\n```\n\n### License\nMIT"
}