Socket
Book a DemoInstallSign in
Socket

fullname-native

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fullname-native

Get the fullname of the current user

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

fullname-native

Get the fullname of the current user

Install

npm install fullname-native

This is a native binding and expects you to have the required toolchain. (ignore the node-gyp install)

Tested to work on macOS, Linux and Windows.

Usage

import fullname from 'fullname-native';

console.log(fullname);
//=> 'Sindre Sorhus'

Returns undefined if the fullname cannot be found.

  • fullname-cli - CLI for this package
  • fullname - Non-native version of this package
  • username - Get the username of the current user

Keywords

binding

FAQs

Package last updated on 30 Apr 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