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

aliyun-sls-client

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

aliyun-sls-client

> A modern impementation

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Aliyun SLS Client

A modern impementation

Install

$ npm install aliyun-sls-client

Or with yarn,

$ yarn add aliyun-sls-client

Usage

import { ClientBuilder } from 'aliyun-sls-client'

const c = new ClientBuilder().setProject("project")
    .setAccessKey("ak_id", "ak_secret")
    // https will be used for internet access while http will be used for intranet access
    .setEndpoint("cn-hangzhou.log.aliyuncs.com")
    .build()

c.getLog("logStore", "*").then((resp) => console.log(resp.data));

Please check https://help.aliyun.com/document_detail/29008.html for complete endpoint lists.

Implemented APIs

  • GetLogs
  • GetHistograms

License

MIT

Keywords

FAQs

Package last updated on 31 Aug 2021

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