Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@curong/os

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@curong/os

  • 0.3.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

@curong/os

@curong/os 主要包含以下的方法:

  • appendCmd: 获取执行的命令名称(名字 + 后缀),进行命令的跨平台兼容处理
  • findWindowsTask: 查找正在运行的 Windows 系统平台上的映像进程
  • killWindowsTask: 结束一个正在运行的 Windows 系统平台上的映像进程
  • windowsLocal: 获取 Windows 系统的区域语言设置
  • windowsTaskList: 获取 Windows 平台上正在运行的映像进程列表

@curong/os 主要包含以下的属性:

  • isWindows: 是不是 Windows 系统平台
  • isMacOS: 是不是 macOS 系统平台
  • isLinux: 是不是 Linux 系统平台
  • isWSL: 是不是 Windows 系统平台上的 Linux 子系统

FAQs

Package last updated on 30 Sep 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc