Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ge

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ge

Generate code, config files, or anything you want!

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ge - The Code Generator

Generate code, config files, or anything you want!

NPM
NPM version [Travis](https://travis-ci .org/ricardo-rossi/ge)

Overview

The goal of this project is to provide an easy to use mechanism for generating common boilerplate code, regardless of which programming language or functionality it provides. This project should also provide an easy way for developers to to plug in new code templates and tasks for generating just about any kind of code.

Prerequisites

Install the dependencies for this project:

  • Node.js — http://nodejs.org/
  • npm — https://www.npmjs.org/
  • Bower — npm install -g bower
  • Gulp — npm install -g gulp

If you are having issues please see How to install Node.js and npm

Getting Started

Install ge using the -g (global) flag

npm install -g ge

Usage

ge -t relative/path/to/template

Generated files will be placed under ./build relative to your current dir.

Examples

Please see some template examples in the /samples directory

Running The Examples

Copy the /samples folder to your current directory and run any of the examples like this:

ge -t samples/1_hello
ge -t samples/2_filename
ge -t samples/3_filename_var
ge -t samples/4_helper
ge -t samples/5_iterator
ge -t samples/6_conditional

The generated files will be placed under the ./build directory (relative to your current dir)

Attributions

Static generation by Metalsmith

License

Created by: Ricardo Rossi

Licensed under the MIT license

Keywords

FAQs

Package last updated on 30 Dec 2014

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc