Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including sphido with all npm packages installed. Try it out:

var sphido = require("sphido")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

sphido v0.1.2

A rocket fast, lightweight, static site generator

A rocket 🚀 fast, lightweight, static site generator.


$ npm i sphido

Quick Start

const globby = require('globby');
const Sphido = require('sphido');

(async () => {

  // get list of pages...
  const pages = await Sphido.getPages(
        await globby('content/**/*.{md,html}'), 

  for await (const page of pages) {
    // save page to HTML (with default theme/page.html)
    // from content ===> public directory
        page.dir.replace('content', 'public')





RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free