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

plexiform

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plexiform

A very simple template-driven generator.

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

Plexiform

v1.0.0

In this document
Introduction
Not a module
Getting started
Contribute
Version history

Introduction

Plexiform is a rudimentary code generator.

It doesn't know any language, nor does it know how to reverse-engineer anything. It's really just a simple formalisation of JavaScript template literals, to expose a basic templating system.

But that's still incredibly useful, as it takes the effort and risk out of any repetitious task.

Perfect the code elsewhere, then use this to churn out more code than you could bear to hand-crank!

Not a module

Please note that this is not actually a usable Node module. It is a Node script for running in the shell.

I have published it to npm to make it easier to find.

I apologise if this is 'not the done thing' - please forgive a first-timer :)

Getting started

  • Clone the repo
  • Define a JSON config file to represent whatever it is you are building. No special format required - but your templates will be entirely driven from this.
  • Turn your perfect code files into templates.
  • Write a build script which applies your templates to your config - e.g. iterates over a collection and saves the output.
  • Clear any existing output files clear (Win), ./clear (Mac)
  • Execute the build build _boilerplate (Win), ./build _boilerplate (Mac)

See the included boilerplate example to get you started

Contribute

  • Please use this, and improve it.
  • Contact me r@ith.email.
  • Write a tutorial.
  • Visit the website (not yet built) for latest information.

Version history

DateVersionAuthorDetails
2017-08-03v0.0.0RaithInitiated
2017-08-04v0.0.1RaithNamed and stabilised
2017-08-24v0.1.1RaithUpdates
2017-08-28v1.0.0RaithPublished to npm

FAQs

Package last updated on 28 Aug 2017

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