p5-setup

make it easy to setup & open p5.js projects

View on GitHub

p5-setup


Author: wisemonkey

Date: 20180103

Purpose: make it easy to setup & run p5.js projects

P5js automates Opening up a default example code and a chrome tab

Install

First install the cli as global with sudo permissions(or just administrator windows)

npm install -g p5-setup 

For use on Ubuntu or (gnu/linux)

sudo install -g p5-setup 

npm install -g p5-setup installed correctly

Usage

Install p5-setup:

>p5js <NAMEOFPROJECT> 
or  
>p5js 
prompt: name: <NAMEOFPROJECT> 

![p5js ](https://i.imgur.com/b05grQK.png)

Example

> cd ~/ 
>p5js awesomeProject 

P5js