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

@nuskin/ns-util

Package Overview
Dependencies
Maintainers
5
Versions
1732
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuskin/ns-util

  • 3.104.0-cx24-1780.1.2
  • npm
  • Socket score

Version published
Weekly downloads
300
decreased by-88.24%
Maintainers
5
Weekly downloads
 
Created
Source

ns-util

Kindly add a basic usage here after you've created a utility.

Equinox Local Storage Usage

Equinox Local Storage utilities. It is used in the following projects:

  • my-site-home
  • Add your project if you're using this
import { equinoxLocalStorage } from '@nuskin/ns-util';

// Get the list of enabled markets.
// Returns an array of strings if found.
// Otherwise, it will return an empty array.
const markets = equinoxLocalStorage.getEnabledMarkets();
// output: ['US', 'CA'] | []

// Check if the argument is in the list of enabled markets.
// Returns a boolean.
const isEnabled = equinoxLocalStorage.isMarketEnabled('US');
// output: true | false

// Save the value in local storage.
equinoxLocalStorage.setEnabledMarkets(['US', 'CA']);
// output: void

FAQs

Package last updated on 01 Aug 2022

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