Sign In

@linkedctl/core

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linkedctl/core

Core library for LinkedIn API integration

latest
Source
npmnpm
Version
0.5.1
Version published
Weekly downloads
23
-39.47%
Maintainers
1
Weekly downloads
 
Created
Source

@linkedctl/core

Core library for LinkedIn API integration -- OAuth 2.0, HTTP client, and service layer used by linkedctl.

Installation

npm install @linkedctl/core

Requires Node.js >= 24.

API Surface

HTTP Client

  • LinkedInClient -- authenticated HTTP client for the LinkedIn REST API

OAuth 2.0

  • buildAuthorizationUrl -- construct the OAuth 2.0 authorization URL
  • exchangeAuthorizationCode -- exchange an authorization code for tokens
  • refreshAccessToken -- refresh an expired access token
  • revokeAccessToken -- revoke an access token server-side
  • generateCodeVerifier / computeCodeChallenge -- PKCE helpers

Configuration

  • resolveConfig -- resolve a complete configuration from file + environment
  • loadConfigFile / validateConfig -- load and validate config files
  • saveOAuthTokens / saveOAuthClientCredentials / clearOAuthTokens -- persist credentials
  • applyEnvOverlay -- overlay environment variables onto config

Services

  • getUserInfo / getCurrentPersonUrn -- fetch authenticated user info
  • createTextPost -- create a text post on LinkedIn
  • getTokenExpiry -- introspect JWT token expiry

License

AGPL-3.0-only

Using @linkedctl/core as a library in your project: Your combined work must be licensed under AGPL-3.0 (or a compatible license).

See the main project for full documentation.

Keywords

linkedin

FAQs

Package last updated on 18 Mar 2026

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