Socket
Socket
Sign inDemoInstall

mkm-service-user

Package Overview
Dependencies
21
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mkm-service-user

Wrapper for user API's


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Introduction

Service to support users

Getting Started

Install via npm

npm install mkm-service-user

Build and Test

Run build

npm run build

Run tests

npm test

Usage

Example usage:

import { UserService } from 'mkm-service-user';

const userServiceConfig = {
    apiUrl: 'http://myusers.mkmapps.local/api/',
    authToken: 'dHSD6bsdds....',
    roleToken: '45HS5645bd....'
};

const userService = new UserService(userServiceConfig);

Methods

  • getMyProfile()
  • getUserProfile(id)

FAQs

Last updated on 21 Apr 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc