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

ali-acm

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ali-acm

Aliyun ACM sdk for Node.js.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ali-acm

Aliyun ACM sdk for Node.js, extend from @alicloud/acm-sdk.

Install

$ npm i ali-acm --save

Usage

const AcmClient = require('ali-acm')

const acmClient = new AcmClient({
  endpoint: 'acm.aliyun.com',
  namespace: '56d00178-1d0b-488a-9bc6-1432c626ae42',
  accessKey: 'xxx',
  secretKey: 'xxx',
  requestTimeout: 6000,
  // json: false // default `true`
})

// 去acm控制台创建一条测试配置:
// group: myGroup
// dataId: myDataId
// {
//   "obj1": {
//     "obj2": {
//       "key": 0
//     }
//   }
// }

// 去acm控制台修改这个myGroup+myDataId的配置,如修改obj1.obj2.key=1
setInterval(() => {
  console.log(acmClient.get('myGroup.myDataId.obj1.obj2.key'))
}, 1000)

Test

$ DEBUG=ali-acm node test

More

see @alicloud/acm-sdk.

Keywords

FAQs

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