oozie-api
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

Oozie-API

A Node module for Oozie in Typescript

npm version Build Status

Documentation


Prerequisites

  • Node 10+

Installation

Install the dependencies and devDependencies and start the server.

$ npm install --save oozie-api

Usage

  import {client} from 'oozie-api'; or  const CLIENT = require('oozie-api').client;
 
  let _client = new CLIENT||client({
    oozieUrl: 'http://127.0.0.1:11000/oozie'
  });
 
  _client.buildVersion().then(result => console.log(result));
  

Enums Usage

  import * as OozieAPIEnums from 'oozie-api/dist/types' or   const OOZIEAPI_ENUMS = require('oozie-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

Readme

Keywords

Package Sidebar

Install

npm i oozie-api

Weekly Downloads

0

Version

0.1.10

License

Apache-2.0

Unpacked Size

56.4 kB

Total Files

15

Last publish

Collaborators

  • ptariche