Skip to content
This repository was archived by the owner on Sep 7, 2025. It is now read-only.

Installation

Cédric Belin edited this page Aug 24, 2024 · 4 revisions

Requirements

Before installing Web Storage for Haxe, you need to make sure you have Haxe up and running. You can verify if you're already good to go with the following command:

haxe --version
# 4.3.6

Installing with a package manager

1. Install it

From a command prompt, run:

# haxelib
haxelib install webstorage

# lix
lix +lib webstorage

2. Import it

Add this line to your .hxml build file:

--library webstorage

Now in your Haxe code, you can use:

import webstorage.*;

Clone this wiki locally