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

hupun-open-api-nodejs-sdk

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hupun-open-api-nodejs-sdk

对接万里牛ERP开放接口的NodeJS SDK

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hupun-open-api-nodejs-sdk

对接万里牛 ERP 开放接口的 NodeJS SDK。

安装

npm i hupun-open-api-nodejs-sdk --save

使用

import { HupunClient } from "hupun-open-api-nodejs-sdk";

const client = new HupunClient({
  appkey: "xxxxx",
  appsecret: "xxxxxx",
});

client
  .request("erp/base/storage/query", {
    page_no: 1,
    page_size: 1,
  })
  .then((res) => {
    console.log(res.data);
  })
  .catch((e) => {
    if (e.response) {
      console.error(e.response.data);
    } else {
      console.error(e.message);
    }
  });

FAQs

Package last updated on 12 Jan 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