Socket
Socket
Sign inDemoInstall

userdir

Package Overview
Dependencies
3
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    userdir

A simple utility to get the cross-platform user home directory


Version published
Weekly downloads
5
increased by400%
Maintainers
1
Install size
2.26 MB
Created
Weekly downloads
 

Changelog

Source

2023.02.27 v1.0.0

  1. create project
  2. README.md

Readme

Source

userdir

A simple utility to get the cross-platform user home directory

NPM version Codacy Badge Test coverage npm download License

Sonar

For API documentation, see: API Docs

Installing

# use pnpm
$ pnpm install userdir

# use npm
$ npm install userdir --save

# use yarn
$ yarn add userdir

Usage

import userdir from 'userdir'

userdir() // /Users/saqqdy

Support & Issues

Please open an issue here.

License

MIT

Keywords

FAQs

Last updated on 27 Feb 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