p5-setup
Author: wisemonkey
Date: 20180103
Purpose: make it easy to setup & run p5.js projects
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
Usage
Install p5-setup
:
>p5js <NAMEOFPROJECT>
or
>p5js
prompt: name: <NAMEOFPROJECT>
![p5js
Example
> cd ~/
>p5js awesomeProject