package
Example TypeScript npm package tested and deployed with Codeship Basic
npm install spacex-nodejsGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
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.
$ npm install$ npm run testconst spacex = require('spacex-node.js');
(async () => {
await spacex.nextLaunch();
await spacex.latestLaunch();
})();
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.
Estimated unpacked size across 40 packages.
8.1 MB
Includes dependencies.