Socket
Socket
Sign inDemoInstall

@nuskin/ns-common-lib

Package Overview
Dependencies
0
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

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
2.4K
decreased by-4.36%
Maintainers
5
Install size
14.4 kB
Created
Weekly downloads
 

Readme

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

Last updated on 18 May 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc