Skip to content

Installation

Requirements

Before installing Web Storage for Angular, you need to make sure you have Node.js and npm, the Node.js package manager, up and running.

You can verify if you're already good to go with the following commands:

node --version
# v14.4.0

npm --version
# 6.14.5

Info

If you plan to play with the package sources, you will also need PowerShell and Material for MkDocs.

Installing with npm package manager

1. Install it

From a command prompt, run:

npm install @cedx/ngx-webstorage

2. Import it

Now in your TypeScript code, you can use:

import {LocalStorage, SessionStorage} from "@cedx/ngx-webstorage";