p5-new-sketch v1.0.2
p5-new-sketch
p5-new-sketch is just a small tool that makes for you a p5.js project and install the files that you need loacaly and also stores them in your divece to get them if you need them and you dont have an internet connection
installation
npm
npm i -g p5-new-sketch
usage
p5-new-sketch [<project name>]
or
p5 [<project name>]
example
p5 test
that will create a dir called test and look like this
test
└───── index.js
└───── index.html
└───── libs
└──── p5.sound.min.js
└──── p5.dom.min.js
└──── p5.min.js
or you can use the write p5 and if you pass in a name it will ask you for it
LICENCE
MIT License
Copyright (c) 2019 AliBasicCoder
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.