spacex-nodejs
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

spacex-nodejs Codeship Status for js-kyle/spacex-nodejs npm version

This module is a Node.js wrapper for the SpaceX API. This module is purely to demonstrate an example npm module workflow using Codeship Basic as the tooling.

Installation

$ npm install

Test

$ npm run test

Usage

const spacex = require('spacex-node.js');
 
(async () => {
  await spacex.nextLaunch();
  await spacex.latestLaunch();
})();
 

API

spacex.nextLaunch()

Returns a Promise with data from the next spacex launch

spacex.latestLaunch()

Returns a Promise with data from the latest spacex launch

SpaceX API Reference can be found here.

Readme

Keywords

Package Sidebar

Install

npm i spacex-nodejs

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.22 kB

Total Files

3

Last publish

Collaborators

  • js-kyle