New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@qn-pandora/node-sdk

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qn-pandora/node-sdk

pandora node sdk

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
Maintainers
4
Weekly downloads
 
Created
Source

node-sdk

Pandora 2.0 应用平台使用 Node 开发自定义 API、自定义算子相关功能的 SDK,主要对应用平台通信协议、KV 存储及一些基本工具的使用进行封装。

Usage

使用默认配置的logger

const pandoraNodeSdk = require('@qn-pandora/node-sdk');
const logger = pandoraNodeSdk.logger

logger.log({
    level: 'info',
    message: 'info log'
})

修改logger默认配置

const pandoraNodeSdk = require('@qn-pandora/node-sdk');
const configLogging = pandoraNodeSdk.configLogging

const logger = configLogging('error', 'phoenix_app_error.log')
logger.log({
    level: 'error',
    message: 'error log'
})

Keywords

FAQs

Package last updated on 08 Aug 2024

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