blob: 54ee799fe538874c488243e2944a05a70c9564b0 [file] [log] [blame]
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Apache Arrow - v8.0.0</title><meta name="description" content="Documentation for Apache Arrow - v8.0.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script async src="assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">Apache Arrow - v8.0.0</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><h1> Apache Arrow - v8.0.0 </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><div class="tsd-panel tsd-typography"><!---
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<a href="#apache-arrow-in-js" id="apache-arrow-in-js" style="color: inherit; text-decoration: none;">
<h1><a href="https://github.com/apache/arrow">Apache Arrow</a> in JS</h1>
</a>
<p><a href="https://www.npmjs.com/package/apache-arrow"><img src="https://img.shields.io/npm/v/apache-arrow.svg" alt="npm version"></a></p>
<p>Arrow is a set of technologies that enable big data systems to process and transfer data quickly.</p>
<a href="#install-apache-arrow-from-npm" id="install-apache-arrow-from-npm" style="color: inherit; text-decoration: none;">
<h2>Install <code>apache-arrow</code> from NPM</h2>
</a>
<p><code>npm install apache-arrow</code> or <code>yarn add apache-arrow</code></p>
<p>(read about how we <a href="#packaging">package apache-arrow</a> below)</p>
<a href="#powering-columnar-in-memory-analytics" id="powering-columnar-in-memory-analytics" style="color: inherit; text-decoration: none;">
<h1>Powering Columnar In-Memory Analytics</h1>
</a>
<p><a href="https://github.com/apache/arrow">Apache Arrow</a> is a columnar memory layout specification for encoding vectors and table-like containers of flat and nested data. The Arrow spec aligns columnar data in memory to minimize cache misses and take advantage of the latest SIMD (Single input multiple data) and GPU operations on modern processors.</p>
<p>Apache Arrow is the emerging standard for large in-memory columnar data (<a href="https://spark.apache.org/">Spark</a>, <a href="https://wesmckinney.com/blog/pandas-and-apache-arrow/">Pandas</a>, <a href="https://drill.apache.org/">Drill</a>, <a href="https://www.graphistry.com">Graphistry</a>, ...). By standardizing on a common binary interchange format, big data systems can reduce the costs and friction associated with cross-system communication.</p>
<a href="#get-started" id="get-started" style="color: inherit; text-decoration: none;">
<h1>Get Started</h1>
</a>
<p>Check out our <a href="https://arrow.apache.org/docs/js/">API documentation</a> to learn more about how to use Apache Arrow&#39;s JS implementation. You can also learn by example by checking out some of the following resources:</p>
<ul>
<li><a href="https://github.com/apache/arrow/tree/master/js/test/unit">/js/test/unit</a> - Unit tests for Table and Vector</li>
</ul>
<a href="#cookbook" id="cookbook" style="color: inherit; text-decoration: none;">
<h2>Cookbook</h2>
</a>
<a href="#get-a-table-from-an-arrow-file-on-disk-in-ipc-format" id="get-a-table-from-an-arrow-file-on-disk-in-ipc-format" style="color: inherit; text-decoration: none;">
<h3>Get a table from an Arrow file on disk (in IPC format)</h3>
</a>
<pre><code class="language-js"><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">readFileSync</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&#39;fs&#39;</span><span class="hl-1">;</span><br/><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">tableFromIPC</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&#39;apache-arrow&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">arrow</span><span class="hl-1"> = </span><span class="hl-6">readFileSync</span><span class="hl-1">(</span><span class="hl-3">&#39;simple.arrow&#39;</span><span class="hl-1">);</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">table</span><span class="hl-1"> = </span><span class="hl-6">tableFromIPC</span><span class="hl-1">(</span><span class="hl-2">arrow</span><span class="hl-1">);</span><br/><br/><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-6">table</span><span class="hl-1">(</span><span class="hl-2">table</span><span class="hl-1">.</span><span class="hl-6">toArray</span><span class="hl-1">());</span><br/><br/><span class="hl-7">/*</span><br/><span class="hl-7"> foo, bar, baz</span><br/><span class="hl-7"> 1, 1, aa</span><br/><span class="hl-7">null, null, null</span><br/><span class="hl-7"> 3, null, null</span><br/><span class="hl-7"> 4, 4, bbb</span><br/><span class="hl-7"> 5, 5, cccc</span><br/><span class="hl-7">*/</span>
</code></pre>
<a href="#create-a-table-when-the-arrow-file-is-split-across-buffers" id="create-a-table-when-the-arrow-file-is-split-across-buffers" style="color: inherit; text-decoration: none;">
<h3>Create a Table when the Arrow file is split across buffers</h3>
</a>
<pre><code class="language-js"><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">readFileSync</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&#39;fs&#39;</span><span class="hl-1">;</span><br/><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">tableFromIPC</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&#39;apache-arrow&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">table</span><span class="hl-1"> = </span><span class="hl-6">tableFromIPC</span><span class="hl-1">([</span><br/><span class="hl-1"> </span><span class="hl-3">&#39;latlong/schema.arrow&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-3">&#39;latlong/records.arrow&#39;</span><br/><span class="hl-1">].</span><span class="hl-6">map</span><span class="hl-1">((</span><span class="hl-2">file</span><span class="hl-1">) </span><span class="hl-4">=&gt;</span><span class="hl-1"> </span><span class="hl-6">readFileSync</span><span class="hl-1">(</span><span class="hl-2">file</span><span class="hl-1">)));</span><br/><br/><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-6">table</span><span class="hl-1">([...</span><span class="hl-2">table</span><span class="hl-1">]);</span><br/><br/><span class="hl-7">/*</span><br/><span class="hl-7"> origin_lat, origin_lon</span><br/><span class="hl-7">35.393089294433594, -97.6007308959961</span><br/><span class="hl-7">35.393089294433594, -97.6007308959961</span><br/><span class="hl-7">35.393089294433594, -97.6007308959961</span><br/><span class="hl-7">29.533695220947266, -98.46977996826172</span><br/><span class="hl-7">29.533695220947266, -98.46977996826172</span><br/><span class="hl-7">*/</span>
</code></pre>
<a href="#create-a-table-from-javascript-arrays" id="create-a-table-from-javascript-arrays" style="color: inherit; text-decoration: none;">
<h3>Create a Table from JavaScript arrays</h3>
</a>
<pre><code class="language-js"><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">tableFromArrays</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&#39;apache-arrow&#39;</span><span class="hl-1">;</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">LENGTH</span><span class="hl-1"> = </span><span class="hl-8">2000</span><span class="hl-1">;</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">rainAmounts</span><span class="hl-1"> = </span><span class="hl-9">Float32Array</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><br/><span class="hl-1"> { </span><span class="hl-2">length:</span><span class="hl-1"> </span><span class="hl-5">LENGTH</span><span class="hl-1"> },</span><br/><span class="hl-1"> () </span><span class="hl-4">=&gt;</span><span class="hl-1"> </span><span class="hl-9">Number</span><span class="hl-1">((</span><span class="hl-9">Math</span><span class="hl-1">.</span><span class="hl-6">random</span><span class="hl-1">() * </span><span class="hl-8">20</span><span class="hl-1">).</span><span class="hl-6">toFixed</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">)));</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">rainDates</span><span class="hl-1"> = </span><span class="hl-9">Array</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><br/><span class="hl-1"> { </span><span class="hl-2">length:</span><span class="hl-1"> </span><span class="hl-5">LENGTH</span><span class="hl-1"> },</span><br/><span class="hl-1"> (</span><span class="hl-2">_</span><span class="hl-1">, </span><span class="hl-2">i</span><span class="hl-1">) </span><span class="hl-4">=&gt;</span><span class="hl-1"> </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-9">Date</span><span class="hl-1">(</span><span class="hl-9">Date</span><span class="hl-1">.</span><span class="hl-6">now</span><span class="hl-1">() - </span><span class="hl-8">1000</span><span class="hl-1"> * </span><span class="hl-8">60</span><span class="hl-1"> * </span><span class="hl-8">60</span><span class="hl-1"> * </span><span class="hl-8">24</span><span class="hl-1"> * </span><span class="hl-2">i</span><span class="hl-1">));</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">rainfall</span><span class="hl-1"> = </span><span class="hl-6">tableFromArrays</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-2">precipitation:</span><span class="hl-1"> </span><span class="hl-2">rainAmounts</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">date:</span><span class="hl-1"> </span><span class="hl-2">rainDates</span><br/><span class="hl-1">});</span><br/><br/><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-6">table</span><span class="hl-1">([...</span><span class="hl-2">rainfall</span><span class="hl-1">]);</span>
</code></pre>
<a href="#load-data-with-fetch" id="load-data-with-fetch" style="color: inherit; text-decoration: none;">
<h3>Load data with <code>fetch</code></h3>
</a>
<pre><code class="language-js"><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">tableFromIPC</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&quot;apache-arrow&quot;</span><span class="hl-1">;</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">table</span><span class="hl-1"> = </span><span class="hl-0">await</span><span class="hl-1"> </span><span class="hl-6">tableFromIPC</span><span class="hl-1">(</span><span class="hl-6">fetch</span><span class="hl-1">(</span><span class="hl-3">&quot;/simple.arrow&quot;</span><span class="hl-1">));</span><br/><br/><span class="hl-2">console</span><span class="hl-1">.</span><span class="hl-6">table</span><span class="hl-1">([...</span><span class="hl-2">table</span><span class="hl-1">]);</span>
</code></pre>
<a href="#vectors-look-like-js-arrays" id="vectors-look-like-js-arrays" style="color: inherit; text-decoration: none;">
<h3>Vectors look like JS Arrays</h3>
</a>
<p>You can create vector from JavaScript typed arrays with <code>makeVector</code> and from JavaScript arrays with <code>vectorFromArray</code>. <code>makeVector</code> is a lot faster and does not require a copy.</p>
<pre><code class="language-js"><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">makeVector</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&quot;apache-arrow&quot;</span><span class="hl-1">;</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">LENGTH</span><span class="hl-1"> = </span><span class="hl-8">2000</span><span class="hl-1">;</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">rainAmounts</span><span class="hl-1"> = </span><span class="hl-9">Float32Array</span><span class="hl-1">.</span><span class="hl-6">from</span><span class="hl-1">(</span><br/><span class="hl-1"> { </span><span class="hl-2">length:</span><span class="hl-1"> </span><span class="hl-5">LENGTH</span><span class="hl-1"> },</span><br/><span class="hl-1"> () </span><span class="hl-4">=&gt;</span><span class="hl-1"> </span><span class="hl-9">Number</span><span class="hl-1">((</span><span class="hl-9">Math</span><span class="hl-1">.</span><span class="hl-6">random</span><span class="hl-1">() * </span><span class="hl-8">20</span><span class="hl-1">).</span><span class="hl-6">toFixed</span><span class="hl-1">(</span><span class="hl-8">1</span><span class="hl-1">)));</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">vector</span><span class="hl-1"> = </span><span class="hl-6">makeVector</span><span class="hl-1">(</span><span class="hl-2">rainAmounts</span><span class="hl-1">);</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">typed</span><span class="hl-1"> = </span><span class="hl-2">vector</span><span class="hl-1">.</span><span class="hl-6">toArray</span><span class="hl-1">()</span><br/><br/><span class="hl-6">assert</span><span class="hl-1">(</span><span class="hl-2">typed</span><span class="hl-1"> </span><span class="hl-4">instanceof</span><span class="hl-1"> </span><span class="hl-9">Float32Array</span><span class="hl-1">);</span><br/><br/><span class="hl-0">for</span><span class="hl-1"> (</span><span class="hl-4">let</span><span class="hl-1"> </span><span class="hl-2">i</span><span class="hl-1"> = -</span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-2">n</span><span class="hl-1"> = </span><span class="hl-2">vector</span><span class="hl-1">.</span><span class="hl-2">length</span><span class="hl-1">; ++</span><span class="hl-2">i</span><span class="hl-1"> &lt; </span><span class="hl-2">n</span><span class="hl-1">;) {</span><br/><span class="hl-1"> </span><span class="hl-6">assert</span><span class="hl-1">(</span><span class="hl-2">vector</span><span class="hl-1">.</span><span class="hl-6">get</span><span class="hl-1">(</span><span class="hl-2">i</span><span class="hl-1">) === </span><span class="hl-2">typed</span><span class="hl-1">[</span><span class="hl-2">i</span><span class="hl-1">]);</span><br/><span class="hl-1">}</span>
</code></pre>
<a href="#string-vectors" id="string-vectors" style="color: inherit; text-decoration: none;">
<h3>String vectors</h3>
</a>
<p>Strings can be encoded as UTF-8 or dictionary encoded UTF-8. Dictionary encoding encodes repeated values more efficiently. You can create a dictionary encoded string conveniently with <code>vectorFromArray</code> or efficiently with <code>makeVector</code>.</p>
<pre><code class="language-js"><span class="hl-0">import</span><span class="hl-1"> { </span><span class="hl-2">makeVector</span><span class="hl-1">, </span><span class="hl-2">vectorFromArray</span><span class="hl-1">, </span><span class="hl-2">Dictionary</span><span class="hl-1">, </span><span class="hl-2">Uint8</span><span class="hl-1">, </span><span class="hl-2">Utf8</span><span class="hl-1"> } </span><span class="hl-0">from</span><span class="hl-1"> </span><span class="hl-3">&quot;apache-arrow&quot;</span><span class="hl-1">;</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">uft8Vector</span><span class="hl-1"> = </span><span class="hl-6">vectorFromArray</span><span class="hl-1">([</span><span class="hl-3">&#39;foo&#39;</span><span class="hl-1">, </span><span class="hl-3">&#39;bar&#39;</span><span class="hl-1">, </span><span class="hl-3">&#39;baz&#39;</span><span class="hl-1">], </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-2">Utf8</span><span class="hl-1">);</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">dictionaryVector1</span><span class="hl-1"> = </span><span class="hl-6">vectorFromArray</span><span class="hl-1">(</span><br/><span class="hl-1"> [</span><span class="hl-3">&#39;foo&#39;</span><span class="hl-1">, </span><span class="hl-3">&#39;bar&#39;</span><span class="hl-1">, </span><span class="hl-3">&#39;baz&#39;</span><span class="hl-1">, </span><span class="hl-3">&#39;foo&#39;</span><span class="hl-1">, </span><span class="hl-3">&#39;bar&#39;</span><span class="hl-1">]</span><br/><span class="hl-1">);</span><br/><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">dictionaryVector2</span><span class="hl-1"> = </span><span class="hl-6">makeVector</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-2">data:</span><span class="hl-1"> [</span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">1</span><span class="hl-1">, </span><span class="hl-8">2</span><span class="hl-1">, </span><span class="hl-8">0</span><span class="hl-1">, </span><span class="hl-8">1</span><span class="hl-1">], </span><span class="hl-7">// indexes into the dictionary</span><br/><span class="hl-1"> </span><span class="hl-2">dictionary:</span><span class="hl-1"> </span><span class="hl-2">uft8Vector</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">type:</span><span class="hl-1"> </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-6">Dictionary</span><span class="hl-1">(</span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-2">Utf8</span><span class="hl-1">, </span><span class="hl-4">new</span><span class="hl-1"> </span><span class="hl-2">Uint8</span><span class="hl-1">)</span><br/><span class="hl-1">});</span>
</code></pre>
<a href="#getting-involved" id="getting-involved" style="color: inherit; text-decoration: none;">
<h1>Getting involved</h1>
</a>
<p>See <a href="DEVELOP.md">DEVELOP.md</a></p>
<p>Even if you do not plan to contribute to Apache Arrow itself or Arrow
integrations in other projects, we&#39;d be happy to have you involved:</p>
<ul>
<li>Join the mailing list: send an email to
<a href="mailto:dev-subscribe@arrow.apache.org">dev-subscribe@arrow.apache.org</a>. Share your ideas and use cases for the
project.</li>
<li><a href="https://issues.apache.org/jira/browse/ARROW">Follow our activity on JIRA</a></li>
<li><a href="https://github.com/apache/arrow/tree/master/format">Learn the format</a></li>
<li>Contribute code to one of the reference implementations</li>
</ul>
<p>We prefer to receive contributions in the form of GitHub pull requests. Please send pull requests against the <a href="https://github.com/apache/arrow">github.com/apache/arrow</a> repository.</p>
<p>If you are looking for some ideas on what to contribute, check out the <a href="https://issues.apache.org/jira/browse/ARROW">JIRA
issues</a> for the Apache Arrow project. Comment on the issue and/or contact
<a href="https://mail-archives.apache.org/mod_mbox/arrow-dev/">dev@arrow.apache.org</a>
with your questions and ideas.</p>
<p>If you’d like to report a bug but don’t have time to fix it, you can still post
it on JIRA, or email the mailing list
<a href="https://mail-archives.apache.org/mod_mbox/arrow-dev/">dev@arrow.apache.org</a></p>
<a href="#packaging" id="packaging" style="color: inherit; text-decoration: none;">
<h2>Packaging</h2>
</a>
<p><code>apache-arrow</code> is written in TypeScript, but the project is compiled to multiple JS versions and common module formats.</p>
<p>The base <code>apache-arrow</code> package includes all the compilation targets for convenience, but if you&#39;re conscientious about your <code>node_modules</code> footprint, we got you.</p>
<p>The targets are also published under the <code>@apache-arrow</code> namespace:</p>
<pre><code class="language-sh"><span class="hl-1">npm install apache-arrow </span><span class="hl-7"># &lt;-- combined es2015/CommonJS/ESModules/UMD + esnext/UMD</span><br/><span class="hl-1">npm install @apache-arrow/ts </span><span class="hl-7"># standalone TypeScript package</span><br/><span class="hl-1">npm install @apache-arrow/es5-cjs </span><span class="hl-7"># standalone es5/CommonJS package</span><br/><span class="hl-1">npm install @apache-arrow/es5-esm </span><span class="hl-7"># standalone es5/ESModules package</span><br/><span class="hl-1">npm install @apache-arrow/es5-umd </span><span class="hl-7"># standalone es5/UMD package</span><br/><span class="hl-1">npm install @apache-arrow/es2015-cjs </span><span class="hl-7"># standalone es2015/CommonJS package</span><br/><span class="hl-1">npm install @apache-arrow/es2015-esm </span><span class="hl-7"># standalone es2015/ESModules package</span><br/><span class="hl-1">npm install @apache-arrow/es2015-umd </span><span class="hl-7"># standalone es2015/UMD package</span><br/><span class="hl-1">npm install @apache-arrow/esnext-cjs </span><span class="hl-7"># standalone esNext/CommonJS package</span><br/><span class="hl-1">npm install @apache-arrow/esnext-esm </span><span class="hl-7"># standalone esNext/ESModules package</span><br/><span class="hl-1">npm install @apache-arrow/esnext-umd </span><span class="hl-7"># standalone esNext/UMD package</span>
</code></pre>
<a href="#why-we-package-like-this" id="why-we-package-like-this" style="color: inherit; text-decoration: none;">
<h3>Why we package like this</h3>
</a>
<p>The JS community is a diverse group with a varied list of target environments and tool chains. Publishing multiple packages accommodates projects of all stripes.</p>
<p>If you think we missed a compilation target and it&#39;s a blocker for adoption, please open an issue.</p>
<a href="#supported-browsers-and-platforms" id="supported-browsers-and-platforms" style="color: inherit; text-decoration: none;">
<h3>Supported Browsers and Platforms</h3>
</a>
<p>The bundles we compile support moderns browser released in the last 5 years. This includes supported versions of
Firefox, Chrome, Edge, and Safari. We do not actively support Internet Explorer.
Apache Arrow also works on <a href="https://nodejs.org/en/about/releases/">maintained versions of Node</a>.</p>
<a href="#people" id="people" style="color: inherit; text-decoration: none;">
<h1>People</h1>
</a>
<p>Full list of broader Apache Arrow <a href="https://arrow.apache.org/committers/">committers</a>.</p>
<ul>
<li>Brian Hulette, <em>committer</em></li>
<li>Paul Taylor, <em>committer</em></li>
<li>Dominik Moritz, <em>committer</em></li>
</ul>
<a href="#powered-by-apache-arrow-in-js" id="powered-by-apache-arrow-in-js" style="color: inherit; text-decoration: none;">
<h1>Powered By Apache Arrow in JS</h1>
</a>
<p>Full list of broader Apache Arrow <a href="https://arrow.apache.org/powered_by/">projects &amp; organizations</a>.</p>
<a href="#open-source-projects" id="open-source-projects" style="color: inherit; text-decoration: none;">
<h2>Open Source Projects</h2>
</a>
<ul>
<li><a href="https://arrow.apache.org">Apache Arrow</a> -- Parent project for Powering Columnar In-Memory Analytics, including affiliated open source projects</li>
<li><a href="https://github.com/finos/perspective">Perspective</a> -- Perspective is an interactive analytics and data visualization component well-suited for large and/or streaming datasets. Perspective leverages Arrow C++ compiled to WebAssembly.</li>
<li><a href="https://github.com/uwdata/falcon">Falcon</a> is a visualization tool for linked interactions across multiple aggregate visualizations of millions or billions of records.</li>
<li><a href="https://github.com/vega">Vega</a> is an ecosystem of tools for interactive visualizations on the web. The Vega team implemented an <a href="https://github.com/vega/vega-loader-arrow">Arrow loader</a>.</li>
<li><a href="https://github.com/uwdata/arquero">Arquero</a> is a library for query processing and transformation of array-backed data tables.</li>
<li><a href="https://github.com/omnisci/mapd-connector">OmniSci</a> is a GPU database. Its JavaScript connector returns Arrow dataframes.</li>
</ul>
<a href="#license" id="license" style="color: inherit; text-decoration: none;">
<h1>License</h1>
</a>
<p><a href="https://github.com/apache/arrow/blob/master/LICENSE">Apache 2.0</a></p>
<script type="text/javascript" src="/docs/_static/versionwarning.js"></script></div></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class="current"><a href="modules.html">Modules</a></li><li class=" tsd-kind-module"><a href="modules/Arrow_dom.html">Arrow.dom</a></li><li class=" tsd-kind-module"><a href="modules/Arrow_node.html">Arrow.node</a></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li><li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="assets/main.js"></script></body></html>