downtown

0.0.2 • Public • Published

downtown

An updating markdown previewer in a browser

         .        .            |       .        .        .
              *        .       |   .        .
        .                     /-\     .           .   .
 .               .    .      |"""|              :        .
         .                  /"""""\  .      *       |>.
                           | # # # |     .        /\|  ___
    __     ___   ___   .   |# # # #| ___      ___/<>\ |:::|
  / ""|  __|~~| |'''|      |# # # #||"""|  __|"""|^^| |:::|
 /""""| |::|''|~~~~||_____ |# # # #||"""|-|::|"""|''|_|   |
 |""""| |::|''|""""|:::::| |# # # #||"""|t|::|"""|''|"""""|
 |""""|_|  |''|""""|:::::| |# # # #||"""|||::|"""|''""""""|
 |""""|::::|''|""""|:::::| |# # # #||"""|||::|"""|''""""""|

credit: www.retrojunkie.com/asciiart/building/skylines.htm

getting started

install node package globally

$ npm install -g downtown 

cd into project root and start server

cd project
$ ls project
src/
README.md
$ downtown 

open browser to (http://localhost:6969/README.md)

$ echo "# Whoa it updates..." | cat - README.md > temp && mv temp README.md # updates

check back to browser and look for changes

requirements

  • browser must support HTML5 EventStream
  • OS must support npm package node-watch which depends on the unstable fs.watch

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i downtown

Weekly Downloads

1

Version

0.0.2

License

none

Last publish

Collaborators

  • jdubie