1.0.1 • Published 8 years ago
get-nasa-hd-image v1.0.1
get-nasa-hd-image
This is just a simple, largely unnecessary script I cobbled together to test out await
/async
.
I'm a little behind the curve, I guess.
Anyway, npm run build
will build. You should (and I haven't tested this...) be able to use it basically like this:
const { getHdUrl, getUrl } = require('get-nasa-hd-image');
or
import { getHdUrl, getUrl } from 'get-nasa-hd-image';