An open API service indexing awesome lists of open source software.

https://github.com/rosylilly/at_exit

like ruby #at_exit
https://github.com/rosylilly/at_exit

Last synced: 4 months ago
JSON representation

like ruby #at_exit

Awesome Lists containing this project

README

        

# atExit

like ruby #at\_exit

## usage

var at_exit = require('at-exit');
at_exit(function() {
console.log("at exit!");
});

var express = require('express'),
app = express.createServer(),
at_exit = require('at-exit');

at_exit(function() {
app.listen(3000);
});

app.get('/', function(req, res) {
res.send('example');
});