jansmolders86 / mediacenterjs

A HTML/CSS/Javascript (NodeJS) based Media center
http://mediacenterjs.com
1.29k stars 243 forks source link

NPX should be used on: WIKI: "Developer manual: Start building an app using the app generator" #246

Closed BananaAcid closed 5 years ago

BananaAcid commented 5 years ago

The whole line about installing the generator globally should be changed to: $ npx mediacenterjs-plugin-generator .. for OSX/Linux, as well as for windows

and btw: mediacenterjs-plugin-init would probably be more appropriate ...

jansmolders86 commented 5 years ago

added the npx line , thanks!

BananaAcid commented 5 years ago

npx downloads and executes the package, then removes it again. No need for installation.

The place you added it to the docs should be a few lines further down, right above the code block or as first paragraph in installation, stating that this command makes it useable without any installation.

Comprehensive guide: https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b