Getting Started
Installation
Can be installed from using NPM or Yarn.
bash
npm install --save-dev phrasey
yarn add --dev phraseynpm install --save-dev phrasey
yarn add --dev phraseyAdditionally, install the required formats for your project. Common formats including JSON, YAML, TOML, XML can be installed using below commands.
bash
npm install --save-dev @zyrouge/phrasey-json
npm install --save-dev @zyrouge/phrasey-yaml
npm install --save-dev @zyrouge/phrasey-toml
npm install --save-dev @zyrouge/phrasey-xml
# or preferably using yarnnpm install --save-dev @zyrouge/phrasey-json
npm install --save-dev @zyrouge/phrasey-yaml
npm install --save-dev @zyrouge/phrasey-toml
npm install --save-dev @zyrouge/phrasey-xml
# or preferably using yarnAlso, read about translation string formats.
Setting up a project
Use the init command to create and initialize a new project.
bash
npx phrasey initnpx phrasey initThis prompts a set of question which are used to create the configuration and schema file.