Socket
Socket
Sign inDemoInstall

ririio-ssg

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ririio-ssg

The project allows for the conversion of .txt and .md files to a formatted HTML5


Version published
0
Maintainers
1
Install size
602 kB
Created
Weekly downloads
 

Readme

Source

About The Project

The project allows for the conversion of .txt and .md files to a formatted HTML5

Getting Started

  1. Open the consolde and install the package by typing npm install ririio-ssg
  2. Create a connection between the package and your current project folder by typing npm link ririio-ssg
  3. Create a file on your main directory called .env, this is used to store value of your output folder and current language
  4. Inside .env paste this line of code OUTPUT_DIRECTORY="dist" followed by HTML_LANGUAGE="en-CA" on the line beneath

Commands

Command NameCommand LineDescriptionCommand Structure
Input(--input, -I)This command will allow the user to be able to convert a .txt or .md file to that of an HTML5.my-ssg --input [fileName/directoryName]
Config(--config, -C)This command will allow the user to be able to pass a .json file with supported configuration keys such as input, output, and lang. The command will then be able to convert .txt or .md files specified in the input property to that of an HTML5. The output directory by default is dist, but if output key is defined in config file, the command will replace the default directory with the value of output keymy-ssg --config [fileName]
Output(--output, -O)This command will allow the user to change to create their own default folder for all the HTML5 that they convertmy-ssg --output [directoryName]
Help(--help, -H)This command will display the description of the program and all its available command and their respective descriptionsmy-ssg --help
Version(--version, -V)This command displays the current version of the programmy-ssg --version

Roadmap

  • Add Input Command
  • Add Output Command
  • Add Stylize Command
  • Allow for multi-level directory conversion
  • Generate an index.js which contains all links to the HTML files within a directory
  • Stylized each Generated HTML page
  • Add Language Command

Contact


Contributor(s): Mario Leonardo - mrleonardo@myseneca.ca

FAQs

Last updated on 23 Nov 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc