1.0.0 • Published 7 years ago
@benhinchley/md v1.0.0
md
markdown tagged template literal
Install
# if you are using yarn
$ yarn add @benhinchley/md
# or if you are using npm
$ npm install --save @benhinchley/md
Usage
const md = require("@benhinchley/md")
const http = require("http")
http.createServer((req, res) => {
let doc = md`
# Hello!!!
You have come to ${req.url}
`
res.end(doc)
}).listen(process.env.PORT || 3000)
License
WTFPL © Benjamin Hinchley
1.0.0
7 years ago