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

ml-api

Package Overview
Dependencies
Maintainers
1
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-api

Mloyalty api client

latest
npmnpm
Version
1.8.50
Version published
Weekly downloads
185
198.39%
Maintainers
1
Weekly downloads
 
Created
Source

Overview

Mloyalty API library

Installation

npm install ml-api

Usage

import { MloyaltyClient } from "ml-api";

const mloyalty = new MloyaltyClient({
  baseUrl: process.env.API_URL
});

await mloyalty.init({
  login: process.env.LOGIN,
  password: process.env.PASSWORD
})

const client = await mloyalty.client.getInfo({
  client: // client id,
});

console.log(client)

FAQs

Package last updated on 21 Feb 2024

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