Skip to content

Getting Started

Installation

You can get Twig.js by any of the following methods:

Git:

  1. Clone the repository

git clone git://github.com/justjohn/twig.js.git

  1. Download an archive of the latest as a zip or tgz

The files twig.js and twig.min.js may not be up-to-date (they will be rebuilt when releasing a new version). Run make (or make -B to force building) to create these files.

NPM:

bash
npm install twig --save-dev

Yarn:

bash
yarn add twig --dev

Docs released under the MIT License.