0.0.1 • Published 2 years ago

@sakai-ui/sakai-portal-utils v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

sakai-portal-utils

A set of utility functions for accessing Sakai's portal js object

Installation

npm i @sakai-ui/sakai-portal-utils

Usage

import { getUserId } from "@sakai-ui/sakai-portal-utils";

const userId = getUserId();

Linting and formatting

To scan the project for linting and formatting errors, run

npm run lint

To automatically fix linting and formatting errors, run

npm run format

Testing with Web Test Runner

To execute a single test run:

npm run test

To run the tests in interactive watch mode run:

npm run test:watch