xixth
v0.12.5
Published
package starter installation helper
Maintainers
Readme
xixthjs
- are a helper for:
- starter project repository through npm;
- bin script registration(to
package.json);
note
- the example are made using
npmandnpx, you can also use other packge manager, however you need to stick with single package manager due to binary installation are mainly binded to packager manger you use to install the package;- impliying you can also uses
bunandbunxand other equivalent;
- impliying you can also uses
installation
- on terminal
npm i xixthregister binary script to your package
- on terminal:
npx xixth-add-bin -n your-script-name -f script-file-name-with-ext.mjsboth
-nand-fflags and its value are mandatory;best practice of naming
your-script-nameis to add yourpackage-nameto avoid global script name collision;edit your newly created
script file;- use xixth documentation;
uses
you can run this binary whether its:
- installed through
npm; - symlinked using
linkpackage managerapi;
- installed through
which then you can calls it using:
npx your-script-name