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

@schibsted/niche-utils

Package Overview
Dependencies
Maintainers
7
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schibsted/niche-utils

This package contains utilities used in multiple projects and packages used by Niche team. **Use at your own risk.**

  • 0.1.0
  • npm
  • Socket score

Version published
Weekly downloads
931
decreased by-67.93%
Maintainers
7
Weekly downloads
 
Created
Source

niche-utils

This package contains utilities used in multiple projects and packages used by Niche team. Use at your own risk.

Exported methods

getEventTarget

Safely returns new EventTarget instance. If EventTarget is not supported, returns document.createElement('a') which should work the same way.

getFromLocalStorage, saveToLocalStorage, removeFromLocalStorage

Local storage methods to safely get, save and remove data from local storage. If local storage is not supported, get returns undefined and other methods do nothing.

FAQs

Package last updated on 06 Jul 2023

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