{
	"name": "geojson-rewind",
	"versions": {
		"0.0.0": {
			"name": "geojson-rewind",
			"version": "0.0.0",
			"description": "enforce winding order for geojson",
			"main": "index.js",
			"directories": {
				"test": "test"
			},
			"scripts": {
				"test": "node test/rewind.js"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/mapbox/geojson-rewind.git"
			},
			"keywords": [
				"geojson",
				"winding",
				"order",
				"rendering",
				"coordinates"
			],
			"author": {
				"name": "Tom MacWright"
			},
			"license": "BSD-2-Clause",
			"bugs": {
				"url": "https://github.com/mapbox/geojson-rewind/issues"
			},
			"homepage": "https://github.com/mapbox/geojson-rewind",
			"dependencies": {
				"geojson-area": "0.1.0"
			},
			"_id": "geojson-rewind@0.0.0",
			"dist": {
				"shasum": "d41384921712e0af38680374df92a34280a5fa68",
				"tarball": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.0.0.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.14",
			"_npmUser": {
				"name": "tmcw",
				"email": "tom@macwright.org"
			},
			"maintainers": [
				{
					"name": "tmcw",
					"email": "tom@macwright.org"
				}
			],
			"contributors": []
		},
		"0.1.0": {
			"name": "geojson-rewind",
			"version": "0.1.0",
			"description": "enforce winding order for geojson",
			"main": "index.js",
			"directories": {
				"test": "test"
			},
			"scripts": {
				"test": "node test/rewind.js"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/mapbox/geojson-rewind.git"
			},
			"keywords": [
				"geojson",
				"winding",
				"order",
				"rendering",
				"coordinates"
			],
			"author": {
				"name": "Tom MacWright"
			},
			"license": "BSD-2-Clause",
			"bugs": {
				"url": "https://github.com/mapbox/geojson-rewind/issues"
			},
			"homepage": "https://github.com/mapbox/geojson-rewind",
			"dependencies": {
				"geojson-area": "0.1.0",
				"minimist": "0.0.5",
				"concat-stream": "~1.2.1"
			},
			"devDependencies": {
				"tap": "~0.4.6"
			},
			"_id": "geojson-rewind@0.1.0",
			"dist": {
				"shasum": "57022a054b196660d755354fe5d26684d90cd019",
				"tarball": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.1.0.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.14",
			"_npmUser": {
				"name": "tmcw",
				"email": "tom@macwright.org"
			},
			"maintainers": [
				{
					"name": "tmcw",
					"email": "tom@macwright.org"
				}
			],
			"contributors": []
		},
		"0.2.0": {
			"name": "geojson-rewind",
			"version": "0.2.0",
			"description": "enforce winding order for geojson",
			"main": "index.js",
			"bin": {
				"geojson-rewind": "geojson-rewind"
			},
			"directories": {
				"test": "test"
			},
			"scripts": {
				"test": "tap test/rewind.js",
				"cov": "istanbul cover test/rewind.js"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/mapbox/geojson-rewind.git"
			},
			"keywords": [
				"geojson",
				"winding",
				"order",
				"rendering",
				"coordinates"
			],
			"author": {
				"name": "Tom MacWright"
			},
			"license": "ISC",
			"bugs": {
				"url": "https://github.com/mapbox/geojson-rewind/issues"
			},
			"homepage": "https://github.com/mapbox/geojson-rewind",
			"dependencies": {
				"geojson-area": "0.1.0",
				"minimist": "0.0.5",
				"concat-stream": "~1.2.1"
			},
			"devDependencies": {
				"tap": "~0.4.6",
				"istanbul": "~0.2.13"
			},
			"gitHead": "baf762639d57367ba50941ee4719fb75af290750",
			"_id": "geojson-rewind@0.2.0",
			"_shasum": "ea558e9e44ff03b8655d0a08b75078dc33a15e79",
			"_from": ".",
			"_npmVersion": "3.8.6",
			"_nodeVersion": "5.11.0",
			"_npmUser": {
				"name": "tmcw",
				"email": "tom@macwright.org"
			},
			"dist": {
				"shasum": "ea558e9e44ff03b8655d0a08b75078dc33a15e79",
				"tarball": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.2.0.tgz"
			},
			"maintainers": [
				{
					"name": "tmcw",
					"email": "tom@macwright.org"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-16-east.internal.npmjs.com",
				"tmp": "tmp/geojson-rewind-0.2.0.tgz_1462458058910_0.22563469549641013"
			},
			"contributors": []
		},
		"0.3.0": {
			"name": "geojson-rewind",
			"version": "0.3.0",
			"description": "enforce winding order for geojson",
			"main": "index.js",
			"bin": {
				"geojson-rewind": "geojson-rewind"
			},
			"directories": {
				"test": "test"
			},
			"scripts": {
				"test": "tape test/rewind.js"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/mapbox/geojson-rewind.git"
			},
			"keywords": [
				"geojson",
				"winding",
				"order",
				"rendering",
				"coordinates"
			],
			"author": {
				"name": "Tom MacWright"
			},
			"license": "ISC",
			"bugs": {
				"url": "https://github.com/mapbox/geojson-rewind/issues"
			},
			"homepage": "https://github.com/mapbox/geojson-rewind",
			"dependencies": {
				"@mapbox/geojson-area": "0.2.2",
				"concat-stream": "~1.6.0",
				"minimist": "1.2.0"
			},
			"devDependencies": {
				"cz-conventional-changelog": "^2.0.0",
				"tape": "^4.8.0"
			},
			"config": {
				"commitizen": {
					"path": "./node_modules/cz-conventional-changelog"
				}
			},
			"gitHead": "3e97419f6f3474af41b88738138f07e22c3fd672",
			"_id": "geojson-rewind@0.3.0",
			"_npmVersion": "5.4.2",
			"_nodeVersion": "6.10.3",
			"_npmUser": {
				"name": "ingalls",
				"email": "nicholas.ingalls@gmail.com"
			},
			"dist": {
				"integrity": "sha512-5dsjiZGk6p///Ju9kh7uGW+I74CZriHsxqBNPbIN4bbInfKmHwwM+f8fZ42fmpV5emeUYLTTC+GWs3EC1TMjNQ==",
				"shasum": "d5c35025fa708910e2da1a97fc23a2e2478a876a",
				"tarball": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.3.0.tgz"
			},
			"maintainers": [
				{
					"name": "ingalls",
					"email": "nicholas.ingalls@gmail.com"
				},
				{
					"name": "mapbox-admin",
					"email": "accounts@mapbox.com"
				},
				{
					"name": "tmcw",
					"email": "tom+npm@macwright.org"
				}
			],
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/geojson-rewind-0.3.0.tgz_1506013527113_0.39621186233125627"
			},
			"contributors": []
		},
		"0.3.1": {
			"name": "geojson-rewind",
			"version": "0.3.1",
			"description": "enforce winding order for geojson",
			"main": "index.js",
			"bin": {
				"geojson-rewind": "geojson-rewind"
			},
			"scripts": {
				"test": "tape test/rewind.js"
			},
			"repository": {
				"type": "git",
				"url": "git://github.com/mapbox/geojson-rewind.git"
			},
			"keywords": [
				"geojson",
				"winding",
				"order",
				"rendering",
				"coordinates"
			],
			"author": {
				"name": "Tom MacWright"
			},
			"license": "ISC",
			"bugs": {
				"url": "https://github.com/mapbox/geojson-rewind/issues"
			},
			"homepage": "https://github.com/mapbox/geojson-rewind",
			"dependencies": {
				"@mapbox/geojson-area": "0.2.2",
				"concat-stream": "~1.6.0",
				"minimist": "1.2.0",
				"sharkdown": "^0.1.0"
			},
			"devDependencies": {
				"cz-conventional-changelog": "^2.0.0",
				"tape": "^4.8.0"
			},
			"config": {
				"commitizen": {
					"path": "./node_modules/cz-conventional-changelog"
				}
			},
			"licenseText": "Copyright (c) {{ year }}, {{ organization }}\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n",
			"_id": "geojson-rewind@0.3.1",
			"dist": {
				"shasum": "22240797c847cc2f0c1d313e4aa0c915afa7f29d",
				"tarball": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.3.1.tgz",
				"fileCount": 23,
				"unpackedSize": 12669
			},
			"maintainers": [
				{
					"email": "nicholas.ingalls@gmail.com",
					"name": "ingalls"
				},
				{
					"email": "accounts@mapbox.com",
					"name": "mapbox-admin"
				},
				{
					"email": "tom@macwright.org",
					"name": "tmcw"
				}
			],
			"_npmUser": {
				"name": "ingalls",
				"email": "ingalls@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/geojson-rewind_0.3.1_1520607125751_0.9132643950092811"
			},
			"contributors": []
		}
	},
	"time": {
		"modified": "2018-03-09T14:52:06.546Z",
		"created": "2013-12-16T03:38:36.050Z",
		"0.0.0": "2013-12-16T03:38:37.264Z",
		"0.1.0": "2013-12-16T15:10:02.710Z",
		"0.2.0": "2016-05-05T14:21:00.438Z",
		"0.3.0": "2017-09-21T17:05:28.031Z",
		"0.3.1": "2018-03-09T14:52:05.838Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "0.3.1"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"3256b06428d42c237805a3eb9dea716c\"",
			"fetched": 1593324321282
		}
	},
	"_distfiles": {
		"geojson-rewind-0.0.0.tgz": {
			"url": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.0.0.tgz",
			"sha": "d41384921712e0af38680374df92a34280a5fa68",
			"registry": "npmjs"
		},
		"geojson-rewind-0.1.0.tgz": {
			"url": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.1.0.tgz",
			"sha": "57022a054b196660d755354fe5d26684d90cd019",
			"registry": "npmjs"
		},
		"geojson-rewind-0.2.0.tgz": {
			"url": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.2.0.tgz",
			"sha": "ea558e9e44ff03b8655d0a08b75078dc33a15e79",
			"registry": "npmjs"
		},
		"geojson-rewind-0.3.0.tgz": {
			"url": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.3.0.tgz",
			"sha": "d5c35025fa708910e2da1a97fc23a2e2478a876a",
			"registry": "npmjs"
		},
		"geojson-rewind-0.3.1.tgz": {
			"url": "https://registry.npmjs.org/geojson-rewind/-/geojson-rewind-0.3.1.tgz",
			"sha": "22240797c847cc2f0c1d313e4aa0c915afa7f29d",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"geojson-rewind-0.3.1.tgz": {
			"shasum": "22240797c847cc2f0c1d313e4aa0c915afa7f29d"
		}
	},
	"_rev": "2-9e2c74a7990bce18",
	"_id": "geojson-rewind",
	"readme": "[![Build Status](https://travis-ci.org/mapbox/geojson-rewind.png)](https://travis-ci.org/mapbox/geojson-rewind)\n\n# geojson-rewind\n\nThe [GeoJSON](https://tools.ietf.org/html/rfc7946) specification is [picky about winding order](https://tools.ietf.org/html/rfc7946#section-3.1.6).\n\nThis helps you generate compliant Polygon and MultiPolygon geometries. Furthermore it lets you use [Canvas](http://www.bit-101.com/blog/?p=3702) and other drawing libraries's default behavior to color the interior rings of Polygon and MultiPolygon features.\n\n## usage\n\nas npm module:\n\n    npm install --save geojson-rewind\n\nas console utility\n\n    # install\n    npm install -g geojson-rewind\n    # use\n    geojson-rewind foo.geojson\n\nas browser library\n\ncopy `geojson-rewind.js`\n\n## api\n\n`rewind(geojson, clockwise)`\n\nGiven a GeoJSON FeatureCollection, Feature, or Geometry, return a version\nwith inner and outer rings of different winding orders.\n\nIf `clockwise` is `true`, the outer ring is clockwise, otherwise\nit is counterclockwise."
}