1.0.5 • Published 4 years ago

super-quick-static v1.0.5

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

super-quick-static

express + pug + sass
serves static files... and css from sass, html from pug

extends quick-static (@npm) concept to allow some source/template files (sass, pug) to be served as regular files

iconic fonts from iconmonstr
Roboto Mono for browse pages (src/index.pug)

install

$ npm i -g super-quick-static

usage

$ super-quick-static [path='.'] [port='8000'] [auto=true]
$ super-quick-static
# serve the current directory through http://localhost:8000

$ super-quick-static ./public 12345
# serve the folder 'public' from the current directory on http://localhost:12345

$ super-quick-static /an/absolute/path 6666
# serve a absolute folder on http://localhost:6666

$ super-quick-static . 4000
# serve current directory on http://localhost:4000
# if the port 4000 is not available,
# will search for the next available port (4001, 4002, ...)

but more importantly...

auto-conversion

  • sass: any/style.sass > any/style.css
  • pug: any/template.pug > any/template.html
  • md: any/note.md > any/note.html (github flavoured style)

reset css

A reset css file is also available @ localhost:${port}/reset.css.
See src/reset.css to get the source, it's a mix of the famous Meyer's reset.css and Paul Irish Box-Sizing recommandation (source src/reset.css).

screenshots:

NPM link

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

5 years ago

1.0.0

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

7 years ago