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

@nuskin/ns-common-lib

Package Overview
Dependencies
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuskin/ns-common-lib

This project contains shared common models and code between the backend and frontend.

  • 1.2.2
  • npm
  • Socket score

Version published
Weekly downloads
291
decreased by-73.92%
Maintainers
5
Weekly downloads
 
Created
Source

@nuskin/ns-common-lib

This project contains shared common models and logic between the backend and frontend.

Installing

Usng npm:

npm add @nuskin/ns-common-lib

Usng yarn:

yarn add @nuskin/ns-common-lib

Example usage with CommonJS (typically used with AWS Lambdas)

const { isString } = require('@nuskin/ns-common-lib');

const value = "";
if (isString(value)) {
    // Do something
}

Example usage with ES6 (typically used with Vue/frontend)

import { isString } from '@nuskin/ns-common-lib';

const value = "";
if (isString(value)) {
    // Do something
}

Resources

  • https://code.tls.nuskin.io/ns-am/platform/ns-common-lib

License

MIT

FAQs

Package last updated on 16 Apr 2021

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