Socket
Book a DemoInstallSign in
Socket

@meniga/core

Package Overview
Dependencies
Maintainers
1
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meniga/core

The core meniga request package

latest
npmnpm
Version
6.3.1
Version published
Maintainers
1
Created
Source

@meniga/core

Core is a library for handling requests and error handling:

Exports for core work

coreConstants

A set of constants used in the core library

Exports for API requests

Request

A wrapper for Axios.get, Axios.put, Axios.delete and Axios.post

clearAllRequestTimers

Each request has a timer that triggers an event called slowApi if a request takes more than X seconds (configurable). You can call clearAllRequestTimers to force clear all the timers.

auth

Helper utility to save/remove auth token from storage

idle

Helper utilities to track idle time from the user and to show a logout warning if the user has been idle for a set time

Exports for error handling

trackSentryError, setSentryUser, clearSentryUser, sendSentryMessage

Helpers to log errors to sentry.io

ErrorBoundary

A react component that traps errors in the app and logs them in sentry.io

FAQs

Package last updated on 16 Jun 2025

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