0.1.8 • Published 4 years ago

airflow-api v0.1.8

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
4 years ago

Airflow-API

A Node module for Airflow in Typescript. This uses the experimental Airflow API.

npm version Build Status

Documentation


Prerequisites

  • Node 10+

Installation

Install the dependencies and devDependencies and start the server.

$ npm install --save airflow-api

Usage

  import {client} from 'airflow-api'; or  const CLIENT = require('airflow-api').client;

  let _client = new CLIENT||client({
    airflowUrl: 'http://127.0.0.1:8080'
  });

  _client.checkTest().then(result => console.log(result)).catch(err => console.error(err));
  

Enums Usage

  import * as AirflowEnum from 'airflow-api/dist/types' or   const AIRFLOW_ENUMS = require('airflow-api/dist/types');

Development

Want to contribute? Great! Make a Pr! Open your favorite Terminal and run these commands.

Building for source

To release in javascript. The output is dumped in the dist folder:

$ npm run build

Testing

  • Uses Jest, Supertest, Chai - Integration Tests needed

    npm test

Changelog

Link

License

Apache-2.0

Author

Peter A. Tariche

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago