npm.io
5.0.0 • Published 2 years ago

onedionys-static-site-generator

Licence
ISC
Version
5.0.0
Deps
132
Size
11 kB
Vulns
0
Weekly
0
Stars
2

Welcome to One Dionys - Static Site Generator!

A utility for generating static websites from dynamic content or data resources, facilitating management and fast page loading.

Requirements

  • Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
  • Internet - Because many use CDN and to make it easier to find solutions to all problems.

How To Use

Example Syntax
const { generateSite } = require('static-site-generator');

generateSite('src/content', 'dist');
Explanation
  • The generateSite function takes two arguments: the directory containing your content markdown files (contentDir) and the directory where you want to output the generated HTML files (outputDir).
Return Value
  • The generateSite function does not return any value. It generates HTML files based on the markdown content found in the contentDir directory and saves them in the outputDir directory.

Release Date

  • v1.0.0 : 17 March 2024
  • v1.0.1 : 18 March 2024
  • v1.0.2 : 31 March 2024
  • v5.0.0 : 31 March 2024

Author

License

  • Copyright 2024 One Dionys
  • One Dionys - Static Site Generator is an open source project licensed under the MIT license

Suppport & Donation

Love One Dionys - Static Site Generator? Support this project by donating or sharing with others in need.

Made with One Dionys

Keywords