Git Product home page Git Product logo

maas.js's Introduction

maas.js

A JavaScript library for the browser to interact with maas-server.

Written in ES6, compiled with traceur and browserify.

Features

  • A Promise-based interface to communicate with maas-server.
  • By request, another Promise-based interface to communicate with maas-server at a slightly lower level.
  • Journey ID generation.
  • Appendable array database that synchronizes stored data from memory into LocalStorage every t seconds or every n stored objects.

Installation

npm install -g gulp
npm install lodash-cli
./build_lodash.sh
npm install

The two extra steps for lodash create a custom, minified build. The downside of this approach is that the lodash functions used in the code must be diligently updated in build_lodash.sh, by hand.

Use

Browserify for inclusion in the browser.

gulp

Lint source code.

gulp lint

Run tests. Currently there are only a few tests! Shame on me.

gulp test

Build ES6 into ES5.

gulp build

maas.js's People

Contributors

haphut avatar

Watchers

Petri Kola avatar Antti Poikola avatar Juha Yrjölä avatar James Cloos avatar miska knapek avatar Tarmo Toikkanen avatar Jaakko Korhonen avatar  avatar Jukka Aaltonen avatar Sami Mäkelä avatar Matti Kinnunen avatar Mikael Rekola 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.