Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including blastoff with all npm packages installed. Try it out:

var blastoff = require("blastoff")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

blastoff v0.0.6

A tool to find out about upcoming space mission launches.


Find out when the next rocket launch is.

What's it do?

Running blastoff from the command line will output information on upcoming space missions and rocket launches in chronological order. It can also be require'd for use in code.


npm install -g blastoff

For non-command-line use, you can obviously leave out the -g flag.



Prints info for the next rocket launch.

blastoff --count 5 -b

Prints info for the next 5 rocket launches in boring mode (plain old json). If you require it, it will always return json so no option needs to be set.

blastoff(count, callback)

count: A number that determines how many results to return.

callback: Follows standard (err, data) pattern.`

var blastoff = require('blastoff');

blastoff(1, function(err, data){
    console.log('Looks like Miklós made a mistake somewhere.');

//-> Output will be a single element array with an object for the next launch.

Thanks to for the data.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free