Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@toruslabs/base-session-manager

Package Overview
Dependencies
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toruslabs/base-session-manager

[![npm version](https://badge.fury.io/js/%40toruslabs%2Fbase-session-manager.svg)](https://badge.fury.io/js/%40toruslabs%2Fbase-session-manager) ![npm](https://img.shields.io/npm/dw/@toruslabs/base-session-manager)

  • 3.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.6K
decreased by-6.82%
Maintainers
5
Weekly downloads
 
Created
Source

base-session-manager

npm version npm

Introduction

This utility library serves defines the interfaces required for session manager implementations. It also provides a base class that can be extended to implement a session manager.

Features

  • Typescript compatible. Includes Type definitions
  • All API's return Promises

Installation

Bundling

This module is distributed in 3 formats

  • esm build dist/baseSessionManager.esm.js in es6 format
  • commonjs build dist/baseSessionManager.cjs.js in es5 format
  • umd build dist/baseSessionManager.umd.min.js in es5 format without polyfilling corejs minified

By default, the appropriate format is used for your specified usecase You can use a different format (if you know what you're doing eg. node) by referencing the correct file

The cjs build is not polyfilled with core-js. It is upto the user to polyfill based on the browserlist they target

Directly in Browser

CDN's serve the non-core-js polyfilled version by default. You can use a different

jsdeliver

<script src="https://cdn.jsdelivr.net/npm/@toruslabs/base-session-manager"></script>

unpkg

<script src="https://unpkg.com/@toruslabs/base-session-manager"></script>

Usage

Add @toruslabs/base-session-manager to your project:

Requirements

  • This package requires a peer dependency of @babel/runtime
  • Node 18+

FAQs

Package last updated on 12 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc