jun-ssg

1.0.1 • Public • Published

header

JUN-SSG

The SSG for text file!

Open Source Project 1.0.1

jun-ssg is a simple html generator. You can extract your file contents and put them as HTML content. The input file can be MarkDown or text file.

Usage


Before start to use(by npm)

Type the below code on your code editor terminal to download and install.

npm i jun-ssg

Before start to use(by GitHub)

After downloaded files delete the package-lock.json run


npm install

at terminal

You can dowload and run the repository files


node src/app.js

or can run by npm


npm i -g https://github.com/juuuuuuun/jun-ssg.git

Example statements


Options:
  -i, --input       Input a file or a directory              [string] [required]
  -o, --output      Specify the output directory                        [string]
  -s, --stylesheet  Import css URL                                      [string]
  -v, --version     Show version number                                [boolean]
  -h, --help        Show usage information                             [boolean]
Examples:
  After install my package, jun-ssg -i 'Silver Blaze.txt'

Expectation output

When you are done all steps and running this API the output will be like this


<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Title</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
  <h1>Title</h1>
  <p>This is Paragraph 1</p>
  <p>This is Paragraph 2</p>
</body>
</html>

License


MIT

footer

Readme

Keywords

Package Sidebar

Install

npm i jun-ssg

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

648 kB

Total Files

32

Last publish

Collaborators

  • jsong89