Socket
Book a DemoInstallSign in
Socket

github-user-status

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-user-status

[WIP] GitHub User Status CLI A CLI for setting your GitHub user status <

latest
npmnpm
Version
0.1.2
Version published
Weekly downloads
9
125%
Maintainers
1
Weekly downloads
 
Created
Source

[WIP] GitHub User Status CLI

A CLI for setting your GitHub user status

NPM Build Status Codecov

Usage

You'll need to set a GitHub personal access token, with the user scope if you want to change your own status.

Get your own status

$ npx github-user-status

Get the status of a user

$ npx github-user-status -u <user>

Change your status

$ npx github-user-status -m <message> -e [emoji]

Programmatic Usage

const { getUserStatus, changeUserStatus } = require('github-user-status')

// Get your own status
getUserStatus(token)

// Get a user's status
getUserStatus(token, 'JasonEtco')

// Set your status
changeUserStatus(
  {
    message, // string, required
    emoji, // string
    expiresAt, // string
    limitedAvailability, // boolean
  },
  token
)

FAQs

Package last updated on 04 Aug 2019

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