Home Manual Reference Source Test Repository
Manual » Installation

NPM

Installation with npm is simple. Invoke the following command from the root of your project to install and save Stardux as a dependency.

$ npm install stardux --save

Duo

Installation with duo can be achieved in two ways. With a manifest file (component.json) or directly in your require() or import statements.

Manifest (component.json)

Add the following to your .dependencies object in your manifest file.

{
  ...
  "dependencies": {
    "littlstar/stardux": "*"
  }
}

Inline (require/import)

Add the following to your require or import statements.

const stardux = require('littlstar/stardux')
import stardux from 'littlstar/stardux'

Distribution Build

You can grab a copy of the distribution build found in the dist/ directory.

From Source

You can build stardux yourself by following these steps:

  • $ git clone https://github.com/littlstar/stardux.git
  • $ cd stardux
  • $ make

You can build a distribution version by invoking:

$ make dist

You can then find a built version in the build/ directory in your path.