Prerequisites
Aesthetic is written in Typescript and compiled to JavaScript. As such, all tooling requires at minimum NodeJS v10.10 to run correctly.
We highly suggest installing and managing NodeJS with nvm.
#
Command lineAesthetic provides an interactive command line program through the @aesthetic/cli
package. In
furthur documentation, we'll use the aesthetic
binary within examples, which should be substituted
with 1 of the following patterns.
#
Global installInstall the package globally to make the aesthetic
binary available everywhere.
- Yarn
- NPM
Then run the binary as-is.
#
Local installInstall the package locally to the project to make the aesthetic
binary available within scripts.
- Yarn
- NPM
Update package.json
to define the script.
Then run the script with NPM or Yarn.
- Yarn
- NPM
#
NPXExecute a one-off command using NPX, which is installed alongside Node.js and NPM.