New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

jekyll-preview

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jekyll-preview

Every time I try to setup a local Jekyll server, I fail. So I worked on a little preview server in node.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
5
-28.57%
Maintainers
1
Weekly downloads
 
Created
Source

jekyll-preview

Every time I try to setup a local Jekyll server, I fail. So I worked on a little preview server in node.

For local preview, this is aiming to provide the minimal amount of Jekyll features to quickly check out a post in the given theme and site configuration, responding with what would generate Jekyll (or close enough).

  • Loads data from _config.yml
  • Builds {{ site }} and {{ page }} variables with some stuff that Jekyll would generate for Liquid templates to consume.
  • Reads yaml front matter in both posts and layouts
  • Layout chaining support
  • Quick, simple and node

Install

$ npm install --global jekyll-preview

Ex.

$ jekyll-preview ./
jekyll Listening on http://localhost:4567 serving /home/mk/src/mklabs/mklabs.github.com +0ms
jekyll:server Incoming request: / +838ms
jekyll:render Rendering page +1ms /home/mk/src/mklabs/mklabs.github.com/index.html
jekyll:server Incoming request: /_posts/2014-6-7-dockerized-jenkins-and-slaves.md +50s
jekyll:render Rendering _posts/2014-6-7-dockerized-jenkins-and-slaves.md file +0ms

Usage

$ jekyll-preview --help

  Usage
    jekyll-preview <dir> [options]

  Options
    --port  Server port [Default: 4567]

  Examples

    $ jekyll-preview

    $ jekyll-preview ./path/to/jekyll_dir

License

MIT © jekyll-preview

Keywords

jekyll

FAQs

Package last updated on 21 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts