sceg
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i sceg

Weekly Downloads

3

Version

0.9.0

License

MIT

Last publish

Collaborators

  • yusukehirao