Skip to content

Instantly share code, notes, and snippets.

@waldemarnt
Last active August 21, 2017 16:55
Show Gist options
  • Save waldemarnt/b35fe7ab51ad3974f1eda1e02579761a to your computer and use it in GitHub Desktop.
Save waldemarnt/b35fe7ab51ad3974f1eda1e02579761a to your computer and use it in GitHub Desktop.
std esm
import Math from './math';
import express from 'express';
const app = express();
app.get('/sum', function (req, res) {
res.send(`The sum is ${Math.sum(1,1)}`)
});
app.listen(3000, function () {
console.log('Example app listening on port 3000!')
});
export default app;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment