0.1.0-7 • Published 1 year ago

nodesite-static v0.1.0-7

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
1 year ago

nodesite-static

Installation: pnpm i -g nodesite-static

Usage: nodesite-static NAME [directory] [--hl] [--md]

  • NAME: your site's name
  • directory: whichever directory you wish to serve, defaults to the current working directory
  • --md: parse markdown files
  • --hl: enable code highlighting

You can also import this module and define your plugins. To create a plugin, extend the Plugin class. Use the main function to launch the server.

Dependencies:

  • POSIX file