GithubHelp home page GithubHelp logo

theneuralbit / jsarrow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danrobinson/jsarrow

0.0 1.0 0.0 35 KB

JavaScript implementation of the Apache Arrow format.

License: Apache License 2.0

Python 1.27% JavaScript 18.55% C++ 80.18%

jsarrow's Introduction

JSArrow

This is an unofficial work-in-progress implementation of the Apache Arrow format in JavaScript.

Installation (Mac OS X)

Before installing the JavaScript library, you must install the C++ libraries.

Define an $ARROW_HOME environment variable to specify where you want the Arrow C++ libraries to be installed (i.e., /usr/local).

Make sure you have cmake installed. Then run:

git clone https://github.com/apache/arrow.git
cd arrow/cpp
source setup_build_env.sh
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME ..
make
sudo make install

To install the JavaScript library:

npm install danrobinson/jsarrow

Examples

var convert = require('./index').convert;

var stringArray = convert(["foo", "bar"]);
var numberArray = convert([1, 3]);

console.log(stringArray);
console.log(numberArray);
console.log(stringArray.length);
console.log(numberArray.length);
console.log(stringArray[0]);
console.log(numberArray[0]);

jsarrow's People

Contributors

danrobinson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.