Need private packages and team management tools?Check out npm Teams »

@eyedea-sockets/user-profile

0.2.4 • Public • Published

Syncano Socket for User Profile

Syncano Socket CircleCI branch Codecov branch JavaScript Style Guide npm license

Main Socket features:

  • user-profile/find — search for a user by ID
  • user-profile/my — get your own user data
  • user-profile/update — update your user data
  • user-profile/remove-image — remove avatar image
  • user-profile/update-image — update avatar image

Getting Started

Install package in your project:

cd my_project
npm install @syncano/cli --save-dev
npm install @eyedea-sockets/user-profile --save
npx s deploy

Use it:

import Syncano from @syncano/client
 
const s = new Syncano(<instaneName>)
 
// Search for a user
const params = {
  id: 12345
}
const invitationStatus = await s.get('user-profile/find', params)

Keywords

none

Install

npm i @eyedea-sockets/user-profile

DownloadsWeekly Downloads

1

Version

0.2.4

License

MIT

Unpacked Size

727 kB

Total Files

24

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar