0.0.4 • Published 6 years ago

firefly-api-access v0.0.4

Weekly downloads
31
License
SEE LICENSE IN Li...
Repository
github
Last release
6 years ago

Firefly API accessible via NPM module

Firefly is IPAC's Advanced Astronomy WEB UI Framework. This repository provides NPM module to load the Firefly API

See firefly Respoitory on Github

Example - retrieve the firefly API:

   import {initFirefly} from 'firefly-api-access'; 

   const url= 'http://localhost:8080/firefly';
   const getFireflyAPI= initFirefly(url); // return a function that can retrieve the Firelfy API
 
   getFireflyAPI().then( (firefly) => { // call the function to retrieve API, return a promise with Firefly
              firefly.getViewer().plotURL('http://web.ipac.caltech.edu/staff/roby/demo/wise-m51-band2.fits');
       }); 
0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago