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

eleme-api

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

eleme-api

api client for eleme open api

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-25%
Maintainers
1
Weekly downloads
 
Created
Source

meituan

api client for meituan waimai open platform

install

npm install meituan --save

usage

var Meituan = require('meituan');

let mt = new Meituan(your_app_id, your_app_secret);

const path = '/api/v1/order/confirm';
const params = {order_id: '123'};

mt.get(path, params)
    .then(body => console.log(body))
    .catch(err => console.log(err));
    

signature validate

mt.validateSign(yourUrl, params)    // return true or false

config

new Meituan(your_app_id, your_app_secret, [config]);

// or you can 

mt.config(config);
configuration
attributedescriptiondefault
debug是否线下测试false

test

npm run test

Keywords

FAQs

Package last updated on 31 May 2016

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