@exodus/serve-dir

1.1.0 • Public • Published

serve-dir

http server for serving a directory listing + files

Usage

# tab 1

yarn start -p 7890 -d .

# serving directory "." on port 7890
# tab 2

curl localhost:7890
# {
#   "files": [
#     ".gitignore",
#     ".prettierrc",
#     "LICENSE",
#     "README.md",
#     "cmd.js",
#     "package.json",
#     "yarn.lock"
#   ]
# }

curl localhost:7890/README.md
# # serve-dir
#
# http server for serving a directory listing + files

/@exodus/serve-dir/

    Package Sidebar

    Install

    npm i @exodus/serve-dir

    Weekly Downloads

    8

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    3.4 kB

    Total Files

    6

    Last publish

    Collaborators

    • davidexodus
    • geoffreyrousset
    • marcos.kichel
    • kryptkeep
    • andrewtoth-exodus
    • mmehta-10
    • tunguyennnnn
    • dimartiro
    • cdotta-exodus
    • awesomeniko
    • mbaraniak-exodus
    • hasakura
    • milanvojnovic
    • kklash
    • shehryar6
    • rec
    • awilson-rs
    • ggabarrin-rs
    • r4vn
    • exorich
    • cryptosgr
    • mol0d
    • yevhenii_molodyk
    • yilmazbahadir
    • muratso
    • exoleo
    • 633kh4ck
    • ossel
    • davidfraga610
    • clarkexo
    • andrewrexo
    • james-gre
    • juraex
    • richayotte
    • ralph.ba
    • angelloz
    • joshuabot
    • jamiemaw
    • exodus-justin.za
    • javiexodus
    • rg911
    • alex.alexandrius
    • filipexodus
    • ryansquared-npm
    • andrescarreon
    • florianmathieu
    • janwe
    • fboucquez
    • skapala
    • umito
    • lanahizzle
    • iaacek
    • ps.mcnally
    • akinncar
    • matias.la
    • voltagebots
    • kwwood
    • sergii_bo
    • alexandrbbm
    • danh.t.vo
    • ezenwankwogabriel
    • meniem
    • mzndako
    • kevva
    • feri42
    • jprichardson
    • farisissa
    • ryanzim
    • headfire
    • gutenye
    • mosesbot
    • roccomuso
    • dcastagnoli
    • sonaye
    • nareg_exodus
    • ves
    • tenaciousmv
    • asyakost
    • bulgakovk
    • chalker
    • andrejb
    • jaydp17
    • olistic
    • joepie91
    • merlz
    • vbonini
    • devopsrobot
    • jenish-sojitra
    • nachoalvarez
    • giovannirco
    • diegomura
    • lanre-mark
    • sunilagrawal
    • guillecura
    • mariosvlad
    • federico-po
    • pagan404