Socket
Socket
Sign inDemoInstall

@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.


Version published
Weekly downloads
941
decreased by-21.39%
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 22 Oct 2020

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