Installation

Lucia is intentionally made to support multiple forms of installation, giving the developer the freedom to use Lucia in their build processes.

There are two supported ways to install Lucia:

  1. Import package via CDN
  2. Install via npm

Version

Latest version: NPM Version

Expanded releases and commits are available on the GitHub.

CDN

Lucia is currently is installable through a CDN and also supports UMD (Node, Browser, Isomorphic/Universal). Put this within your <head> tags in HTML.

<script src="https://unpkg.com/lucia"></script>

Generally if you're going to be using Lucia long term you should specify a specific version number as to not inherit breaking changes unknowingly.

npm

Another option is installing via if you are using a module bundler such as Webpack, Rollup, or Parcel. It's currently the recommended installation method when building large scale applications.

npm install lucia