Skip to content

Helper scripts. Including: README file generator, px to rem conversion, HTML boilerplate, lorem ipsum

Notifications You must be signed in to change notification settings

dejmedus/common-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Common Helpers 🐜

Helper scripts to get tasks done quicker

Available Files

Generate HTML Boilerplate --boilerplate | -b

  • Creates index.html, index.js, and styles.css files + an assets directory.

Convert px to rem --convert | -c

  • Provide a number in pixels to be converted to rem. If no number is provided, shows a px to rem conversion chart.

Get lorem ipsum text --lorem | -l

  • Lorem ipsum paragraphs.

Generate README.md --readme | -r

  • Creates a markdown file with links to major dependencies, basic local setup steps, and contributing info.
View Example generated-readme-example

Setup

  1. Clone the repo
git clone https://github.com/dejmedus/common-helpers.git

⚠️ The following assumes a MacOS/Linux system. Commands will differ slightly for Windows.

  1. Open .zshrc/.bashrc file
open ~/.zshrc
or
open ~/.bashrc
  1. Create common alias
alias common="node /path/to/common/common.js"
  1. Save changes
source ~/.zshrc
or
source ~/.bashrc
  1. Call common
common --boilerplate
common --convert 64
common --help
common --lorem 2
common --readme "Project Name"

About

Helper scripts. Including: README file generator, px to rem conversion, HTML boilerplate, lorem ipsum

Topics

Resources

Stars

Watchers

Forks