{"_id":"@mapbox/geojsonhint","_rev":"209414","name":"@mapbox/geojsonhint","description":"validate and sanity-check geojson files","dist-tags":{"latest":"3.0.1"},"maintainers":[{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"}],"time":{"modified":"2021-06-03T15:25:17.000Z","created":"2016-12-02T20:41:24.219Z","3.0.1":"2021-05-11T00:52:18.201Z","3.0.0":"2019-03-26T14:15:27.254Z","2.2.0":"2019-03-26T13:42:57.336Z","2.1.0":"2018-03-16T12:30:07.021Z","2.0.1":"2017-02-21T02:19:07.447Z","1.2.1":"2016-12-02T21:03:17.717Z","2.0.0":"2016-12-02T20:41:24.219Z"},"users":{},"author":{"name":"Tom MacWright"},"repository":{"type":"git","url":"git://github.com/mapbox/geojsonhint.git"},"versions":{"3.0.1":{"name":"@mapbox/geojsonhint","description":"validate and sanity-check geojson files","version":"3.0.1","author":{"name":"Tom MacWright"},"bin":{"geojsonhint":"bin/geojsonhint"},"bugs":{"url":"https://github.com/mapbox/geojsonhint/issues"},"dependencies":{"concat-stream":"^1.6.1","jsonlint-lines":"1.7.1","minimist":"^1.2.5","vfile":"^4.0.0","vfile-reporter":"^5.1.1"},"devDependencies":{"benchmark":"^2.1.0","browserify":"^16.1.1","eslint":"^5.15.3","fuzzer":"~0.2.0","glob":"^7.1.2","tap":"^12.6.1"},"directories":{"test":"test"},"keywords":["geojson","hint"],"license":"ISC","main":"lib/index.js","repository":{"type":"git","url":"git://github.com/mapbox/geojsonhint.git"},"scripts":{"test":"eslint . && tap test/*.js --coverage","prepublish":"browserify . --standalone geojsonhint > geojsonhint.js"},"gitHead":"efa092af07d02a22a874aa75968c98b88455bd2c","homepage":"https://github.com/mapbox/geojsonhint#readme","_id":"@mapbox/geojsonhint@3.0.1","_nodeVersion":"10.19.0","_npmVersion":"6.14.4","dist":{"shasum":"46eb0afbfb45915efb73650b90ac64dd8b2274ef","size":22838,"noattachment":false,"key":"/@mapbox/geojsonhint/-/@mapbox/geojsonhint-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mapbox/geojsonhint/download/@mapbox/geojsonhint-3.0.1.tgz"},"_npmUser":{"name":"mapbox-npm-07","email":"accounts+npmjs-07@mapbox.com"},"maintainers":[{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geojsonhint_3.0.1_1620694337989_0.7624234576032944"},"_hasShrinkwrap":false,"publish_time":1620694338201,"_cnpm_publish_time":1620694338201,"deprecated":"Please make plans to check GeoJSON in some other way"},"3.0.0":{"name":"@mapbox/geojsonhint","description":"validate and sanity-check geojson files","version":"3.0.0","author":{"name":"Tom MacWright"},"bin":{"geojsonhint":"./bin/geojsonhint"},"bugs":{"url":"https://github.com/mapbox/geojsonhint/issues"},"dependencies":{"concat-stream":"^1.6.1","jsonlint-lines":"1.7.1","minimist":"1.2.0","vfile":"^4.0.0","vfile-reporter":"^5.1.1"},"devDependencies":{"benchmark":"^2.1.0","browserify":"^16.1.1","eslint":"^5.15.3","fuzzer":"~0.2.0","glob":"^7.1.2","tap":"^12.6.1"},"directories":{"test":"test"},"keywords":["geojson","hint"],"license":"ISC","main":"lib/index.js","repository":{"type":"git","url":"git://github.com/mapbox/geojsonhint.git"},"scripts":{"test":"eslint . && tap test/*.js --coverage","prepublish":"browserify . --standalone geojsonhint > geojsonhint.js"},"gitHead":"5f7d443918e6f14357a72325c7fb50dca1d710af","homepage":"https://github.com/mapbox/geojsonhint#readme","_id":"@mapbox/geojsonhint@3.0.0","_nodeVersion":"8.11.3","_npmVersion":"6.6.0","dist":{"shasum":"42448232ce4236cb89c1b69c36b0cadeac99e02e","size":22573,"noattachment":false,"key":"/@mapbox/geojsonhint/-/@mapbox/geojsonhint-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mapbox/geojsonhint/download/@mapbox/geojsonhint-3.0.0.tgz"},"maintainers":[{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"}],"_npmUser":{"name":"mapbox-npm-07","email":"accounts+npmjs-07@mapbox.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geojsonhint_3.0.0_1553609727061_0.28876839504999907"},"_hasShrinkwrap":false,"publish_time":1553609727254,"_cnpm_publish_time":1553609727254,"deprecated":"Please make plans to check GeoJSON in some other way"},"2.2.0":{"name":"@mapbox/geojsonhint","description":"validate and sanity-check geojson files","version":"2.2.0","author":{"name":"Tom MacWright"},"bin":{"geojsonhint":"./bin/geojsonhint"},"bugs":{"url":"https://github.com/mapbox/geojsonhint/issues"},"dependencies":{"concat-stream":"^1.6.1","jsonlint-lines":"1.7.1","minimist":"1.2.0","vfile":"^4.0.0","vfile-reporter":"^5.1.1"},"devDependencies":{"benchmark":"^2.1.0","browserify":"^16.1.1","eslint":"^5.15.3","fuzzer":"~0.2.0","glob":"^7.1.2","tap":"^12.6.1"},"directories":{"test":"test"},"keywords":["geojson","hint"],"license":"ISC","main":"lib/index.js","repository":{"type":"git","url":"git://github.com/mapbox/geojsonhint.git"},"scripts":{"test":"eslint . && tap test/*.js --coverage","prepublish":"browserify . --standalone geojsonhint > geojsonhint.js"},"gitHead":"57cc1fe87c7e77c48e32a6141f74c21aa80b233d","homepage":"https://github.com/mapbox/geojsonhint#readme","_id":"@mapbox/geojsonhint@2.2.0","_nodeVersion":"8.11.3","_npmVersion":"6.6.0","dist":{"shasum":"75ca94706e9a56e6debf4e1c78fabdc67978b883","size":22526,"noattachment":false,"key":"/@mapbox/geojsonhint/-/@mapbox/geojsonhint-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mapbox/geojsonhint/download/@mapbox/geojsonhint-2.2.0.tgz"},"maintainers":[{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"}],"_npmUser":{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geojsonhint_2.2.0_1553607777182_0.8850788696974377"},"_hasShrinkwrap":false,"publish_time":1553607777336,"_cnpm_publish_time":1553607777336,"deprecated":"Please make plans to check GeoJSON in some other way"},"2.1.0":{"name":"@mapbox/geojsonhint","description":"validate and sanity-check geojson files","version":"2.1.0","author":{"name":"Tom MacWright"},"bin":{"geojsonhint":"./bin/geojsonhint"},"bugs":{"url":"https://github.com/mapbox/geojsonhint/issues"},"files":["geojsonhint.js","bin","lib"],"dependencies":{"concat-stream":"^1.6.1","jsonlint-lines":"1.7.1","minimist":"1.2.0","vfile":"^2.3.0","vfile-reporter":"^4.0.0"},"devDependencies":{"benchmark":"^2.1.0","browserify":"^16.1.1","eslint":"^4.18.2","fuzzer":"~0.2.0","glob":"^7.1.2","tap":"^11.1.2"},"keywords":["geojson","hint"],"license":"ISC","main":"lib/index.js","repository":{"type":"git","url":"git://github.com/mapbox/geojsonhint.git"},"scripts":{"test":"eslint . && tap test/*.js --coverage","prepublish":"browserify . --standalone geojsonhint > geojsonhint.js"},"licenseText":"Copyright 2017 Mapbox\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n","_id":"@mapbox/geojsonhint@2.1.0","dist":{"shasum":"bb94203ff09cf675898946362272e4738547c0d4","size":22297,"noattachment":false,"key":"/@mapbox/geojsonhint/-/@mapbox/geojsonhint-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mapbox/geojsonhint/download/@mapbox/geojsonhint-2.1.0.tgz"},"maintainers":[{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"}],"_npmUser":{"name":"ingalls","email":"ingalls@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geojsonhint_2.1.0_1521203406331_0.045007042811528564"},"_hasShrinkwrap":false,"publish_time":1521203407021,"_cnpm_publish_time":1521203407021,"deprecated":"Please make plans to check GeoJSON in some other way"},"2.0.1":{"name":"@mapbox/geojsonhint","description":"validate and sanity-check geojson files","version":"2.0.1","author":{"name":"Tom MacWright"},"bin":{"geojsonhint":"./bin/geojsonhint"},"bugs":{"url":"https://github.com/mapbox/geojsonhint/issues"},"files":["geojsonhint.js","bin","lib"],"dependencies":{"concat-stream":"~1.5.1","jsonlint-lines":"1.7.1","minimist":"1.2.0","vfile":"2.0.0","vfile-reporter":"3.0.0"},"devDependencies":{"benchmark":"^2.1.0","browserify":"13.1.0","eslint":"^3.0.1","fuzzer":"~0.2.0","glob":"~7.0.5","tap":"7.0.0"},"directories":{"test":"test"},"keywords":["geojson","hint"],"license":"ISC","main":"lib/index.js","repository":{"type":"git","url":"git://github.com/mapbox/geojsonhint.git"},"scripts":{"test":"eslint . && tap test/*.js --coverage","prepublish":"browserify . --standalone geojsonhint > geojsonhint.js"},"gitHead":"cce7219d8dc52cbf8143e9e18a1e500d3493882e","homepage":"https://github.com/mapbox/geojsonhint#readme","_id":"@mapbox/geojsonhint@2.0.1","_shasum":"32dac7300f04b3ebaec74b5ba9853dfb42532354","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.2","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"32dac7300f04b3ebaec74b5ba9853dfb42532354","size":22109,"noattachment":false,"key":"/@mapbox/geojsonhint/-/@mapbox/geojsonhint-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mapbox/geojsonhint/download/@mapbox/geojsonhint-2.0.1.tgz"},"maintainers":[{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/geojsonhint-2.0.1.tgz_1487643545357_0.9388498640619218"},"publish_time":1487643547447,"_cnpm_publish_time":1487643547447,"_hasShrinkwrap":false,"deprecated":"Please make plans to check GeoJSON in some other way"},"1.2.1":{"name":"@mapbox/geojsonhint","description":"validate and sanity-check geojson files","version":"1.2.1","author":{"name":"Tom MacWright"},"bin":{"geojsonhint":"./bin/geojsonhint"},"bugs":{"url":"https://github.com/mapbox/geojsonhint/issues"},"dependencies":{"chalk":"^1.1.0","concat-stream":"~1.4.4","jsonlint-lines":"1.7.1","minimist":"1.1.1","text-table":"^0.2.0"},"devDependencies":{"benchmark":"^1.0.0","eslint":"^1.10.3","eslint-config-unstyled":"^1.1.0","fuzzer":"~0.1.0","glob":"~3.2.6","tap":"~1.3.1"},"directories":{"test":"test"},"keywords":["geojson","hint"],"license":"ISC","main":"index.js","repository":{"type":"git","url":"git://github.com/mapbox/geojsonhint.git"},"scripts":{"test":"eslint index.js object.js && tap test/*.js --coverage"},"gitHead":"d4d01037ef8f1f1e805c43cb6ce7973a3bd3c835","homepage":"https://github.com/mapbox/geojsonhint#readme","_id":"@mapbox/geojsonhint@1.2.1","_shasum":"2afe435e8d567aa51873eb1e1ba65cc4d463c7a0","_from":".","_npmVersion":"4.0.2","_nodeVersion":"4.6.2","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"2afe435e8d567aa51873eb1e1ba65cc4d463c7a0","size":17440,"noattachment":false,"key":"/@mapbox/geojsonhint/-/@mapbox/geojsonhint-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mapbox/geojsonhint/download/@mapbox/geojsonhint-1.2.1.tgz"},"maintainers":[{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/geojsonhint-1.2.1.tgz_1480712595489_0.37464774725958705"},"publish_time":1480712597717,"_cnpm_publish_time":1480712597717,"_hasShrinkwrap":false,"deprecated":"Please make plans to check GeoJSON in some other way"},"2.0.0":{"name":"@mapbox/geojsonhint","description":"validate and sanity-check geojson files","version":"2.0.0","author":{"name":"Tom MacWright"},"bin":{"geojsonhint":"./bin/geojsonhint"},"bugs":{"url":"https://github.com/mapbox/geojsonhint/issues"},"files":["geojsonhint.js","bin","lib"],"dependencies":{"concat-stream":"~1.5.1","jsonlint-lines":"1.7.1","minimist":"1.2.0","vfile":"2.0.0","vfile-reporter":"3.0.0"},"devDependencies":{"benchmark":"^2.1.0","browserify":"13.1.0","eslint":"^3.0.1","fuzzer":"~0.2.0","glob":"~7.0.5","tap":"7.0.0"},"directories":{"test":"test"},"keywords":["geojson","hint"],"license":"ISC","main":"lib/index.js","repository":{"type":"git","url":"git://github.com/mapbox/geojsonhint.git"},"scripts":{"test":"eslint . && tap test/*.js --coverage","prepublish":"browserify . --standalone geojsonhint > geojsonhint.js"},"gitHead":"d8a0de1623f73b0a7137ecfaa4a45acd7231ee88","homepage":"https://github.com/mapbox/geojsonhint#readme","_id":"@mapbox/geojsonhint@2.0.0","_shasum":"054a3d3da1995d6b3533a7d7286d314eb8e28b2c","_from":".","_npmVersion":"4.0.2","_nodeVersion":"4.6.2","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"054a3d3da1995d6b3533a7d7286d314eb8e28b2c","size":22491,"noattachment":false,"key":"/@mapbox/geojsonhint/-/@mapbox/geojsonhint-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@mapbox/geojsonhint/download/@mapbox/geojsonhint-2.0.0.tgz"},"maintainers":[{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/geojsonhint-2.0.0.tgz_1480711281854_0.8760439222678542"},"publish_time":1480711284219,"_cnpm_publish_time":1480711284219,"_hasShrinkwrap":false,"deprecated":"Please make plans to check GeoJSON in some other way"}},"readme":"[![Build Status](https://secure.travis-ci.org/mapbox/geojsonhint.svg?branch=master)](http://travis-ci.org/mapbox/geojsonhint) [![Coverage Status](https://coveralls.io/repos/mapbox/geojsonhint/badge.svg)](https://coveralls.io/r/mapbox/geojsonhint)\n\n# geojsonhint: complete, fast, standards-based validation for geojson\n\nImportant: development of geojsonhint is currently paused. Until development restarts, please refrain from adding non-critical issues or PRs.\n\nA [lint](https://en.wikipedia.org/wiki/Lint_%28software%29) tool for the [GeoJSON](https://tools.ietf.org/html/rfc7946)\nstandard. geojsonhint is written _to the standard_, with no missing or additional\nopinions about structure.\n\nThanks to `jsonlint-lines`, GeoJSON that is also not valid [JSON](http://json.org/)\ncan return informative, line-oriented parsing errors.\n\n## Specification\n\nThe basis of this tool is the published [GeoJSON](https://tools.ietf.org/html/rfc7946) specification.\n\n## API\n\n`errors = geojsonhint.hint(string or object, options)`\n\nLint a file, given as a string or object. This call detects all aberrations from\nthe GeoJSON standards and returns them as an array of errors. An example of the output:\n\n```json\n[{\n  \"message\": \"\\\"features\\\" property should be an array, but is an object instead\",\n  \"line\": 1\n}]\n```\n\nThe options argument is optional. It has these options:\n\n`noDuplicateMembers`.\n\nBy default, geojsonhint will treat repeated properties as an error: you can\nset noDuplicateMembers to false to allow them. For instance:\n\n```js\ngeojsonhint.hint('{\"type\":\"invalid\",\"type\":\"Feature\",\"properties\":{},\"geometry\":null}', {\n    noDuplicateMembers: false\n});\n```\n\nThe repeated `type` property in this input will be ignored with the option,\nand flagged without it.\n\n\n`precisionWarning`.\n\nGeoJSON [now recommends six decimal places of accuracy](https://tools.ietf.org/html/rfc7946#section-11.2)\nfor coordinates (Section 11.2). This option adds a warning message when coordinates\ncontain over 6 decimal places of accuracy, up to 10 coordinates before the warning\nmessage is truncated for performance.\n\n```js\ngeojsonhint.hint('{ \"type\": \"Point\", \"coordinates\": [100.0000000001, 5.0000000001] }', {\n    precisionWarning: false\n});\n```\n\nWith this option enabled, geojsonhint will produce these warnings:\n\n```js\n[{\n  line: 1,\n  level: 'message',\n  message: 'precision of coordinates should be reduced'\n}, {\n  line: 1,\n  level: 'message',\n  message: 'precision of coordinates should be reduced'\n}]\n```\n\nWithout this option, this input will pass without errors.\n\n## Line Numbers\n\nNote that the GeoJSON can be given as a **string or as an object**. Here's how\nto choose which input to use:\n\n* `string` inputs receive **line numbers for each error**. These make errors\n  easier to track down if the GeoJSON is hand-written.\n* `object` inputs don't have line numbers but are evaluated faster, by up to 10x.\n  GeoJSONHint is _very fast already_ so unless you have identified it as a\n  bottleneck in your application, don't [prematurely optimize](http://c2.com/cgi/wiki?PrematureOptimization) based\n  on this fact.\n\nIf you're really trying to save space and don't care about JSON validity errors -\nonly GeoJSON errors - you can `require('geojsonhint/lib/object')` to get a version\nof this library that bypasses jsonlint-lines and provides only the object\ninterface.\n\n## use it\n\n**npm** (node.js, browserify, webpack, etc)\n\n    npm install --save @mapbox/geojsonhint\n\n**CDN / script tag**\n\nHit this URL to resolve to the latest pinned version.\n\n    https://unpkg.com/@mapbox/geojsonhint@latest/geojsonhint.js\n\n## As a command-line utility\n\nInstall:\n\n    npm install -g @mapbox/geojsonhint\n\n```\n➟ geojsonhint\nUsage: geojsonhint FILE.geojson\n\nOptions:\n  --json  output json-formatted data for hints\n```\n\n```\n➟ geojsonhint test.geojson\nline 9, each element in a position must be a number\n```\n\n## Development\n\n* Tests: `npm test`\n* Building the browser version: `npm run build`\n\n## See Also\n\n* [grunt-geojsonhint](https://github.com/jieter/grunt-geojsonhint) does it as a Grunt task\n* [GeoJSON-Validation](https://github.com/craveprogramminginc/GeoJSON-Validation) is another node module for this.\n* [geojson-assert](https://github.com/calvinmetcalf/geojson-assert) does it in assertion tests\n* [geojsonlint](https://github.com/ropenscilabs/geojsonlint) does it in an R package\n","_attachments":{},"homepage":"https://github.com/mapbox/geojsonhint#readme","bugs":{"url":"https://github.com/mapbox/geojsonhint/issues"},"license":"ISC"}