{"_id":"@basementuniverse/world-locations-map","_rev":"1-000ed3cbef17e0903f284d776dc14866","name":"@basementuniverse/world-locations-map","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@basementuniverse/world-locations-map","version":"0.1.0","description":"Show a list of locations on a world map.","scripts":{"clean":"rimraf lib/","copy-assets":"copyfiles -u 1 src/index.css src/world.svg src/loading-spinner.css lib/","build":"npm run clean && tsc && npm run copy-assets","prepare":"npm run build"},"main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"Gordon Larrigan","email":"gordonlarrigan@gmail.com","url":"https://gordonlarrigan.com"},"homepage":"https://github.com/basementuniverse/world-locations-map#readme","repository":{"type":"git","url":"git+https://github.com/basementuniverse/world-locations-map.git"},"license":"MIT","keywords":["world","map","geo","location"],"devDependencies":{"@types/react":"^17.0.5","@types/react-dom":"^17.0.5","copyfiles":"^2.4.1","react":"^17.0.2","react-dom":"^17.0.2","rimraf":"^3.0.2","typescript":"^4.2.4"},"dependencies":{"react-resize-detector":"^6.7.1"},"gitHead":"5814215fcbee1978b91888b79872c1a93d97e172","bugs":{"url":"https://github.com/basementuniverse/world-locations-map/issues"},"_id":"@basementuniverse/world-locations-map@0.1.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-dbIQ4Zkjy6L/ZgD8NQTrGEmveO65SdGd2lzQlc+RdOfhPUOQW8k1Arbcm6oPgMTHlZ518ktEHRaIVE7IfVbfzA==","shasum":"131f7e93165bbbfd9ec4a4ae6019e7653d14472f","tarball":"https://registry.npmjs.org/@basementuniverse/world-locations-map/-/world-locations-map-0.1.0.tgz","fileCount":15,"unpackedSize":356396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpFLeCRA9TVsSAnZWagAAtnQP/0Cbs8V33L3qXXO6yslu\nSbRcamTe1/stLYHkGfcU922O6PgrFhlxarUmwiIASTqXFKCM+WcaHK0zmkii\nQkkVoACea+RP1U/PFf6mpvlU9Jc3GCmyKShI++2JdkORhCqSmri66fLl72Es\nPfUB4N6hDdkuRNRbU+K6Mq7ATXpKIXn9/DeJP8lFaxLubAb4WZdmTwYy1Iya\n0kAKjwXXJc2Kcm1SNmXJkxTP65jtE75h9joz2j9ZetzLW4u73HD3iZw9i+Xg\nbfNNUbztTrOLsa0CKtArOLUsAPAf4Gd1pgjqI/oqNLTkWr+fk64t2SVcbKHf\nP6BFXAE2iVpzl6hq5iMtqekllafqdWq2SQ6XXZvaumRu/OXFzTFOgwRfhQ2g\nm9RoTmEEz4tqoi6dLz+c7bKPrpEbsXHvwVQkhrg6PXxA+6hHmQokCyKhWdkv\nCBTKAsuOfe52doe+VRhfebiSkTFhuns70nBNIA0z5J8mtrV9njbYbNGwrpq8\nKlQ9QkoLBTuFk9bHkz0U+fos52D2FsS3jwHQkXT9+KCj5BE5CMH618uPdiKQ\nxX/B7vf9rG5AssBWT0939oU49JSFjB178F6pTqtjQ8xTNu3ZL07Q5bpYITOE\n5uxLPC7OdDeFNo/bRg2Q5SKG0e37w9jyqerSRq5V6CSZTio4pwevQLtquuX2\n5OYl\r\n=XAJR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHdBbCSuLd3WEZWgQLKerSLYTWI74IlgsFT18tvo6pfFAiBVn+6uyYzjiI5Pi0/jLtIQvaUOPXBshDWbuRaSS5BOIg=="}]},"_npmUser":{"name":"basementuniverse","email":"gordonlarrigan@gmail.com"},"directories":{},"maintainers":[{"name":"basementuniverse","email":"gordonlarrigan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/world-locations-map_0.1.0_1621381854357_0.11525843787825996"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-18T23:50:54.287Z","0.1.0":"2021-05-18T23:50:54.492Z","modified":"2022-04-04T17:46:22.461Z"},"maintainers":[{"name":"basementuniverse","email":"gordonlarrigan@gmail.com"}],"description":"Show a list of locations on a world map.","homepage":"https://github.com/basementuniverse/world-locations-map#readme","keywords":["world","map","geo","location"],"repository":{"type":"git","url":"git+https://github.com/basementuniverse/world-locations-map.git"},"author":{"name":"Gordon Larrigan","email":"gordonlarrigan@gmail.com","url":"https://gordonlarrigan.com"},"bugs":{"url":"https://github.com/basementuniverse/world-locations-map/issues"},"license":"MIT","readme":"# World Locations Map\n\nShow a list of locations on a world map.\n\n![preview](preview.png \"Preview\")\n\n## Installation\n\n```bash\nnpm install @basementuniverse/world-locations-map\n```\n```bash\nyarn add @basementuniverse/world-locations-map\n```\n\n## How to use\n\n```typescript\nimport { WorldLocationsMap } from '@basementuniverse/world-locations-map';\n```\n\n```jsx\n<WorldLocationsMap\n  background=\"#333\"\n  foreground=\"#777\"\n  locations={[\n    {\n      lat: 51.4,\n      long: -1,\n      label: 'UK',\n      colour: '#0f0',\n      size: 0.05\n    },\n  ]}\n/>\n```\n\n### Props\n\n```typescript\n{\n  background?: string,\n  foreground?: string,\n  locations: {\n    long: number,\n    lat: number,\n    label?: string,\n    size?: number,\n    colour?: string,\n  }[],\n}\n```\n","readmeFilename":"README.md"}