New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@logto/browser

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logto/browser

[![Version](https://img.shields.io/npm/v/@logto/browser)](https://www.npmjs.com/package/@logto/browser) [![Build Status](https://github.com/logto-io/js/actions/workflows/main.yml/badge.svg)](https://github.com/logto-io/js/actions/workflows/main.yml) [![Co

  • 2.2.18
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.1K
increased by81.17%
Maintainers
0
Weekly downloads
 
Created
Source

Logto JS Browser SDK

Version Build Status Codecov

The Logto JavaScript Browser SDK written in TypeScript.

Check out our docs for more information.

Installation

Using npm

npm install @logto/browser

Using yarn

yarn add @logto/browser

Using pnpm

pnpm add @logto/browser

What is this and how does it work?

As the name suggests, Logto browser SDK is the foundation of all Logto SDKs that run in a browser environment (Vanilla, React, Vue, etc.). @logto/browser extends @logto/client and provides a browser specific implementation of the client adapters:

  • Implements Storage by using browser localStorage and sessionStorage.
  • Implements navigate method by using window.location.href.

Usually you are not expected to use it directly in your application, but instead choosing a framework specific SDK that built on top of it. We have already released a set of official SDKs to accelerate your integration. Check this out and get started!

If Logto does not support your front-end framework and you want to create your own SDK from scratch, we recommend checking out the SDK convention first. You can also refer to our React SDK and Vue SDK to learn more about the implementation details.

Resources

Website Docs Discord

FAQs

Package last updated on 18 Sep 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