sceg

v0.9.0
Styled content elements guide

sceg

NPM version

Styled content elements guide.

Sample

Element Guide (bootstrap sample)

Usage

$ npm install -D sceg
import * as sceg from 'sceg';

sceg.load().then((html) => {
  sceg.output(html, './sample/index.html');
});

sceg.load({
  layout: './default/layout/index.pug',
}).then((html) => {
  sceg.output(html, './sample/index-from-pug.html');
});

sceg.get().then((data) => {
  const json = JSON.stringify(data, null, 2);
  sceg.output(json, './sample/index.json');
});

Plugins


©YusukeHirao(@cloud10designs), MIT license.

npm i sceg

Metadata

  • MIT
  • Whatever
  • Yusuke Hirao
  • released 6/6/2017

Downloads

Maintainers