New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@titanmatrix/macafe

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@titanmatrix/macafe

- 支持前后端 - 统一状态接口 - 内部通过私有模块加载

unpublished
latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

macafe 重构版

  • 支持前后端
  • 统一状态接口
  • 内部通过私有模块加载

示例

import macafe from 'macafe'
async function init() {
  // 1. 注册macafe
  const conf = await macafe.register({
    appid: 'aa',
    keyid: '201010',
    keyno: '6661afawdw',
  })
  // 2. 获取界面数据
  const product = await macafe.getState({
    sid: 660,
    pkey: '1111',
    cpkey: '1212',
    viewid: 1111212,
    action: {
      type: 'SELECT_PROP',
      payload: {
        pid: 11,
        id: 111
      }
    }
  })
  // 3. 获取规格参数
  const params = await macafe.getParams({
  })
  // 4. 获取样本
  const samples = await macafe.getSamples({
    sid: 660
  })
}

FAQs

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