{"_id":"@carto/airship-bridge","_rev":"79-35752a22fd6f46dc484402770e3e6268","name":"@carto/airship-bridge","dist-tags":{"prerelease":"2.4.1-rc.0","latest":"2.4.1"},"versions":{"2.0.0-rc.2":{"name":"@carto/airship-bridge","version":"2.0.0-rc.2","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.0.0-rc.2","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"dmanzanares","email":"dmanzanares@cartodb.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"iagolast","email":"iago.lastra@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"cb328039ace50e418dbeee64d722e68506be7e95","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.0.0-rc.2.tgz","fileCount":66,"integrity":"sha512-UYXXR35HmicJQEpM/OMykJt+6DoJHk417+o6mxpwdqaiJ/V89ccS9KFtgwdbQRX+YPAalBUhRVX+Kx3ZycR99w==","signatures":[{"sig":"MEQCIEjBmkI7kpwj0pl+/3f/BBseprgrjXAj9x/bLuaTGQm9AiACvFHPftvPEChm060mizloSk3lkY/+fYD/aax6/69umw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":319770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclNtjCRA9TVsSAnZWagAAJ2oP/1GQLX/WWiT6LdtdhBHG\noC2tylShDfkHCDQat6P55AF9UEQSXvXZypGW2Ny6Q0FoK+rnadL7T3xmjxBD\ntkLVt+mqSvtVj0uflnsj1aqMcAvIGVoKfL+MBfwT+S/6T4sDVTP07lcos9Ui\napd+n0lBd4P+PWyUARrJg9Y5JZprG5n8p0fzQ8jOzZ3HSMENsMbuSrljzHf5\nqwwGhJV6R9NfZJW6klWmGJg+T6ZRftgNHJ0vK5DkqF0op+OK5se6dkmBkHMZ\ncsqz5NkZAao2BrRKqDdvZJWXuW0Z9y1XcbvBiNO99N2ISYkd2JrFt4ss+vc6\nMX09s0Je5He77Kv0UdLHtwPs+5EicJzkikJCVKcGcN103xQtE7u1JjVJrhk9\nZ88q/KRdvD7s66orq7l/qo3yvocvynfBv2goNtawdEoA0GSrN6yno0abBZPj\nuPjY5G8zqgUBItrriLHeGifTgPoO8df01vT6fPXc/6f7JFTlx/r2SCJ7ty0L\nJdSL1pW9Kk3LY3S0TQEq6ih3UqYbhbcjxY6FK39WZHMo8Fme8TmREyRQsnMN\ns92CD06+KtCya4YVxTflznA/eU9QaMIMwZeQF+9QM1rU67zIvE+OgCtfFANP\njOJoXenZJIeRQs0G5UQyykW5lsxEGYmpmL24LjjO9/1z71xOp8u0Pa7ml3AB\nMLAN\r\n=Hjh/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"echo 'disabled while unreleased'","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.0.0-rc.2_1553259363222_0.13352096680540249","host":"s3://npm-registry-packages"}},"2.0.0-rc.3":{"name":"@carto/airship-bridge","version":"2.0.0-rc.3","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.0.0-rc.3","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"dmanzanares","email":"dmanzanares@cartodb.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"iagolast","email":"iago.lastra@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"9d4a28d887d7a58b866dded7bd9be608710c9037","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.0.0-rc.3.tgz","fileCount":65,"integrity":"sha512-RH/7te3sbjrbSOUHciYYe1Pcph9vds+7TM9WB1ohv/sVyCUmn6VEgoRdxzRn8knn3PZEozxWpfpbKubsLHlyAA==","signatures":[{"sig":"MEYCIQCFtjJgGA/rGnfS5+wt1HeqxJsWAbcxwJaRQhHtBFkqEgIhAJeJbM1avYnVb6fYRH+AhniO4f7//dUjohFDtwtjzjrp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":319800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclRIkCRA9TVsSAnZWagAAbxMQAIrbuQhon6pFwnfNUSau\ntff5sJa2+rev5POQ9oBEwyShi3VxVvK6NxNdKMNuiItOR46X6HKQqApREbX1\nXA2rpHKeR4AbInBjk72D3OFUuKvWxbuPc+kkegDoTiaMrhRti0zPMVfXbirm\npY2AciBJm6xBTWZYOdKA9/E2hlqUccBbzuYJYCPKyHHr7xe0Vb4a1ZNgq66u\n2AOZX9AI+FPztv5uUW4c9nQXDzZvyaiLjyk66nXDnk/MD1c1H07ddEj8JQ0c\nup8kyqlKzydTYCZNL1jy3lB6L+Bb61tCwxffnF1ZyEojZRrrSZ3rPnlw5nZ2\n6e3Qmpc7tHNOH3hF8q2fs0AyxPs3or7VWjsEq46AzjLKV3CT5kyAsFuoUQPW\nwzRuQf+NZ6N/heWUfFrlGe007UWbsmpOvKJDFBvXf4TWHSjjPtOTSlxKA5lo\nexYav73+2pS057lgXb8PeFBZ5CSX5Tl8iAivQASnn4d4Pxg9y2JiBLAQH4qg\nnD94RBcn+OnTSo6RfxdXTi6hgVpgpAxRp/fIlVffexeYo0LSr8ZhX2JGLRvF\nGGRPOiaqMowd8Rc+GySvyBIYIZONsotzueQa32At32t2n26+xlQfqyQiY06u\nz9x8YxsyrmVi35LNO9n/SvQcs+FexVgW3pO6qFIbXs95AUK7pQ83MuiwHMpw\n7e/h\r\n=+JSm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.0.0-rc.3_1553273379364_0.32199624277214745","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@carto/airship-bridge","version":"2.0.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.0.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"dmanzanares","email":"dmanzanares@cartodb.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"iagolast","email":"iago.lastra@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"692a97849fb28d2056bf79b3973ece1656dd05fd","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.0.0.tgz","fileCount":65,"integrity":"sha512-WCH2/hlZFZntUHhXquiV/d7n8ldyPOdI+dKPqRFT/x1cmQBCU4FsV7IzKl3e/IFhlES8MWduO6vkTpB50AsgWw==","signatures":[{"sig":"MEQCIHT1JoGfrBZX6uhTsCl9guDgn4r++Qta9or3piECwnBiAiAo7JzPjZEx0A3w2iEFP1+NhFlh56UVWzyFF12/BihTMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":319721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmP1xCRA9TVsSAnZWagAAQs4P/RUco1RJDjEomXIgF8Xl\nV4ndc2FvDsrSSRHW3IXpkzTnWYoeVJuA9l6jTM4S/6e+PhPVVUxVFS7SLGDx\nMN+grnNmpT2/p5c2uk+oX9Pw1qwyQBG+OZWXcwqdfUojyROJbjEoBWTdxS3E\nzv3eQGSjRknznP0YIXtY5kp0/uImZkR3qrxv/cOj30pEQ32wcLyQMuoQ4HMV\nb0xlqHH3pT9RdSs6TmiaQ3JGNu5Sj5hGG9LPTccBU0VpByelQH5/Q3l1DOh3\naCxLrSd0Qo7YbjnO6K8ceWGo9wMzyn4ZYMl0VuDuFsIU4TbuLuAm9biD4tCN\nD2JSyhp+m8d3eTCTK+NH399q2LryhOPjlEzQbt55PyR1wTvgv/R2mtZMCpKj\nFzCPWHh9Ezcjn+NSK6v8bvAdqmfbAY7xPni77Q4Ebf4/cy/jIQot9P4AgteO\ncDIFrm40WTcah7EvF9qPfgznVYAnJmdyV3QqBwjHdhi1CA+8tFMuZRjAMc0d\nckIYx4fES1V7UGheicgpBy/TBTeRGemSSimC1ZxKHp8tLY9zgCGMNvkJPm2f\neanyK05vSkFo3gHi//djadoigBcroXYxIDZc+a/AhM2f3wM24UvzfErnk9c4\nX4/UZLfH0ii+54zybmdD5lHo2msvoFQj9NNtbS5+YfbZ6th4PSHAIGoyKjfV\nAoYD\r\n=oL8S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.0.0_1553530224906_0.31912991077027764","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"@carto/airship-bridge","version":"2.0.4","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.0.4","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"dmanzanares","email":"dmanzanares@cartodb.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"iagolast","email":"iago.lastra@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"ea7af7e60a9a0e0b52c1e174ad89bea8d98dc3be","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.0.4.tgz","fileCount":65,"integrity":"sha512-2FAaWSgVZ+NUhH+keZbe9tY7rjiJpp8haFVCxyy6feS1R1CXua1Veiy0Oxuiy3FQSQ3V/cpSmuTLH3/sltNDag==","signatures":[{"sig":"MEQCIAuUUaQEhy/QTbsHNhhT04EHEHRUf08Dk2EdeXaNBmN8AiBUxOsrkOBWGBTCwak3UALJ+vSRyyVF/jOPJzv7z0LdLw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":319721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmmQlCRA9TVsSAnZWagAAY5wP/3ad/RWkljR3/5WkLJvY\nGbwtDdW8Y4pulL7SEVfetxaoLW6P2pmb7HCNF9h5KokLxc4sigVEKASJBHdm\neZG20k82bzRGgT8T0OhrC31102kQhW7MhUTNmGmn3gAQ8Jzk7TfPM31QFmLF\n+vJ74UyFCW5CZwjWUtXFC1usfrIZ1S4rPb3QECniHL1tgDL618fhCX7c2L8q\no4Y5K5YvQxVpumjyWrwwSjqDypINXhjGlRDfHEoQvEG750Pm7Fg6ln86WlvS\nZGgt3aGEENOrnc3nRgz6RiOPLPne1O/DWFr5DfzayhEkFm4jwa6HOQZefX8i\nf2b0/Q6sSLn+C4O4t9afQyGDTgXKfVrnMc5/EyYaWSdNrmUpjrgCW5Kl6Yo2\nkWehCMd8tY8SdGNM53EAN68ciadikM3sWejo2GwgzL9spndiu8q4eDJShcod\nISl3JuvG7XtAhntQQvYYdomksOo4v5Sx1hp9FvenKxw6qPrCjk/pw0IzQSn1\ntheihqba2JuRALnXx8giOgmUNYugvUFC6xL/s0xjrf9A6pUHtBgoOk8bCIlo\n5ValkQoU+Mv54usEjB9xwZ1xYs1WO1p7RTzBVkQcH+QTlaa4zOmfIG0gmICP\nhbwsxWUCTyliBI2JzxslnAG+lu9fgfccMzIOwMabh/LWZoXLtejdrL/eFifI\naxDN\r\n=bmDJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.0.4_1553622052690_0.9435113175799188","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"@carto/airship-bridge","version":"2.0.5","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.0.5","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"dmanzanares","email":"dmanzanares@cartodb.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"iagolast","email":"iago.lastra@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"6327e5d8070a00ad320ea4401c011f51ab5f8168","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.0.5.tgz","fileCount":65,"integrity":"sha512-ccCfe0SriQ7648aSBUVoJWY8g4XtjBCfklg/GDpcc0X2KYr7//jN8liWOS1HREvoEM9dXLraKhcE9L9wfGou+Q==","signatures":[{"sig":"MEYCIQDklKDKSaZeWCa2L33tg4AM79SVPsHVpMY4at9PRq5puAIhAMZzI43Y0q9DnQQ1Oat0rNPn+annAlAVAH5Z3ueY+hqY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":319721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmmttCRA9TVsSAnZWagAANoIP/j2bVz2kUu9VDbe6WN14\nhO6lhFDzRXv/ijkiDxNgOhPngwkmmmulGR8+HKhvwxSfB+WNT5F0D0rbjSX5\nxq1Ttz0+xOthgopquuT9Omlw46tlFmKkg9HzPs/kXGoUUT2e4EzCcNL5Co5w\nhHBjsPpur/q1NDeKNA5nIS11sgh92B2ruOfrR+RHMg7/3jnPT7HESpWqpP6a\nKNyI9gFPsaNkMqa4UsgePI1SifqQCPd00T/a8Y3LPOjwV6ijCtbMUhCAU92E\nUk1H8pUQtIs1CGpLaEzzRp5m2a3ET9OVzPt10Ngrj1gf3zB7/iweH5hSUqkw\nPmQKsDOWnFjb97BqURGKyJeKaVFPMduYuH+CmmdmBci/3IYi3HFz8gjveYr5\nrVicQRaYwGrYKAx3SumRBuv/bTAu16k5isfbBQtqgxwkXr0XZHY2y+DneCgu\ntZthlUTGMMhvAZnDy/zyTKKvSo0YUHi9v8aqWknLoyZ89ypwiJfrCRB3zE7q\n1NtDNkKnZLKcDQd+zHkV66AEfN05KQ1pf1qqcALrqdJwxAEgwFaduXEDMv+e\nMd9VeNhMqVx2IZqhecQwJl1CVYyZjvP1AzWL+mqWw2+bXsV5uzYmLRnP7RyM\n6bXzRwRQdmDKWt3mZ9SNosn0F3iBlGnlQm0RY/NaGpU1JLTLH1ATRKBpLlX9\nGlZO\r\n=oGPH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.0.5_1553623916750_0.8139875755460542","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"@carto/airship-bridge","version":"2.0.6","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.0.6","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"f5adfe1a3226204526bde0886e2f290405d85b94","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.0.6.tgz","fileCount":66,"integrity":"sha512-WOX+lojcWoRJaTJkb/kLOqRvOkseywuErNV2VOuDy7BvpSiHGZJZw7y1BQMWiR94rlQRdsloPB3cKUdK8v1Elw==","signatures":[{"sig":"MEYCIQD+KCnh4OMnEGKEbHFguJB7juneJcDoIWkDAefLLe0TUAIhAOyYoEWPS6JX8fott9mpBCM/oIQSGAJzYblhgjDskTIC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":317872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4uhwCRA9TVsSAnZWagAAhwIP/R/Sg3nwtgz8nu7Oil6Y\nCaZJyOCirInBPEGTi51U3YCVLR/SmojFpQOOrsDD4MM5A5zilor6tA2WLb4n\ni99Y5nJFIVOHNI/owPCie8wlWetkLKwaGSPsEla5iHnbOB9Q5a8/WNU94c0Q\ne8da91Hk4We9zOSvx/jdkQQVVxnDDoU5g4mDq2eCSJcW3tm0liE5IduVdgN0\nj2v/ujLX1WBgpQbTOLoRiS3MfWCpRv+qeoqoTe21Q4Nw/J7Y8Z6ae6LUvpw9\nc2xAPGad3HTbBrlwHgCq1DFSPU6VW/2Wmp2GCkC/j1r6cIGtpZ7PPl+VlVY6\nTN3ormWHh/X1EtlYrGaY8QaZHKuZrgNh76dPyw5n/IK3ShaMX6cM7hT9fFJB\nQJCY3KRgMBS/tAfh114+X1Q1h0ww9G50g+q3yo1jz+Xvpu1GiIgY1Njc/jej\nZYs73HUdo+kd3Uq8vlauLKVW+R3jLad85j3ECjYfQud/pzupdbP+/kJ4HDYR\nExsrG4axYJ7gbt5P3ZQwJX+lRFPSUJMlaNqmSBUqK3O0cFXaqy18O7sByDEx\nfHSYie1k5Iw745QanQMM867uDYDSZ/X7lAq1dghASNQ6wL5g/MrbVZl2GpLQ\n/Z9NHt7A3gunmo3/TEvzIxYH1RSZJ6PkAVClx7Pfx4mSchLPhFgzNgeCAyB6\nrvXK\r\n=Gc/e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.4.1","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.0.6_1558374511346_0.4226761255673457","host":"s3://npm-registry-packages"}},"2.1.0-rc.0":{"name":"@carto/airship-bridge","version":"2.1.0-rc.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.1.0-rc.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"3c60e150e8064b6e35d44cc548b149e9323e04b6","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.1.0-rc.0.tgz","fileCount":71,"integrity":"sha512-8srs9vPKEURZOK5ss5QCtpw0tgLIutc150PbF1JVTPh0s0QRzRyxOYKpKGe/Mk51u1bMSaSBS7x7TYK5HEDx8A==","signatures":[{"sig":"MEUCIQDhRNWGgq38mmjvCrZogx1Fg0HEY7Rgb7UDVtiANlJaxwIgZz45WT+fWA0f63AZF3d9quMn5lHaixtEdc+9rrzaxy4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":344059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9VCICRA9TVsSAnZWagAAKVsP/0v4dyMNlqtTlJWoA3S3\n5Z0pS4Vorh22iOJlLYh1VgcJqc0imz916LEk2ug7OmshB/1UK1Js1NDcT3wW\nNWWh9l6vDKfWBffb+UNWtrgdhi4ga9UHaR5gbW/5Y8xaDAA6V1iIeHDmsb2t\nAPuJmEoy1Ctj94m4v8G208Jnwv/Ii060DOh6CLJSE1JcoPuA8wlCZvi3DsCR\naHEuTqMhdOTfynxTCKqmW3LDkG9repD+qAqC8kRBPgHx5l1M0e57Rx9OaKqQ\nkqewPd6PRpHLFRTvNLKUynwXaTwaH2S+Is+EZ3FFcLz0mpnjZWmDjePTj9Lg\nHUDPmvWHGCmXVjHEIa2mC0VGH+I+/001wbVkG8blAuvwyX8iSZ7N0iVR6dgq\nWhHV9fn7XK/mWg4WYv3Gvkq1upVEPe1vndpRPMpM1y9e2yNxYXWwFlZ8wOT9\n2o4FfDzDcz6rniZM2nQONoI3w06phNc7ogAILkDqGT1oAAd7ceQQfK8I2SEH\nzc42ePL1ck6zdXZ9JdrOGvkPgTWYYHpLhur3/ZHRXKjuJHrswCh2xgMRZvvh\neOARoIBLdjFdGEOX3tRS5b9uPfQdy2r6uOdXonjv/SzqC95zmRGfvXMjPc43\nlalIuzSvP5lZ51qioIlW92N6HlXoKx+CsbsCPBTgEP6PWRVLOjgdWJoMJ7MT\nagOW\r\n=Rvyf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.1.0-rc.0_1559580807010_0.8713653552704306","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"@carto/airship-bridge","version":"2.0.7","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.0.7","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"db57d7fd1f75b1598c2cec5f792ec66d5fd30741","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.0.7.tgz","fileCount":66,"integrity":"sha512-FGo3dneWyBJolr4WoXtUlhptsHUBRcueiA5O445XoqJy+LWdkGvnDj1dHWuYtxrA+KyTvhIgYLt8ZLrj/uOccA==","signatures":[{"sig":"MEQCIHqi++DWHF30ZnKOiKilkXKMD8tSZn38+K9HeHwzgRnBAiA0mthJrpV7S8us+LiPUtvW6weDAahdol7bndoa4jsjRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":320228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAh/nCRA9TVsSAnZWagAANk0P/3daZ/T/H78PqaoFIpC9\nJR/lrj5UhvyDIHzq7i14eAJBPjCCiEJKiFDBW8KWSzO98xdWE5j9dtXhhb3M\n6uP2tiYjIY8xqPaLgh3DO5vOQxe+UOEO3GO7uMmNT7Ve2bJ3pMAcsrL5fLnQ\nusa6dUhQKmbUPcUF3ug5oMRvPKN61ERTtlBTa4IM6vJXgwajPOnUCujdUu5/\n1D61kL5Ow7SLIdm6FkPm4mDCuwlWFHj4WhG04QxvZgyEj5Ia0GxMJ571bR8V\n+kKv6JqLWARpoj3nUzZJR1+duqfltqmSZkgSkt5TAIvfIMTCSk+afa2O6w8P\ncwQ9T5/JkLYGg6PBSZRc0VdOamgTwfqGizyHalAbQQ2FkNrVVuoxlXa/DpVL\n+piF0VSJ6fFMLwIVXCxpmOA7f5vK0Bi5XC30buSVxvqiPDaF51sxeTA/zEaM\nnaIPOmQuojzlThLYmwHwdG5lk70a18qMKspNuV+e9AiBRjTEJbhpra/2mskY\nMTQVSXwte8ZuWVFeH798pwBYQt9QbmKKM17n+s+NS7+oE7ga2lHSpy/ubjXC\nhzf9FgeknSpULlujsg271qs3o4HHoPYPWVsaHKdKJQD8Pw0juOSH/SJmdawS\ngd1M+RQiiHmeFwY2RsGx0PUlJCHuzVNXKzNtogEv52lGs/Q9nLT1Dw596Xtw\nqZNK\r\n=Xrpp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.0.7_1560420326654_0.006312333733177633","host":"s3://npm-registry-packages"}},"2.1.0-rc.1":{"name":"@carto/airship-bridge","version":"2.1.0-rc.1","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.1.0-rc.1","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"f91f62f98c98474a49739d42550244914b6fd857","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.1.0-rc.1.tgz","fileCount":72,"integrity":"sha512-ceGegKlHUsLfhcXP8VqwCfor/vHFxX8502gYIg9lcLVZPJKU89I3dBmLv2bRshJOv+QnygiUaaZy+GVxLPmRZA==","signatures":[{"sig":"MEUCIQDyX0CSUOnU7/Zg/oNPmZPO0Ghj/cQTqYTqLlC1vcYmAQIgL6iICRC4nyaF60SYycD4N8kUcvE7yWCZkuwGn4vfwm0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":344566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB4vwCRA9TVsSAnZWagAAiO0P/2VWQ7O0tB9QtezYtoKx\nuyqHAtPzSAinBy6/Wn0jjoPdJCtRSB9nkYtf65VnvWHyq8qapj24ag1+DEWV\nACRaOESnXo9xHFhTZKozGAeH5UNl3WCcPnpky1A9xMqw2eAzuXim20sh+gPc\n1anljjD99qrxKPZ56tRTieWRmkvPQjfzgW6eqhlUT6ZNdMHNwABtOxFdEoDu\np5bfXACVJ4jlZbdSbO/jV9YLHi5dR4JS7veeSNLKEbl2itSjDOUV7DkSMPKh\n/DFvR51Qt2fsR96OjCFHrDM9ehI4DAoIkRAERwxE/6J5mBaq/IbjTpdqBQTH\n2tufrNcXXhR3cpHvu82h1MNmdok5iLlxKxMSnpLyrVyEHUS2TRe5VUgrc2Ga\n8HfpuPBNuChlMKUj+q7h18JMgPVgFWtf/Md+OHA/Vnn45Cjrq7+87+sdCp5O\n/h5cfTWW5Q/dJawSiDV7cs2IYZ1QRidKJ+sNgHa0xt3cX9oK5bXxsOnjgXsW\nmtUgbeS+ELRCuCw5wd82RZKUTw//IzthIDtZT+09xH1c7ZnyWn4WGcycXdqN\nAUPZ0mnMBZzqxzuWY4Sh96GNBSvke/psV96HEyb8wSA//LrWprT39FJCty5P\ntwNF96fImrZ8olqeMZLpzq+ufpIpyQZTAY3EdWDUak5m6aMWfp5wbrk10nd0\nrMPV\r\n=eILK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.1.0-rc.1_1560775663581_0.9855917644677636","host":"s3://npm-registry-packages"}},"2.1.0-rc.2":{"name":"@carto/airship-bridge","version":"2.1.0-rc.2","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.1.0-rc.2","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"b2a1b2e07dab154aceed4c096c509e038dd97831","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.1.0-rc.2.tgz","fileCount":73,"integrity":"sha512-kM9ZSqijgeKOjdprrP73kKl8Dhomvxkp3B293REE4VIigmPxYg5guJucW/ILZ7VS/56yd7oD0y7eEAUW5Iywwg==","signatures":[{"sig":"MEUCIHC8wZYT4P7XWkyf3cwJMQ4q4/aOW7I+QXa0vegt0SdbAiEAoLZa/TqUxJVejUzNcf4tJ1J6yAooBzxEaRJw0taX7zI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":349275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB9HpCRA9TVsSAnZWagAAq0kP/0YUE2gu2R1Eo+TSlcOl\n4IYbP3cTaXpKmoyaZo5uECjlJk6uBZ5SOxzG+/wgFz3l8T9MZrWYn14YY1So\nQpdtEglac0hQ1SO9Ns9VqJRcqfBitaWbgbcoNW6z3/xnXM7TOHuhUlJ0pFtY\nXpvR87YqHk+yI5wZEbw9G+4dmfN1lpCuU30yWHr+hTgVNrImv/ByxdKcMDiB\n1+1OXW8gqHzyuFUkadvmOWrlmzFDZpDibHtw1rXGrhoHJXhxOdksJPS/Qjls\nOYi/XCCPJb41QSdbGkqx2tGjItoQ4q5lzDt+bp0Njwz31t0I/LOD6lAKLHvU\nkW7F5mUXOEY9ahCw7Zmzw0LTlfajkrwefcreRLuUGWoD7s+UZZwZixoWVhBs\n8Das9NIgFPi+9Ag4ITsmP6jHewo0PIDJgwPOi1scqBqTzBhF5Ls6rJRfxQyj\n4tGVGKTe6z6AgYF3DGqG5vwp7T5scpHT5R3fdWc+51CM7p8hFFy07VQgUYH3\n6WZQ0JDjQs3fZCTzRMvJ6cE8yeTwbOXRW++b3UdnfT+d7DhifL6ruqT/2ort\nQPQVobwJ9o1atwZUdrUIFNaUwmLpBs8FzvKL59Saddheeq/K8XL77+/7F3+u\nQQjRXLyo/5+6hTCt2ZswsZ1VCsjtyB0jjIdMg5gR/sekXP+zG5uID0+bRPcL\nv7NL\r\n=PtQk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.4.1","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.1.0-rc.2_1560793576922_0.8656543182723233","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@carto/airship-bridge","version":"2.1.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.1.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rochoa","email":"rochoaf@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"084bb3197386186b7fe462518f4bb7e40b860826","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.1.0.tgz","fileCount":73,"integrity":"sha512-lhjBgLd2YfODB0hPkUr0rJiSZopEsTersoE1nl5miHZuAUbr7+kXVwwRIuzPHbR36WucabdmWmXGHD+ga4G7BQ==","signatures":[{"sig":"MEYCIQDrOUPitqRsxBjxNLO5/iKGQjvmi4brgeoQ9ba2euC0HwIhAIdXtAk9+pRirD4K0mOhRSklNRCnT9jTUv3l0EGH4K/p","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":352120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCK05CRA9TVsSAnZWagAAjDkP/1fgCAJhecnDPTt/MC8+\n6P5NJVvNnIattMYyjss8fQFtUC4E63uFp/9xGSnCAdWbaF6xfAGCw7EoWPjP\nbwhYuLeqR4EICT9SgETtf3JQmwjaPxJJtDisJicO9R+irniaY5KJIIVp2Q2J\n7sjbArcd/6UktQtEKBWLY1G+A9zKWS27iWcl3SIU6RBAHGp/g/YtUJrR6gnv\n9+XsrJfWX4l7ZbO0WvvTjLJCf/VLI/3CorEXOsN+wTHMvnoTW/Ek/z8wdo5V\nNejGh34xYii36ZZupxv9cNAk1CnaU/RkblGOM6K8Bvtq2SDxl/zFQtG+99eV\nrXy78Si4eKb29TJuMVBAwfnsgMZ+LtDdB/RQ7Y9tTEp/o0v0pq6Pr9f0r0mE\nJKRN5iKzf/zjOMC0QmjmTh/EbFFx0oy+S0gF4qxRvtU3cYVqhkeGtf75UJST\nJIX4BXrrN0mZsFpgefCeRofFCoHpHeQY5br2ZG1tV9HArze4ydwnmPZX4iPm\nUiq8lssKLbmuQsHxO9oouXnXGg7CKILktqtMZNs7YLLs5qJgPGPyDjEoMS4/\nPclwLZI5DQe5lWDUtr5f042hzqrhgz9KwnmWPb8sFmcaeKkWeNbZ+viZpBQ8\nkDN3mySv8wH6axjoYltSbYbQdH/FxRYl0Ee34NysHdQM376Iwbh2JLMglsgP\njBk1\r\n=dv8e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.1.0_1560849720686_0.37410863252033977","host":"s3://npm-registry-packages"}},"2.2.0-rc.0":{"name":"@carto/airship-bridge","version":"2.2.0-rc.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.2.0-rc.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"e29efe1dd1c0a87c55a22d9b68d9f700528684de","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.2.0-rc.0.tgz","fileCount":74,"integrity":"sha512-7yspjIR5ec4LEhajXQlMazqLtW1h3sBgRBNEKk5oDAqkCaUB8yNvgVwXOrSdmh6SisQgTz45sPwbTUGOmPddug==","signatures":[{"sig":"MEUCIQDSbWu2LEmMbofym5iIbt28olOxBbM34BsesPUJAEgJxAIgNe8rQizUEMu38t37yhHbR5/EK0yxF4JvdjByGuQoRDc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":351795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdE5ltCRA9TVsSAnZWagAAn5wP/1S+96vzL65+vxAUN5yN\nuvr9UlIkcBZiLW9aBJyv/IhLqEQ+QUJTRCt4pnwMVd+QwRkLv3mGjkqqM5aV\njXVNHdtzKpvNkqt6PWTNh0ZIp/jmMlrfGaD5JVxeutipW3rhVb50bs+W7U4M\n+siOy6chcqD7t/ohyYAf0reQyT7JChccRQi2KQ9/AR+p30wImlREEksp1h+N\nbTipS98YTpue1sHI6eGtnssl0GVpaYXfE1+YG/mRRRYyglAmCH3Jla6SUswD\nZsXsz1QmF92JN06KEWsY029UQ6NcyPl6f3Ql/jUk68pD5MHj1D7Hdinu517I\nF6X+kwTVo9Z0jjtgSiilb8GKolRaUJbBZAFXT9HMIjhvosFpXPU8RDBsLvIr\nHyT5KKmjoxDW3UDAR8+8RWrQk/IT1/c3qXrnz2liXCwZx9r6vOWQ4KkAiLNV\n8SwuuQaDEdsNL0/+M/aTj4BrMtk6cHiGw/EBESFOm/zrKpe2tV68J3AdVEps\nHfSkoQR1leCnsnuEJ8256ODBI6YL3GgqqzlUlRRlzBkGOv7mpTSChgiZAPMn\nxLp8bVR2wIZFOg+a5GLxTPGmZJcZ0OCOqnCmA7VoF9EcYxtilemZYnxGc8v0\nbPkF9UgzbQkxTjH0vLLgA3TjZ/kTeUmqlv2foHGT7GJHJhHm6eJpDyHoF7yk\nvXCs\r\n=CKOF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"9f178326fc69db93b60cb7f4f1be32dfb3219e7d","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"lerna/3.15.0/node@v8.11.3+x64 (linux)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.2.0-rc.0_1561565548447_0.6939991028170722","host":"s3://npm-registry-packages"}},"2.2.0-rc.1":{"name":"@carto/airship-bridge","version":"2.2.0-rc.1","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.2.0-rc.1","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"05ad23cbeea3e54cc6eb67e2f161cea0eaa94295","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.2.0-rc.1.tgz","fileCount":78,"integrity":"sha512-psdgDVcaZSKUS9qvzfJVZ95PLCRmfvk+Q4U7kyQb/etA/2mKOJ3I+e/vYxIn3zuX8E+R1JUepDvI0kKt3AOVvA==","signatures":[{"sig":"MEQCIEuLcwEpJ3+NMBkkOsfiWEKNwPRoi9c7pDNcmitcUJsIAiAIA57DGtVrmUJau/fRuYWNCsjh6M+3eb6AFxn5r+WPyw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":387317,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLdZ2CRA9TVsSAnZWagAAgaEQAJAzHMOZO9Gclo4rM6xb\nna6XiVe7ADbMsq2c5ao7Np1hHOPCHAFI7J6whV/Zd7RQquHxNHGS7QuwoSE5\nUfzdKL/j2ZFsWHrnHYW6Uau6E1jYzn11RKnAOnf8pOlWnklPRKdSqCHoE3sS\nhYvTBkea+0FyeiFsNWbXbS7ZnjjxJKxHkn+8YW/m6lzn+Oltz0pQtDcHGUo8\nsFOWRWELKOXB3wKzRqVbvmzVn3oAgaxbRlkPhvu1U2I0Nhy3xyCimxIUDcwN\nhr66a4p+17KhSmSyY5bpReI/mwK2lEukxkk+YXjX5kB+yyzGNSdyC/NJeO2g\nTdUlCcO/z0/tnpBCxxhiAA6CoNUQvMu/l7TiMS1jSSlUoUocCLokHTmtLyGl\niS4oYPz7wEoEEUNsTLkZ3UNpAUfvh0JQW2L3dx00TYIYmt/XxRsX5F7t3GuU\nnsdDdRmeSEoM8f1pIPTlMz10kObrgMq0agzeDLRlbynkg2Tq0EerjIZ+d3YM\nEZWt+xI2i+ty2iFjUm1eKiy9Q5rCTQ4FjpSGUD3BnIKUaTGcYo2yvir3h1jN\nzkhniYiBIsGlnPYQjbGYijsFp5KTn3LNNDSkaoy7tXjYOe/eNIE4hg2FhASo\nR6PfCz552iQ7w9chNzK0SitvKXZQHn3wFUJ3v+ynbgPG1xv8kS0A0M7SOrRt\npGgR\r\n=ce2a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"0fa94f26b7a70ae937d3f927e79adcf8f43c435d","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"lerna/3.15.0/node@v8.11.3+x64 (linux)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.2.0-rc.1_1563285109817_0.2519352131191186","host":"s3://npm-registry-packages"}},"2.2.0-rc.2":{"name":"@carto/airship-bridge","version":"2.2.0-rc.2","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.2.0-rc.2","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"juanignaciosl","email":"juanignaciosl@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"423d17d70e357caed18fe22e1d427ffee41730a5","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.2.0-rc.2.tgz","fileCount":77,"integrity":"sha512-aAWF7wu+sHeVzZl8Kl6DtATMsKstZyGCl1azt4htbfaH973MIkzdupVKER2pe7Ts7WWqEIc08C2w0VZ3BDAH+Q==","signatures":[{"sig":"MEUCIGAvb6AR848WdS9qF83VgeiVeh0wCR4CifJ4a1KVqAfRAiEAprSL+Zi3S/RytHkClF2MR+54GQw1qAIIDnpVG+5WfGk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":389082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNbRoCRA9TVsSAnZWagAAFO8P/12WmBY3kxXyqdWIjfrt\nAnaPN8dwcbbV+rSSLhBa4QoxjjJNAbcFhXaRp2LtZIVqzgzd8O0srezva6tX\nNva9ePr0O6SmAbwevXEf9ehNkTy57ZJrqnqGf0q/iSC1Bx7WYz46qUenI+KB\nqnhzrf1JOfLD75Olx77Hvcsar/y0jrb4uwYPq8prAS05jEIfkPJgQnrwz7EW\nQD+8G/+iqiwnM+MzukTRAsZGI3WoZQZBD+e+rSQvUWU6NSSxqZb/F14Pjq7V\nyb7SfX5wPDDn0Gt1hjY2O7xxNwd9LTJvIosAdGDsyLs2Yo5hmG0hnhxBbNvX\ntfA25uyTKjTMq5PmKXP504DUTy6vcjtKQsHgucbR8OccQmskkyO5qMa3XswQ\n6ywrLcxjJ2uFxApuZksfp/YT6ZsV+BdLFcawqqqWC0N8K87WlfPQYGJPhDcR\n644/LH3/L0qV8+3Kwylgkt1lxpI/Q7t97IGZTMmZOHDMx+byI8Z3EXIP4mqC\nQKt2HxkFLVGMSysDPe5TdkFA7FT+FA3nBpfpYjzzzJSaYNRrnw5opYFBvx31\nE+Emjuk2R91y1H7dzh7QnoqQShnVbG5FHCvH/YRM4R0oftZAg7+Ya00dEvXu\ndpF1CDhXlnnPSFhj57z5q83PXpjNAqMdsIhQDTN0JpDgZM6FDImPFNRY5b4s\n5WAm\r\n=a0Rt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"romanjimenez","email":"drrouman@gmail.com"},"_npmVersion":"6.5.0","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.2.0-rc.2_1563800679538_0.06336520198571893","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"@carto/airship-bridge","version":"2.1.1","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.1.1","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"0aaa4c79fcf715f2f521547a65db96f8fcac11a0","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.1.1.tgz","fileCount":74,"integrity":"sha512-B38uz9zmrG2GvesC2wQEPVzAen3/iWUZt+34x8/ZJRJ0oZJbeUFNT5x3CD2c8XemA9gsW68sI+S2z/LavwGrJA==","signatures":[{"sig":"MEQCIAU/z6aYG2qoIpUFfOglleSof461y335Y8jQ9j4ekaRiAiAh+EM246hzcdj/oe94tRdk3xIYRxTa/dhO0o9ags0TLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":351753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQAsvCRA9TVsSAnZWagAA9xIP/iijWyHk7xjxZD8tlu8m\n7UNdqr3LVBzsBl5fK1lA49brevQ5Yokik4/Gx5DOoI7sgxisXQbyHq0vusRu\nX+Oof7rTiB2FUcQ2/gZHkO005Bn7o3nRbGIg35Q1kFqhZ3HHeOR8VTmgeTMR\nlglfTFO0yp6zL6JSNab16WGX2t3GKAI6PDiBFYAru2EP0egnvIS14PZgUI3r\nhN1w54YBIykn0v3bJjyzSQASgdPIoBBADioHGixSParjyiNwPWGXBIkQu8wF\nZW6E/CCdIpbvVloeasZhPMlqkMiynCYLvmZWU+0pInysLYME4Yh7ssNXbSeP\n35BGpLuBDPqTFP097mDavV41kiTQ6PpuVYWA/hDaBbHzmDNfPtFowZ9qFG99\nQvQTEcFlAILXj2j3T9bJXTCsIyYq0bA0CVRYQpME3sGB8MzTPTfGdP7m4roR\nzu0mXtwAh6TgK9SMszFA/r56108+DHEWXGtpvIaJKGPSytmkM6kV5jWk25Be\nMYobhEAt/duHkPzbXG77fSb2hkP+acv5D7MWSKMXfTgje8FGkqIc3/hAnO22\nA/PowI3wgkBO3jdvDTK8oUtLl0Ti3W9/tjoIscxWCTgKEfM239T6oSCyThdd\nGD2oE851wMO2Kd5k2YLH/1pizV+lnhZ0+nl1nITw8wFYNRZcVLUloSnMTM6F\nVV9x\r\n=M9Mn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"d41eba572685051fae39f3cfbef7f5db646958c3","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"jesusbotella","email":"jesus.botella@gmail.com"},"_npmVersion":"lerna/3.15.0/node@v8.11.3+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"8.11.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"^3.1.6","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.1.1_1564478255391_0.6232189934242103","host":"s3://npm-registry-packages"}},"2.2.0-2.2.0-rc.3.0":{"name":"@carto/airship-bridge","version":"2.2.0-2.2.0-rc.3.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.2.0-2.2.0-rc.3.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"08b1dd0be7271287ae131247af47717a922400e0","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.2.0-2.2.0-rc.3.0.tgz","fileCount":78,"integrity":"sha512-OykHqgIITTM6XAwAiPKxSNBiGQRBf1doGxskNVDWlrDkVmnAWWDdwyO3UBICClOtWlQvunMy7BHI4Obzs9ZTRQ==","signatures":[{"sig":"MEUCIQCzF0ph9ldexOAOIjjijmO8zp/CUJ3ca3hXMXMrqDmceQIgdSFQdcfJKITA2d9EETB+SK01pVGuFjpvFPAyW4Z5vSY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":392059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeg9LCRA9TVsSAnZWagAAr5wP/0zCXdbft3kz1Kee7oKU\noByqsrqsNN7etAGf+jergPD1Px1jK1YGmTaRouUG7SoShECM0zaWnPAyO2a1\nEzwVLgt0AEU+aZbVIQoje0H7PabvSOFKOn5vvCNyTjt4UUltBrrgOcdFRFLj\nLS7xFuxlIEu3S+YIe3YbRDI1wVIB2O4979dLygQZdNZOG5ZDSnA4JwIjxMP0\n2EmkX89mPlpBU1kq0hAEZ7rw1/rFiL2NUqSack5ER3rbZiqQ2n18m/jOhW5r\nINIR92Mf8J524oNJOqqrwHGiukSBkrVcxfHOYpJ/RZVGbe7nxH7uRS8/lA5p\nmDvFY/UPnru+wlxJ5PiUUDVDiHawCPzV68/XBPdNGLIXBeKGThN4xy/vPErJ\nlxwdeI/nS5UqVEbts6O6DOy69Pr3jhZ1hNuSJXkB3TBUo08YodLfd6ERVQv3\nEB6ZSqHhv/Q1d4bXNqx4fIcTd2RBv50E/bBZavumm0X2JGY+XqElXjTM48vp\nfZBKMsX7kV/byGnRmqJ6lHCO86NTb8qNFcTvJhN7eNf3nno/CDvzp/UGzvtc\n5Uod+GMocT4Q1Q0RD0Ia2l8A6KY4QlOGPelkXHjb3gAotdz+wlUFUx5Cf6wv\n5xeVonCGySlpTvdod01+RbdZeNMYI8MKWfcZkne1e+afng8yuDxgOT1u6BEF\ntDBB\r\n=F6K1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"30be32338889d42b5a7112a9a39cb68a9e21195d","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"elenatorro","email":"elenatorro@gmail.com"},"_npmVersion":"lerna/3.15.0/node@v11.10.0+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"11.10.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.2.0-2.2.0-rc.3.0_1568280395262_0.003701269066804125","host":"s3://npm-registry-packages"}},"2.2.0-rc.2.1":{"name":"@carto/airship-bridge","version":"2.2.0-rc.2.1","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.2.0-rc.2.1","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"ivanmalagon","email":"hacheka@gmail.com"},{"name":"jesus-arroyo","email":"jesus.jkhlg@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"romanjimenez","email":"drrouman@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde+npm@gmail.com"}],"dist":{"shasum":"c2e7aaa2080acf189950c076fceb3da074cbe559","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.2.0-rc.2.1.tgz","fileCount":78,"integrity":"sha512-IU2AFlnMRKt/e958RfmRqOizMXk+m2SvlM18+FC1ALsgvrfxgKEgYM1Op7FQ4fvTv4jhkDD95vUO607SQGoTPw==","signatures":[{"sig":"MEYCIQDQYB3GYP500vsZCYzZoND3tC3d2JVWCBKYLfgc9AJ7+gIhAN5VsVXwG94aVBHpAGsJyPMyaP6DHK5ooAqzqRxvyPNj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":392053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdelkQCRA9TVsSAnZWagAAdlgP/iz352+RGWSm4dz2vj4s\nfgdPSIvfM7pYnjzfQsfu7sf4D6sszTZwr9OTxrXVtC0UGX7a28pBX6tRxZJy\nBcPxIYmtv2U0c0Ihs6C/Urewl5cMgZRnQ8ih7avSsdF6uF34upY8znyTlTRj\n+hIhXDSwOiSpIqX5g1rMMMf3VEugKB3E1T88UtVPSevPT1qvktSeSrzAvQi7\n1ofl+xjvIi++SqimWeLxgifb5roP1453YIfPbNalRAfCwfJmOlFsXxeYoeM/\nZ8hYnIaYsAXzx/XBrRRfjauU/P6GTYRYwRdOTUx20CjISSD4hIp2xzJH+w4H\nndEOA9YQcD1ytk/8haf2dpQb20f4J9C3B+rLNLl9Ah+rJ6QGMz+TpykQxTpQ\n20SoMO8tCpHg16LuEY6fUVpPh2+1cbWTx3+Yj2LNBDL3jEbuYm9E9ExCkrdO\n7Y9Lt2G52HRdo1ub+fLijQWvaDA9P9LHO7jaOiyWbrRr+cMgnHLbZ394hhnz\nDfZQI6XuvUuV4JB+RvfFuHl1qc/UlN1+L6TzrZqQunh1YQvXjXJ9/3oaX5u2\nlb4zUJYdtztA0o7631lNX6WBKdf0M35fOw+PFX1kTRXWrivzEAcEPBichXb7\nM70WUnnPfhXmG1c486exGystwUgkq+6041wTxm1sttOnA0xZuLZz35dymgZU\nrrA0\r\n=pqo8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"1b52c881f758828baaa23f8faa39d5544d47dfdc","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"elenatorro","email":"elenatorro@gmail.com"},"_npmVersion":"lerna/3.15.0/node@v11.10.0+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"11.10.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.2.0-rc.2.1_1568299280352_0.621739175074729","host":"s3://npm-registry-packages"}},"2.2.0-rc.2.2":{"name":"@carto/airship-bridge","version":"2.2.0-rc.2.2","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.2.0-rc.2.2","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"122f265e4b6d0d647a8d8c88f8a8bf58972fac63","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.2.0-rc.2.2.tgz","fileCount":78,"integrity":"sha512-c0fKb0Ul55n6Qhh1+N6lVhOlPepMQbQOjBdHPY13mYiFQ/gg3dvyPT6DaCq+n6o5/68QW/aHkZPlfRcGeOe0ug==","signatures":[{"sig":"MEUCIQCzm10piFTOkbbhD6PhpKRbDnBSTqEZZ9EblYflr/hL6gIgcIcsmvyCEWgBFpp69Vm3U+p5lhJOZoO2NIaeA4lV8uI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":396192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFzwCCRA9TVsSAnZWagAAc6UP/RMVsptRaW+dL5CWMpTg\ntPnL8bxOSurOpb847xb7y9S8n1IktoYZjXSwq16cGhqDZwgPSG+z9tSFbUx4\nGcoHt/XeP4wdDHxFL0SYbG4GaWCf2xbNeBE0QVwwB0YHNhEpI21o6UdcBGho\nYhSsntksSIc/nspQ2njxChkv63mtirofvOZnQP03lpeSX5FF/bHJalooSBCD\n4X0KvfQDiY7xH5Me8lFwT1LHETs9qYPVHzRYzJFLkfQCWQxghfgUGtc6NTir\n4Z6XYcdpbEK9bYRYkvjTgi+OmqUq6SIcPCuObRJ8i+WNU4u+51jOCCCWvwsF\nqi+vibPpGNeuApzGBds38kFinMGUiKg7UvMYy08mOSrK6qW79XTRGEW5sA57\nw1eniU4woIF1MyNjRn+zfq8ma8Bd8vn/cYx5eKcyzNa7/6gq23oJ+oHNWrYC\nC0BOgh9OzQaJ+iMagCTbJFdkKbvi1LBnnezvcS/G4hUFYblGmzNj1lZ6wBIq\n3AecrKM2y7wyCzYV9o2CCJLTa4cGOES7upM+kEMkhqyU0T5YsoYwDLeC7Pi1\nRUQF0GiqXwN2yS6f8qVGQClEWWNxnwCJ1yxOC/5mFS3xNhbR9Nt61oGPtbGK\n50iQa6XVfY9a7xxXe4rATkqb/57548qEVS03FBJ8hPhmp4YevdV3EsCAW4az\nAdwU\r\n=qDqF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"0011b8b9025093557793abf129c4ed42225ebe5b","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"elenatorro","email":"elenatorro@gmail.com"},"_npmVersion":"lerna/3.15.0/node@v11.10.1+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"11.10.1","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.2.0-rc.2.2_1578580994247_0.9761996059972888","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@carto/airship-bridge","version":"2.2.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.2.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"52bcffe0426dc5a157f626aede20f41dcb0104b9","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.2.0.tgz","fileCount":78,"integrity":"sha512-ixq5ggcxpWufPS9T7cvXuO51tU9rYgSvRUfqQVNBJXxysApp3PxPKfYhD4CoBL/JqZK2SDNmpBdZTqtfdiA/7A==","signatures":[{"sig":"MEQCIEVeYnEB/GlPqrspjjDAJ7sNCYFwxINA/S/UmP7dEVj3AiAZ0KXsH/QQOLT/ZPbiaWGZFNqabQbzkLG9VBHkv68OVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":396405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIdHMCRA9TVsSAnZWagAASl4P+gOju/LI7M6ccrUzxdvm\nERywo35FT00YXeSa+9L2J3w8hpP2sAKnSc64K0fpviaUyrURTv1tXKRfbmqJ\n2AfHF/Xmbzy6KwB6/4NC40PPvMuAy0jp5w87XLqWUiLccGyvQlBN0UH1fGwo\n0QpMRX5uJLf5k7517NjrQdj617gDOKRuL9ALFZWfIqcRaz5GacSwUY5QLL7c\nMQCJGsMC6uZD6S9OSzv98/HjiaMBjybKvh3syRGfpaV4dwD0NMXFODsXj3oh\n5vGyUmE5zD9gIZdgtOMZX9cWeDRbbDJ/HGv5MSQEvZUsO7th0hmgLAQOoUzK\n8mWJgEv9KTVSHl2fEHm2+p6pn2VyEeKVuOnsuZ8psNgd2UjikcQIwIDhgvtK\nGYw/jckGfOrePiIDAKtnrDNL3f4kNca6WbXipu2Knji58Wkmhqu/uGE+uwcv\ngOGvke9xKU9VJp+jU2YhIn42v3iTn7fJsvnLPbGSzsrc3ugACvKhhu4x+JiX\nnwckd/vInM5afNEVeqpJrjiTfdEHrnLn31yE0nNyLIqMv5ifiZcSFuzpIlmz\n7qiaRqDs+lwEfLXA957O5OvHaLbUI99KVuZPYGwIrLLKxEekXg7LUWw0rfVg\nqYCWwSQJvJnrhM/HuDMxC7R3vWcZIure9xTKFC+TO9H0zWZAwe43DT1eI6vL\nGi5T\r\n=+spS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"eed52a5f3a3e703002a635514649b6575a5db962","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"elenatorro","email":"elenatorro@gmail.com"},"_npmVersion":"lerna/3.15.0/node@v11.10.1+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"11.10.1","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.2.0_1579274700073_0.25452478720736504","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@carto/airship-bridge","version":"2.2.1","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.2.1","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"a60a505a9f263b706a6d98070d0c4fbbe2ed0e62","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.2.1.tgz","fileCount":78,"integrity":"sha512-Gfx58i9ft2HqAUyhQhcbAUrcA1aeXjX12LcJKsIf0fGqTbK/S/KXklbsDkFHO+rAx/iNAhMcTDdbTPKlpj53hA==","signatures":[{"sig":"MEYCIQCMaon5RZKDarjfTHGtnAZqDaykeCYbMfPt6bngkpYbrQIhALtEE7I4ObgV/rvvx34xrXJfZ+JRDtfnJ5f8mEYVfeK4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":396557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJsj/CRA9TVsSAnZWagAAp7kQAJqfLT3ZrJBHtHm29cFK\n9jOAX4G9ej08n7vd709VHKDXne5cg6Y//Lxt610V+IPRD3DESh7GmoJsm1zO\nC2jD45UUv0kEO8PfXnQYveCC2JSU/L1JkXaSv+BhJgRQRAgOsaw9jFXk4RaF\nUHPzdJYVo4kS3iCdXt9E4f+qA6tOBxAHSe2DhjekPSHTqW9+RZsD2zexapPO\n/ms1BO2JPz7C5NUczUpvWkuk3xA9z3PR2bTSMGuZ8kcNA3U4SgA9mbsvke14\nPeM9ZFkpYpXCw5q4vYj3+v+bx/P1YDP5mnwwa0/8mRdLqDwNL2IrcFPT9Kw+\nzxNTJ1tPB3koUG0XzmthaomQTEnCp6hJmzc0Ahr2tgMS+yGJWpBY0kag70j0\nnxFpcOY5kah9Y2hwK2krgFjNRcDBXYCyP782N8mPs6q1aK8rQio1K84JfruS\nUMfplCod3II1dVhzS2csxZ3HZpuUUKt3RxPeW7Lf6hms6Cc8HJAf4+R/xyWk\nypBn8p/llhbwZI1b5kZKq9+pfbxqCh7cYXWGQNQ1filFWcH6I2a/eHIblbIZ\n9qP8TlmUL0aDiQPYwTcXUIhcDzCHTB3Lh55USWXd3r1NB/xMvk3vTkTR8KUh\nII6w+jtRhl1wbXqMVoftYnRqO4DuVALqy5Xi1zv1kg0XRRDTRCxHmC+8Josn\n5jQe\r\n=+Mtq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"f94c2582b1c9ac56e8a2fcfd5fa9c987cf721e3f","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"elenatorro","email":"elenatorro@gmail.com"},"_npmVersion":"lerna/3.15.0/node@v12.14.1+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"12.14.1","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.2.1_1579600126566_0.951349262036908","host":"s3://npm-registry-packages"}},"2.3.1-rc.0":{"name":"@carto/airship-bridge","version":"2.3.1-rc.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.1-rc.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"ae7006bc4cb546754b736becea77fce0b2a27084","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.1-rc.0.tgz","fileCount":83,"integrity":"sha512-xYr3dEDvfZa7oA7iCS4S9qlueFv/VRlSULVHC+tlDzG2sfUIRJCfZf/DRfDqmJBsuSEcq9+pKK9pdK6443Zs2Q==","signatures":[{"sig":"MEYCIQDEIZ/L/Gk1z7JlMNAw8rUlnHH1KxjT3VWWod8+1py/MwIhAMeCTl/z21IRCjoidN1hCY6OCYH2BDD5O34S8MB7fALu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":409030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecif0CRA9TVsSAnZWagAAB2YP/2gRYexPu3AyFOAg/km4\n+EVp4Ao4063mCaO2yX3BW6EYLlC39rW+X1Le7uCqB0B2jlpc21YOfdVoaXMX\nk+uW/r34EsD24+zlFY4m9strfFkgFpDGb6exHsMebZgqjRYeI4tsbqKQyGTH\nNB1bxrxsM9kBfqU0/C3B4sVgcXhdbRNqXhmvtsYi4sq4pG0HPyNkntZYzJSI\nNovUm60aBsPt2oplDm2iDmbSCSJJN5iiPJ6MKr1vtLwf/cdVxZFgapaaDNE4\ndaBAruHeBvpuNCRI9l49dcCtskrqk09S4kYg0lKYbUwjmw5KU4mMMRVDclZ1\nmdjcrX6Jk0jyl6YtZumu0MB+AIH29JMOmihtNwfiCaox3sVATIKG7k1qQCRq\n9VSiOWsDkk3wkdiadrsEwxGze2m628NE37XIWlQcgEwF06bCt3TOxtWMVJO/\nGYkRUohZvH0Kmk02dhFfO1EPiWvPVGAD2u8Coil630F9m1Hg2kadX/5sOh7W\n7cMvnWbOL+olaRalYVQDaWQ9FUGVxDXt+iAmoUH+BE5fAoIa7C8eEso16mQu\n9NxWHxbiFvXPiRtU7+Awn4S5bYDV3ucvlKyn+ReD712wVtIh6qttbAo89Mzh\nOzot6zC+cyEa2MbAdswR+1ksoLamXczpeBmpeNSFlwLMw9VXUZAjOuhTYJPg\nZyZp\r\n=MY5B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"15a3f37c4479f500596ea651b18d2b35d90d44e8","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"elenatorro","email":"elenatorro@gmail.com"},"_npmVersion":"lerna/3.15.0/node@v12.14.1+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"12.14.1","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.1-rc.0_1584539636419_0.12770561695651717","host":"s3://npm-registry-packages"}},"2.3.1-rc.1":{"name":"@carto/airship-bridge","version":"2.3.1-rc.1","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.1-rc.1","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"2e67c53f600a00d118ce8efbf5ebe518eb4d95f2","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.1-rc.1.tgz","fileCount":83,"integrity":"sha512-xvqLK19mpt/kfEC1WBqGQU663sNqbQnlUdPxkGqUD2WL0mvtfYEB4KD8KwEzJ5dQ8ei/S9zITJ2NOr7NIcQayQ==","signatures":[{"sig":"MEUCIQCwbyn9Y8PEcEJEh/vYMtzP0n2Me5gozo4B1XS3RwT+OwIgK6T3i0Dqb5QpFEZMcT35F4/gm9PhOUNfXteC0gP8N2o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":410337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeha1ZCRA9TVsSAnZWagAAR9UQAJVelueqSCLVDmi8ZLuS\nF10+D8M7yaimKxULxl49gvpUv534ctx7jwQts80yaCXr8W0gSyJaWC3nvbUH\nOS40N+CxMZSL2Z7P9+bhP7woo0E9WGxhjh68KSqjTb0moHg3DWVuU0K4euYw\n50dyMXr9FC9sRhZdfPXQgJ8DbWvQ0lvT/liNXuy3kiZj9WcIC96+lOahkoAA\nyuhUT+r1nixtaXc2RKQlgAZCcvz172bbmefRTj/zDY15VAzzSXvrdFOX1bmf\nEtNwAqJCocLVOyGwfWp86hNp1tj//d18XzShxVzZkGKJ75+DElMJ8lWkiVM7\nwkh3+eKRII3hhC9engA2TdJQXP1yuJnRQLS1Zm4llXYs0FO2MlRiHZOpAYnx\nHq21M/IkB+MWFaZhbhh9U9Z2TTBKhGLTPjbuhBZaHZUZqq9v3Crmi8zYosYQ\naofxkdYSG23BG2RIGJijG+TFrMtmKB2r31cDKyY40Kkqt9vk9pHS+O16anrg\nwKd1cqdp4Csz0jhkZSXFgD9l7xJJI0L4x1a/Z2nrAQE6NQfqAQ6oeqZXrLbc\nbdIglaV/hkHaiikG+Dj2M1z4kBrzH8zoguaB51gII/5AcY4AQVQbZfvhdZ13\n/ay+h5iIV6NP6FOG9wR7TXXThxn2ec/2rkd7Pmu48ariFmFfG5twezFqkv1H\nkRza\r\n=+NYO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"7bd184c8ccf95ed6c3cb4aa97cbbaad47b5b3b07","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"victor.velarde","email":"victor.velarde@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"12.16.1","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.1-rc.1_1585818969172_0.8237036108521698","host":"s3://npm-registry-packages"}},"2.3.1-rc.2":{"name":"@carto/airship-bridge","version":"2.3.1-rc.2","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.1-rc.2","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"d6a89fbf4165b7cd8762bfce2235813bf5feed65","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.1-rc.2.tgz","fileCount":83,"integrity":"sha512-xr87QW7NQ4GfAqnY2mu4GJYCEh4ac0ZrMWZp4qbjVZaUZy0bvwbiJ09X+IR7NbkOqoxXHKFByRvqP4taW961gg==","signatures":[{"sig":"MEQCIHu0G5BUTjWrRueJ655FMtxm++866j0okkl0gvQ0rsJQAiB1wdVTJOKNcTc2Jaa1ftQai2o16NwIc9lyceLlumWqkA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":410524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehzRCCRA9TVsSAnZWagAAuCQP/j7ci4t6aB1ppaBSg6sr\nkjzBwRSJREKn2tyUgkk1hRU55JZRo9Hsl7or8pAP+y+Fuj6C9SXkpnU/PRHv\n9DEAC4L2LQVlf3Rt4jMgUWhskNsleO7qCfKW+jbAbiK9qQDNv1IDycyzlTr2\n8hvafsUJyUpiClYKZMKKR5906pJ6uCM+wEFVPYcJhnBe7IWL/tElj7foXYik\nKNrbFEEl4LxEMwBtuTBLx5QjIvWs3CPc/lyZzTJGyGEaiQISqUca1PlgSr0g\nM0S7Jmtv8dT7GMBOaZpxHoS0vcJdOTxL5uKY4m62A5KKam9gU7kVY6UOJEfl\n134PM+Bga2b0uADyvv0kPJlwHu0OajNctpbhDWvACxuBpWAUd/QaS24ECL8L\n0IqimmhGXO/AptoRnB/e1NyT0lqj8NayY4oaSTvLredCBC6dLBlDA9kcOmyt\nQ8Gv8Gj6HWr31RpXCjkvl6Wh3Injs1rPPl4U04KD9Piq4Cxu6eG73C6prSR5\nJGe3GBOibb+cjJsBOfVfw5MTM2XP8eJtDTkT/b8AqKgMh/yk76Z95JV1qu2N\n0vQPBjqjjt9cv0kdxFz7uIy8doq+diokEKlLMqWpAOaVv/nO0iYvfGnzNDjt\nqx/eESgWUM5Iu9B3CUgqjW1a1kGTGvjnqnWFiHRmVGhj9ca0wLoYK4SClNEY\nl+Fi\r\n=ImzA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"7004ea356334ec25bca8a4cf605ca91026f0ef26","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"victor.velarde","email":"victor.velarde@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"12.16.1","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.1-rc.2_1585919041507_0.9050778408205356","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@carto/airship-bridge","version":"2.3.1","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.1","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"45b280aa142d4454040061756eed8331a582863b","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.1.tgz","fileCount":83,"integrity":"sha512-s3fN1hnZDvwYj2Rw1JnfGIol5wLj6kNM078LC1WYRFiv/p+ixg5mXlQW4bSUE+T+QYBtxXLoL8wAWgm2Lf8amQ==","signatures":[{"sig":"MEYCIQCnnQeJ9psj28Q7pS0xq6Lfwjneq4R4Qq8bccj0117GRQIhAJpbibqIBU7rwjQOx/IX+fqmnj/G3W2eVTtw4U4lrR9l","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":410623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeh0NxCRA9TVsSAnZWagAAb+UQAImlsPrfHcWL1Z47VYSI\n8nu8CDjusNVymKCxUCFz4lpgloOVDw2MMDMJVUbq2cyj26jU7HEe/wCAYcT4\nLuHiFumLyM5wiZbP1h2fSNYRMKyaMr5U1qIXa2+2KrM84nBk0dXpugwbe2dU\nJevmnQ3Fsh3QBmtHLve09cNZ93VqjRDKfoxZyXt/XryobV+RWD/+Gdhpawqz\nmR1P9M634PrOahLpKiWwWIeMtvYQIpGr1ipTwDWVA5+sW7HiQl5EuSaDXvWf\nLJjXA6AXbu6QHvKfqrpZw0HBQnDwnmRwtqSHgNpvUCy+VH71zdU/UqRyKP6m\nZWnVdqiwUdSpoZYyTkcQfrmZ7NXxZz5njIFKszgC3BGLbwlwpOdvE6Ss+l30\n93+2LzEzRsBAagDChH2HXg+z8KHKlfgYqaosNimXmsdHh8roSAKryj85HWyn\nxW1A0BFFmD69LnPd4DErZSUMufSfohKAeX95UovWJQJU9zylBQ5I+riMdUHi\n+mMkfTdFUn09eYtlV/2MCY9tbs9MrXo3h+mOK6XtDFHStocIluTakAkSSETa\nwvcxW6RpfA+MtQO0W0fmAVHLt8p9Oc2DXq23Ry/SHo5pZbv29g7tBDImSBjN\nlsCRQsCRlrovXkm2HwsuP+bqkq9Zoc1QVexm8VeT9PqXfMoqrEMzWTPvTvU/\nu1pK\r\n=CX/E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"01b0f259b4d0da9f5a8abf5b95cbd05e83de90f7","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"victor.velarde","email":"victor.velarde@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"12.16.1","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.1_1585922929398_0.26765827086465266","host":"s3://npm-registry-packages"}},"2.3.2-rc.0":{"name":"@carto/airship-bridge","version":"2.3.2-rc.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.2-rc.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"52d70452bb0f7147928c147d44303d00535e55b2","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.2-rc.0.tgz","fileCount":83,"integrity":"sha512-Yu+822qOdsU+gaqSd6dnWCnSc60vV6qlFfkjWBG9hdJBKf/3ij23g7dAmL8Gk16xa9/uexrO7HrjUCrml1Wj+A==","signatures":[{"sig":"MEUCIHn0MfeD/IMvcBDGG/wfmEcY/QcrSSnKJ1DRivyCLho+AiEA9BdlEyRQkXhDmfD7G8E5BvE6030eWgYWuKBt5DLgDpc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJequ4XCRA9TVsSAnZWagAAF/wQAJyh8v9IfaVeNNIvXq7a\npJgDMdJb5nHR2wkNgpyR/MtQVdmfgXvlccFgRFFk3b/kOw2QS4GR6BcW/Z4+\nNtYzLdHq5q8fiX4YCzOvAs2Y2VCQESAGFqIKTH3XFHaQh01jsGahcetrYbY1\n4quryfpEtT1/sHW8I2Z5ZUhFFJ4QnvpXOMLPmXlq9W+qkibXhoXqTq1qJxgs\n9uMHLoblkHxJls+cVMhfV7kTlj92+mldqJ27V8PsQqXo7NutURR2SAGbQXzV\nKudrt9gOaZs8DMPjlxWRWC2zZyjL5cZzhN/DtZuALbIIB2hpfEcNV15FCIua\nTdWEVMEJRD2cE5OjWUr1CK0e99bH/x5zhxcqSrRQcO6Rnk6gihvAm230cTup\npIC8GBWEHTmJTVVvmuvda8ZGnODSiR4/Bmc0//zo3SeONcqRJ5UKZDpJ0wh9\n9RGlROKUVYw74YzBJ/o1/U4+Gxa8jzwiDB6eELaBinAYca5YCWzvHRzcdXF2\nRMbRRyQlZsbesz5mHiLj5tTuvN5cjrByB23mxdSJseJbgt4xjnaprDFwtpom\ntexJViWsqf2dgqi/R260/zBmtrOf3j4jeswXHwtEN7XUSuNlcOIn7oQBf5MV\nf8l1XhaTRTgp/oFFKcZgg/C5j0j+892nBFZ/6utHViwOk3Y8v/CeOL2Z2k89\nv4xd\r\n=J2Xs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"a70c873ba209ddc0ed5c7ce67e461b6efb55c329","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"neokore","email":"neokore@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"10.19.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.2-rc.0_1588260374677_0.25378066402069144","host":"s3://npm-registry-packages"}},"2.3.2-rc.1":{"name":"@carto/airship-bridge","version":"2.3.2-rc.1","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.2-rc.1","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"ce2a62e1ee0a4d3ac65623095176794708ba3365","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.2-rc.1.tgz","fileCount":83,"integrity":"sha512-pmh96N3YExqyczxJ6LJvryOlWcMSUiA3XPu+YE89f4cC13po3GqcjiOaoPAQn/KikcgPpwgJVR//sudtAN96aQ==","signatures":[{"sig":"MEQCIEbNEuUWPivMTOpssYcmWtsSSwPVe7+Hf3BvvkJiUxFqAiBPrzsLTD630TjtR4LwJrnqJbUPpxWNYaWHicxIUkjcTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":418542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesv4/CRA9TVsSAnZWagAAyFwP/R2+7DHybB1W20DSocZ1\nrba0WpyT7NKlPGFEyy0NulJSC6RZ7wIikbEt7SQ/BiHEwNpaJeK8SQHZEfqc\nCtZNMt+UHf/067lV0p1P/OsXW3gmHB4olPJQvVA6YBBX+cFsecQlQJc995WQ\nZQAQ0s3qoZyIys7zJOYNy4/f/XNj6IiXV4gf0k/y1Qf7WnWj7AFlwUCmWOao\ntAjADTLVLZmF44wN0N7k2cXsU9bVPyvbnDwXIcLtMJXAjbXCMHf3mjk4Nfz1\nAP1PArgpI2jbVVuDwVN0Roa63MiKyB4hdU/9XJBDtsfi0xheEh6O3lj/pEK3\n4lhyihPumlWkIxOS8KgjRzuiDetoulfAv/xYxH0t2UWeoZUTh4Iz8yHEsxR2\nuu9jgblqHia0Zv0IHTwM7NBE4E0Yu2OLc8K1jEwrcg86wyQSonj8Ccx6w/k/\nVdLZrlaOT6+1X0KCi94AjJ00wDBKl4tyy4BAryIbMbILFAxUK0GCC//EGRhL\nSrfc4M39xWYWh7Xy3CimIsvttrk8RRfyG5dU6jiVbuSMcKSnXb8/QDLLfYeT\ntPqXGM9aDk1uTpGF+YniCgv98U2E4MtJtXyVvPI+am8b4Z7KcLzKS3OnuVpn\n7wL8Mi3A/HXDQBVQ75LFWNghcp6yUI7dQKKIDth6VNiMF8+Jnh3eos61185R\n0UaE\r\n=6gLv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"3b1947d8d30c2f56fdea328ce356c3e5bc0a7397","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"neokore","email":"neokore@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"10.19.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"26.0.1","tslint":"^5.20.1","ts-jest":"25.5.0","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.8.3","@types/jest":"25.2.1","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.2-rc.1_1588788799161_0.8977590784449176","host":"s3://npm-registry-packages"}},"2.3.2-rc.2":{"name":"@carto/airship-bridge","version":"2.3.2-rc.2","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.2-rc.2","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"alejandraarri","email":"aleja.arri@gmail.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"alonsogarciapablo","email":"alonsogarciapablo@gmail.com"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"csubira","email":"cillas.subira.otal@gmail.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"elenatorro","email":"elenatorro@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"246af9a22f120d83f804caac35e9b88680deabfc","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.2-rc.2.tgz","fileCount":83,"integrity":"sha512-fG/H0Lbuak2gYBZ/7zcoODDiqWv6gkVWvXqHKWhrJZ1Ru0cYIDX1rR5B4pUvO3WKRhVqkbmu6cd2i/LtDSq54A==","signatures":[{"sig":"MEUCIQDvuGXSvJx+FA3LgAvD4ymze381hMGMKJyfQ199uwQ26wIgVIvTMui+m+1fpeLaC+NBaa5vXFas97E0QivzzQxptc0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":411943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetW5NCRA9TVsSAnZWagAATLgP/RiNLGj88QXupsy2znpG\nAWebUPlLJLuXcItjQNc/4W6nLLg4nRm6Ujc0UF4zDpwETRhEEOjkNDk8RbLb\nAqKdm+rFUgtM3m7gk9GFk0Bg6pOkydUZ/ikkzBYlc3uGJar6tCavzIkoLItU\nKJF5vcbSGI/Hpvds+DLuP4r7d2yzqc8OBdTOpTfnmYy6Zg7aKLHrI6rUuN/D\n60ww1XSZmTvGqhlTvGrINf721JxUaDZM1atbQUFW+7G66w0zURoorgNhvM1/\nL0mlMAc6jFaKTXBxyj9J6wAskL7q8+wNxceupnlxUV3A5cQ7o08QofdwdS/t\n3JO8aBdYfGDAmDyHeQBkjDsg9mTs8y1/1ZM2iYwU2A7kWdkhLJeVhxo13vmV\ndfmvsGCqmhGmTlOJ4ytYmUPxDbVMJMdKS46WPAXqukqyOpXanvbY8jj+dhxu\nHoPDlxMwYZUVp+AJW4KGewUmZPYcWmAD6gsw9FN0Jrv4CuHr2Q4oDFcDy4GO\nfDbvoCWdyQ5wjGT4sx6+Z+xRSqIqFWNl27P55l/CCWS1UehGQl+Ot2U8O+qa\n5ADliIeqcYG/Sqt9XST034D1Vtnjp1YCUG2tYgh5W1L5kxsvK75aPIWWdqN1\njvn6tytwC3bfNApea/QoNZmnu7BR2oFfqKy2ZCmtjCVAFygBBYCyeHJ50D8g\nRqAb\r\n=iIjH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"336a9e2e50281678dd3c9b78bda2923ab06cedcd","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"neokore","email":"neokore@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"10.19.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.2-rc.2_1588948557422_0.4643680096560716","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"@carto/airship-bridge","version":"2.3.2","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.2","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"7c51409ab0d84b3babeaaee72b0674005c4fc802","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.2.tgz","fileCount":83,"integrity":"sha512-ecGOJZeOoc79J4T6e+pHU9rM5jRlBzs9JiZrBU7qrxPZ27+SeL5CUvnsFdV0CHi4js1nKl6nJIqoGdfdJ8836w==","signatures":[{"sig":"MEUCIERlME2Bg6oGNRlhe5QxgnBGqdE4iDKq6gzFSbnaGcEiAiEAl/ihQuC/f+7ntozQJsFmB3AIrw11EB04eVT5ZpZiBKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevAmFCRA9TVsSAnZWagAAcDIP/j4ACacgLD12ctq+k0qP\nINyLCvX6FB3wCYHmFrCfyzWt7oWjLUikfAOj7Cayr3N67BLcXAlhhS0D4xow\n7fI7YKrcIoOTVOVcPqgzeQYEwsx4WoTIsSV76qIqEAfUHDECibkSBvXTFhTP\ndFHQ80LDs5jNT6CongfByBTRulPCiagWnqaMS1JqTy11HRLXF6KNyzKn7oWg\nRI3piSGO3a8BplzUrTDWczSotE7zLJ2Ukp8IFLMILs/YEBxaoET4RTihQZSm\nbxOBDWO9Ae3wMKvQWP6A4zkoBCxgX2ebIlemi3iszvCDAmgbXPIUYQT+WJyf\neYcdWG4g8sQTDzFlQ9N1I76Jc9N6SPna0MA19oIv/GS7HgsiESsu0LmEiOkG\ntDtfUp03dLniJRP3AAGeOvKy62Bi0uasAHUT63F2L/TkAz/oMg/NiNbfd4eq\n3j2eo1XH3xnNjRkLKBeGUaZex3GWQYXgQ4GT4EEX6bFMXl6Tr/TzDmrSd8Rb\nT6zQ4PBQayoTwv/XVNukK1MbLxUSN5VaH/8VX7QKMn6v2QiF+gouRGsS8BkT\nRvDAjaMjlQBk5spMypdleT0/wbv1FI3JCSmgZTCuiRftEFxzL45xYzOW8Sjt\nKmKcwGeHrgVfdNMwgH8WieGwYIPYOrfyYlSatrN3HaspTkwLgWPw7JKRILCH\ntyJf\r\n=+r1c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"0310ec9d8c13df324c0da2b1f23d83f80ec6f7af","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"neokore","email":"neokore@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"10.19.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.2_1589381509447_0.41526296241430827","host":"s3://npm-registry-packages"}},"2.3.3":{"name":"@carto/airship-bridge","version":"2.3.3","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.3","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"6376598a3705bbbbb605c26e6f68d5a5603d9279","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.3.tgz","fileCount":83,"integrity":"sha512-5I6K4lUqFchBpzVl///uTeMHhKuKJO9b3TotVa0AwsymNfnUC91NVeQDWJ/3Jokyg+ZEumFDU8vRwcemkgvTww==","signatures":[{"sig":"MEUCIQDzM/1euS54OakPSqBpOGBkUNgf60Y1fnG14ULyzVrsmAIgQp5GLHutdffgJQPX4lxr9clzYDpuGeodGl6yMJT/bjc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJex8YVCRA9TVsSAnZWagAA1tUP/iVYggvwxzRkvYRuvSR3\n5/+K8l646V6VKEUgTS0hBlai/9TkWCKK0xCaog7jHx6QVUSK5JzLhkTIInpH\nWWiOcWbogFHx07H/yXR+H38hhXWHUIkmUjs3xt+idjDPyDFLTZTM6z401Ois\nJSkBvLLSrRRjXhfQ5er35mIZIlMSrh4q1hBdp8uLnIjPFgDcW53z1rWcNMIq\nhEYWvmJctAI3a6BKcTfW2djojqOjLGbrIRHxmHG87+G23yzeyUjGDtsAWbpH\n+D5UOvZURiDfhlRC2gL+uVMwR50GplrxnZ7OAEZgb3icc5PS1XcAOK0qfEb0\nY6W9wasVILgIr+ryjSaRpbtikRmeHOZbzsKYvsWVGDpaVvts7KYH3pVOHUML\nRuAY2tXasif9uGrHZvPrvg1EJnn0nIZtCSiTt9VmSO6u5ZjYizO7l1DHaZpL\nQHenzuYfYvENGKtuFB0aqZ457CWkEtgx3NKRQqRqR6h/iNeF5+6X1uJAy8iH\ns5ah3RoOHf6OvSWgbWOI7dqogrz07Svzc3Tw5xR48ZjNoxzXIaIWgG4GmOo5\nwpToMh6hjXsJFAdY3pdOMNqHU2SkmRkqSvHJLFm21OBmHv7/SJgD8ei8Gyv+\nIY2H4gLBIjVe+AULGP9nDG2+2oS2rZp9HSMAehmfCV9OW+nS+pCtXoRbhRlp\n/z6R\r\n=S3dM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"827cb6d9130318d634242acdaf7339fa0c003b0e","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"neokore","email":"neokore@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"10.19.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.3_1590150676933_0.6899378370542102","host":"s3://npm-registry-packages"}},"2.3.4":{"name":"@carto/airship-bridge","version":"2.3.4","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.3.4","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"d7e83c454587a38a94532ff2231ecc839c1cc4ee","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.3.4.tgz","fileCount":83,"integrity":"sha512-ThRY0ZYWfwRC3/DEUmjf5h/C3bGgHqcmdd8/0Ax60193X4XSg8GE3rAUE8j3P9Kh+qLrE29bJ/qa1G/ZB4hpVQ==","signatures":[{"sig":"MEUCIDc0qlGkNc13KLN9B5/NTscSByZRW/Cq+7HTdA15CeldAiEA+IXSZ6wIrhUmKesXRSrcrQvs77piaWHjosZF1WAPK5M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0TgdCRA9TVsSAnZWagAAXUkP/jk5V2nZzGiyq+9STIgd\nf4sSTy55RdTtsNw/QeRtf+w6tATQafXAqPu19pSEsIsnyZritKuOhEnff62b\nlUHcef+SSN9OHcl9noXBNPOiamDvtQngohait/tXcnimdhegF0IOufCvrn1/\nrKKZqrWDy1Z0/b3F5PC32Ks+dVwQmzNxdhgU50fqYPm+tH7HdV5G4yYAND91\nQAMqP6K7o5uzFH6GvEBIxZXJR0yR0P44FAPT98zvla8WlsEaSrywLQqbtDoj\nc3yikjc3t1MOj7aDGKpgH8KJWer0njdUVRS9l71kGdOYrIXrEGk9cO+T1+hG\nppi/MRHrelXDHUQNF5Z2nvh6w0po+Rds6eK5fPEYXte8UUDNnwSkqmk5VAhi\nsH/CpLhCqxnKXYJ7uRflORIfVCNwchbI4BUa/lNAiAFJo2QuME5qweD2BuN5\nfbv7MKcVSvOq2QnDa1jTdJIKy3dDsV7hVoqYzkXPGnWekzovj0BRw+L98H+R\ndDA0eqrAAcRk/ulLMXuzn5AsE7KHN2OIQJjQEsbHSPapbontlAPrL7We58Js\n370M04oJra+2gj3Dyjgyq0SrwZITYEQesDIDd571Jnof1Me6of6O4Wk4QYyJ\nBourMULcAdNooNzPfp6KREzYUe70ylASP1S9xt+Q/0BejQ558WLNvofMnU4I\nLKj2\r\n=1XkU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"d93e8e8c59b8cc8a1954600d3d8e08e7e3501813","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"neokore","email":"neokore@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"10.19.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.3.4_1590769693253_0.30529363902244233","host":"s3://npm-registry-packages"}},"2.4.0-rc.0":{"name":"@carto/airship-bridge","version":"2.4.0-rc.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.4.0-rc.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"d5e732395d85643925ef08633c650e5b1133b3c1","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.4.0-rc.0.tgz","fileCount":83,"integrity":"sha512-rizM3jV2812VhrxaA5+gnOY96FGLABvtxPSoRhkMwteFaEtuXfcDfOKwj3dpmaugrknjFRYuz2w+W/lWbk1LWw==","signatures":[{"sig":"MEQCIG/uXZxmakyyi3UY2PC6FZ5F8RlewDmef20t0BPlmjbrAiA51q65V8WdmwYbf8+AU1keQBugFINh7VJHKXt2peAuMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8yk+CRA9TVsSAnZWagAAzgQP/0wTCEpHeFSIZdahjFEO\naTUnRIlUlnX1bYYiDpQxDsx0TQuCMw1KD1QSiAvWXzls3CFjqgiSjg8qYaUV\n5B77frQZjYk3K8TLJLcEN+UPsLRN7cfax7N8Vragkjvvvg6JTmbq9tNG/ido\nejR0JRJuR1O4O1zCTCjDjm4hmzLGF1Z3d0uTwdzZ3LoRkm7ywb+jR2mX4MS1\nqzZSKipKUjQzGI+n8lF6o6oJAG5huq0CRKeBU32V0Avjw+XUF7+txsj5FBZh\nzFHHdGa3/NT1ipeos/VlDlzjWg8k+agOJ/SFClh+eOPYtQfjnzSyG/bYHmcQ\nuQzb58uZ4HJkV0ZT8pkknc82D3f/3fSCO7qO3r3p1PY6uvMOpwfl99rIRJok\ndE71MVyfcrl4XBTPqF7TsVk+f+YLHvzh2LfnJLMMKD9W/llxx2DSgoTJff/J\nqkXzhdlh4z3BM6MMCQ+Maw+VxDCJ5IW7NilhKSD4Ek6U+SOWPLxBTqtwktf7\nNXVs5XjrjZmA9asebJLEh2NSANWUTro4omdsuGQK1aPHZljecr34zhA07WpW\nkPwb8P4srTC8Jh0sDUh+NVo3LPZiRfh5zm3iuIdQSSwJqSeOaSoPZof4462m\niXmeSA+43DUlL2QO38VS3e3S5XI0mhN4kC1H90acDTdDSXZ1L/Xg/2xwOtwA\niMgo\r\n=zj8T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"bfcdb2440a704a0a7e1e4f84df4962dc1f067566","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"jesusbotella","email":"jesus.botella@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v12.6.0+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"12.6.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.4.0-rc.0_1592994109639_0.4400285153587973","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"@carto/airship-bridge","version":"2.4.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.4.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"dcc74a1015b70a479d2f82570f6d86db3c590f37","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.4.0.tgz","fileCount":83,"integrity":"sha512-u/qlA0nAlY38gCH9Ztb3MQsQ8d3Gktc0s0k2Nmn2MuQbsMXyB50v4tJe4BAdN3jqwMI6TaobJy9e8HkbvVAhUA==","signatures":[{"sig":"MEQCICwL6qnmz6fp8tVh4jBI63IjniSCntrrKzlhJJEBu3IoAiBw31RM0nxEsVQRphN7N6RGIAvMhiJWPVJQ4uV9yjEqiA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/wEKCRA9TVsSAnZWagAAitUP/idNBH9ENITmmT9Zgqev\n3Nk88cY4Y5yD01qWHCB7/A2PyE86zNn+FX56zmXOb0ihSrZ21KkomtVgvHtR\ny5MZrTOD+jsZYOzVn2HKlIgpaFXICoibM1Wb8j2WkGHd2YEg0o1GVyPQ0nao\nWtsP8rYDUXduP0Q7WA+VYccetuBWsfj359IYDZMpWh+QggCECm9qeg4UXeKw\nIqajR7DHi1CBG8ThtjSQOb68+793ibDAUIQJVi46m8UNo/IGS6ugkQsaXyGa\nPAlJcdK14+4hIFdFBMbY6AttWbWmEJYD1MCOjSd/w0IPe/9Jg/Z383ZtFNGS\n3bPQdAmXBzW+00aq3iJPByuppSXSU/W6b3TIUIuPFTtEtc6safwFevaOmbuX\n7rzNa/pvpzaPPixpjhDXYWW9YuM5nLQuzs69VKfE3EzBzJTzfjyUJ4bHp2C2\niXeDt5dBh2bThxofmGAJfeBph3Uua1qwDUSudTKGI/PyGI7MfcdK6Ka06/FH\nOrS87BmPXILymUZhr9Zx08ulYntNJRVbzh+Du3fDtAgTHTs5OKM2mA+FYaAy\nJoMV4mjsjjDAVZoGjErRHJFlfcVIZbmrHgmReL5kpj52lLi4GW+r9Y/rR5Cb\nZqY+ysz34TRnc0ylqk4tPTXKBvgzImajuEZLp5b9CJYvk7aI6qvsbxW2HQ1U\nWS+7\r\n=/gWF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"ac3d0c8b100f70645f8512ec44aa01ee1db2368a","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"jesusbotella","email":"jesus.botella@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v12.6.0+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"12.6.0","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.4.0_1593770250422_0.5305119981882047","host":"s3://npm-registry-packages"}},"2.4.1-rc.0":{"name":"@carto/airship-bridge","version":"2.4.1-rc.0","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.4.1-rc.0","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"137fe19a2fe3c788c56e8b1d085599203de07faf","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.4.1-rc.0.tgz","fileCount":83,"integrity":"sha512-vzKWrND+ReFds1PQA48MIgJxYT0xSWiaAY4ErbELRCl3ZbzPxEWlZcSPCK2yOK3MtKpHoPTChGZcEHlqHLzHfw==","signatures":[{"sig":"MEYCIQDvaXbfQETODoHsaU3oYvMCBNzRIeLzITJQPUDoEMy3qQIhAIyIuoVP5xNZ7anVlPmxMsLd8yPoNDbkQjXAN3OjTcF+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412607,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTOcJCRA9TVsSAnZWagAAdgAP/1z3cKTlpzC4fudbtfHl\nXFsVi534PCzGXs+pnYcMATl5oGslEjYnzNRDP2eV7uof7Ri4A0Fbi55Lr4vO\nr/7Ihc8L0UULBvtCM5NE21dqrRilL4Cjwijl4K7IuP4HoI15iNADQusThHIy\nTYWbdMu+1VEVE+fapIiTghlPDAy2myYpCzBgcnQSfJm5iR4j3RywPvzIwLPM\nwj4nREUmLCbYMQjF+NLOC6CCtEXsIaAJnj/BUr60QidfwzePqRWNGNTYqb4O\nIqbwBHnAX4kcYaj8SHSdnqozU1Rn5z22C5b36yW12XXiDdHlfLPh8Ywh25BU\nu9LUj+U6dHHwz9GInlyx6KqA5RerlUjQuRWUHNLx6oK0BsFmygwO6IDZcH1z\n4tW1ZPEBbQDZGpBftR0hbiABSzHTgY72qHLt7MeRVjm8CAX4mIrMLsllO9V8\nl7bA/2a1aeeoeEzqNpe7/FaEPg5oItdRR0EbLWLCDeg5kC32S1BvVon5OGAf\nEUuIXQksgSWGDWd4gL7ykXVNh12KXbzcwWsDUj2C02wLBO1gOUNgyEx8DqqT\nSnI1yXOF3baGpJ8w/OOOuHBmQnEiKc3kOeojVyrF4So1qUa9cZ4b3D9xNf1j\n3lrUN3XBVcWR+wzGMxPjahVV5OKyUV6IwIIVvUs8psg910dFBj6V2fQiKdnY\naVXN\r\n=Wgo8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","gitHead":"a9e5e1b6bbfbeca7ec7a663a78af96d4f1b52541","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"victor.velarde","email":"victor.velarde@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"12.18.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.4.1-rc.0_1598875401562_0.2528436110217267","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"@carto/airship-bridge","version":"2.4.1","author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","_id":"@carto/airship-bridge@2.4.1","maintainers":[{"name":"albertoag","email":"albertoag@carto.com"},{"name":"algunenano","email":"git@rmr.ninja"},{"name":"cartodb","email":"npm@cartodb.com"},{"name":"dgaubert","email":"danielgarciaaubert@gmail.com"},{"name":"jesusbotella","email":"jesus.botella@gmail.com"},{"name":"neokore","email":"neokore@gmail.com"},{"name":"oleurud","email":"oleurud@gmail.com"},{"name":"rtorre","email":"rtorre@carto.com"},{"name":"sconde","email":"sconde@carto.com"},{"name":"victor.velarde","email":"victor.velarde@gmail.com"}],"dist":{"shasum":"42327a62b607a6e4cf53878ef47bea968bb71217","tarball":"https://registry.npmjs.org/@carto/airship-bridge/-/airship-bridge-2.4.1.tgz","fileCount":83,"integrity":"sha512-w9ny9Sucv7hn7gCey3PFB/BRFx3tkQPO/zkAyVlrtf/fL4319FCPRY88IQpPNmp5H3ohiluBkN0xXFDZT0irwA==","signatures":[{"sig":"MEQCIDk3zP4N+8tEgf+FNHhpzdLHbRb4JFj4MjNf45rwtgukAiBQPe46APLnKvfquHzsBNvrjrBY18/OPdyYjcUhFuT1ng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2CP/CRA9TVsSAnZWagAAqEwP/AnsFAtUSGkcdY0zzuPF\nPo5e7fgSD695ALbDWFTc1HxD+/4avrZaDIR8ne+CWdBwRzIFHibITAuHTa7j\nMbdSRLPXlcxvDWmrl6TDIrK1lwd+KXg9mathT0ksv+dvoJgLDdHTR993m0/v\na8qiSukIJkP/A0lh5xw6h+AMpWVs0JDR1sX2MotZG3wh3obmkQjs6p63CJKN\njsCXXjVvtF4ey8dhJ0JtpGRKf88eXTkGQ43jOAO19wT9HgEB1xgY/5MMYoiv\novLcU53rDg45U+9+LkUcavJRvxYuRS9X7Y7MujI7+viyrruNPtbhh1Bf9/Wt\nMqX+/dvP6Zww7JP6CNyROoZ+pmx+71zMZg7edZ8lOscCrMZxgIg+hChcxnrY\nsvTQil+zzHbUMnnTMtdIa3xLQrNSrv0PQi0LixXAgmsOMWriXtbKE9ACFtTZ\nUYkrWoTa9aHi6f0hx7L35tQxeV+KMVCn5vr+/gd75GCj/u+sgWtTtFsB/Ub3\nGgz23K7nvHcl9z3Z0jCQPaTeM/1OW7r6rcXKPZ5TNM1Np324sSBL0ecz6s3G\nhvvsim8tzk8imc5ahKvEiy+XbaUGKHzbfwGQ6jcpkt3A38FaYYKpLRmmXhLM\nzUhyQkC7mMUSFkRi4hl3BXmYfc9LyFxSmKRtMF3Ye1lCK59lqVaSsLD2kxpC\n+yu6\r\n=r6aB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"45c017308cabe23197a9ce9efa841f5d0d7e8494","scripts":{"dev":"webpack --watch","docs":"typedoc --mode file --out docs --theme minimal --name 'Airship Bridge'","lint":"tslint -c tslint.json src/**/*.{ts,tsx}","test":"jest","build":"rm -rf dist && tsc -d && webpack --config webpack.prod.js && webpack --config webpack.config.js","test:watch":"jest --watch"},"_npmUser":{"name":"victor.velarde","email":"victor.velarde@gmail.com"},"_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (darwin)","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","directories":{},"_nodeVersion":"12.18.3","dependencies":{"mitt":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.6.0","tslint":"^5.20.1","ts-jest":"^23.10.5","webpack":"^4.27.0","ts-loader":"^5.3.1","typescript":"3.5.3","@types/jest":"23.3.10","webpack-cli":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/airship-bridge_2.4.1_1598876974873_0.9573076435791095","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-03-22T12:16:48.400Z","modified":"2025-10-20T06:53:24.551Z","2.0.0-rc.1":"2019-03-22T12:16:48.639Z","2.0.0-rc.2":"2019-03-22T12:56:03.364Z","2.0.0-rc.3":"2019-03-22T16:49:39.526Z","2.0.0":"2019-03-25T16:10:25.017Z","2.0.4":"2019-03-26T17:40:52.816Z","2.0.5":"2019-03-26T18:11:56.907Z","2.0.6":"2019-05-20T17:48:31.545Z","2.1.0-rc.0":"2019-06-03T16:53:27.226Z","2.0.7":"2019-06-13T10:05:26.829Z","2.1.0-rc.1":"2019-06-17T12:47:43.757Z","2.1.0-rc.2":"2019-06-17T17:46:17.021Z","2.1.0":"2019-06-18T09:22:00.794Z","2.2.0-rc.0":"2019-06-26T16:12:28.568Z","2.2.0-rc.1":"2019-07-16T13:51:49.978Z","2.2.0-rc.2":"2019-07-22T13:04:39.674Z","2.1.1":"2019-07-30T09:17:35.539Z","2.2.0-2.2.0-rc.3.0":"2019-09-12T09:26:35.355Z","2.2.0-rc.2.1":"2019-09-12T14:41:20.500Z","2.2.0-rc.2.2":"2020-01-09T14:43:14.388Z","2.2.0":"2020-01-17T15:25:00.230Z","2.2.1":"2020-01-21T09:48:46.857Z","2.3.1-rc.0":"2020-03-18T13:53:56.584Z","2.3.1-rc.1":"2020-04-02T09:16:09.280Z","2.3.1-rc.2":"2020-04-03T13:04:01.741Z","2.3.1":"2020-04-03T14:08:49.529Z","2.3.2-rc.0":"2020-04-30T15:26:14.826Z","2.3.2-rc.1":"2020-05-06T18:13:19.341Z","2.3.2-rc.2":"2020-05-08T14:35:57.559Z","2.3.2":"2020-05-13T14:51:49.545Z","2.3.3":"2020-05-22T12:31:17.082Z","2.3.4":"2020-05-29T16:28:13.415Z","2.4.0-rc.0":"2020-06-24T10:21:49.755Z","2.4.0":"2020-07-03T09:57:30.558Z","2.4.1-rc.0":"2020-08-31T12:03:21.676Z","2.4.1":"2020-08-31T12:29:34.986Z"},"author":{"name":"CARTO Dev Team"},"license":"BSD-3-Clause","description":"Airship bridge to other libs (CARTO VL, CARTO.js)","maintainers":[{"email":"jmtorres@cartodb.com","name":"jmtorrescartodb"},{"email":"jgonzalez@cartodb.com","name":"juanra-carto"},{"email":"npm@cartodb.com","name":"cartodb"},{"email":"cristogr.93@gmail.com","name":"shylpx"},{"email":"jaragon@cartodb.com","name":"jaragon"},{"email":"aaranaboza@gmail.com","name":"aaranadev"},{"email":"z.zagorski@gmail.com","name":"zbigg"},{"email":"imoreno@cartodb.com","name":"josmorsot"},{"email":"vmilangomez@gmail.com","name":"vmilan"},{"email":"felixpalmer+npm@gmail.com","name":"felixpalmer"},{"email":"mcalzado@cartodb.com","name":"moicalcob"},{"email":"aalmonacid@cartodb.com","name":"aalmonacid"},{"email":"jmgaya.dev@gmail.com","name":"jmgaya"},{"email":"daniarlandis@gmail.com","name":"menusal"}],"readme":"# CARTO VL Airship bridge\n\nAirship components are a great tool to build Location Intelligence dashboards, and CARTO VL an amazing tool for mapping. This library makes them work together easily.\n\n## What does this do?\n\nEssentially, it lets you take your existing CARTO VL visualizations and easily connect them to Airship widgets. Namely, to the following:\n\n- Histogram widgets (numerical & categorical)\n- Time Series widget\n- Category widget\n- Range Slider, for a global range of a numerical value\n\nAs Airship expands and adds further components, expect them to get their respective filter here as well.\n\nBecause these connections can be read-only or allow filtering, they are called **Filters**, and are all orchestrated by a `VLBridge` object.\n\n### Histogram Filter\n\nThe histogram will get automatically populated and refresh when moving the map around.\n\nBoth numerical and categorical histograms are supported. You can use the `histogram` method with or without number of buckets, or you can use the individual functions `numericalHistogram` & `categoricalHistogram`.\n\n### Time series Filter\n\nThe time series bridge lets you display the progress of a VL animation on a time-series-widget and binds all the events to control it (seeking, pausing).\n\nIt will also automatically do the logic to play the animation when selecting a range.\n\n### Category Filter\n\nVery similar to a histogram, but the data is displayed using an `as-category-widget`.\n\n### Global Range Filter\n\nThis lets you assign a Range Slider to a numerical column, and will set its range to the global min / max of said column, allowing filtering by it.\n\n## How can I use this?\n\nA typical use of this library implies creating a new bridge for an existing layer:\n\n```\nconst bridge = new AsBridge.VLBridge({\n  carto: carto,\n  map: map,\n  layer: vizLayer,\n  source: source\n});\n```\n\n`carto` is your CARTO VL namespace object, which is required in order to create new layers.\n`map` is your MapboxGL map. We internally add a new layer, so we need a place to put it.\n`vizLayer` is your existing CARTO VL layer.\n`source` is the source of the aforementioned layer.\n\nAnd then creating all the necessary filters:\n\n```\nbridge.histogram(timestampWidget, 'timestamp', {\n  buckets: 30,\n  source\n});\n\nbridge.histogram(surfaceWidget, 'surface', {\n  buckets: 40,\n  source\n});\n\n```\n\nAnd then simply bundling it all together\n\n```\nbridge.build();\n```\n\nBe sure to check out [our examples](https://github.com/CartoDB/airship/tree/master/packages/bridge/examples).\n\n### Usage from the CDN\n\nJust include the following tag:\n\n```\n<script src=\"https://libs.cartocdn.com/airship-bridge/prerelease/asbridge.js\"></script>\n```\n\nAnd start bridging your visualizations to your widgets.\n","readmeFilename":"README.md"}