Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@icreate/ics-chromely-plugin-core
Advanced tools
提供Ics Chromely Client核心本地操作插件js sdk,包含本地日志、主窗体控制、打开三方浏览器、打印机列表、硬件IP和Mac地址、本地配置获取和注册表读写等
npm i @icreate/ics-chromely-plugin-core
0.0.17 修改导出对象为默认导出
0.0.17 修改Chromely为单例模式
0.0.16 WindowHelper增加关闭和重绘闪屏README描述
0.0.15 WindowHelper增加关闭和重绘闪屏
0.0.14 ConfigHelper增加获取调试信息
0.0.13 HardwareHelper增加设置本地日期
0.0.12 修改注册表调用方法提供注册键设置
0.0.11 HardwareHelper增加获取操作系统版本、关闭操作系统和重启操作系统
0.0.10 HardwareHelper增加获取操作系统描述GetOSDesc()
You can import the generated bundle to use the whole library generated by this starter:
import { LocalLogger, BrowserHelper, WindowHelper, Chromely, ConfigHelper } from '@icreate/ics-chromely-plugin-core'
// 日志级别
level: LogLevels
// 输出调试日志
debug(logObject: any): Promise<String>
// 输出普通日志
info(logObject: any): Promise<String>
// 输出警告日志
warn(logObject: any): Promise<String>
// 输出错误日志
error(logObject: any): Promise<String>
// 输出致命错误日志
fatal(logObject: any): Promise<String>
// 打开Google浏览器
OpenChrome(url:string):void
// 打开IE浏览器
OpenIE(url:string):void
// 打开FireFox浏览器
OpenFireFox(url:string):void
// 打开默认浏览器
OpenDefault(url:string):void
// 主窗体最小化
Minimize(): void
// 主窗体最大化
Maximize(): void
// 主窗体还原
Restore(): void
// 主窗体关闭
Close(): void
// 重启程序
Restart(): void
// 主窗体状态
State(): Promise<String>
// 关闭闪屏
CloseSplash(): void
// 重绘闪屏
RedrawSplash(message: string): void
// 是否处于非浏览器环境
isChromely: boolean
// 订阅C#事件
$on(eventName: string, callback: Function): void
// 取消订阅C#事件
$off(eventName: string, callback: Function): void
// 触发C#事件
$emit(eventName: string): void
// 获取本机Mac地址
getMacAddress(): Promise<array>
// 获取本机Ip地址
getIpAddress(): Promise<array>
// 获取本机主机名
getHostName(): Promise<string>
// 获取操作系统描述
GetOSDesc(): Promise<string>
// 获取操作系统版本
GetOsVersion(): Promise<string>
// 重启操作系统
RestartOS(): void
// 关闭操作系统
CloseOS(): void
/**
* 设置本地日期时间
* @param date 日期字符串
* 支持:
* yyyy-MM-dd HH:mm:ss
* yyyy.MM.dd HH:mm:ss
* yyyy/MM/dd HH:mm:ss
* @returns
*/
SetLocalTime(): Promise<string>
// 获取本地打印机列表
getPrinterList(): Promise<array>
// 获取本地打印机列表
getPrinterDefault(): Promise<string>
// 判断指定打印机名称是否存在
isPrinterExists(printerName: string): Promise<bool>
// 获取指定的注册表键对应的值
getRegeditValue(name: string): Promise<string>
// 设置注册表键值
setRegeditValue(name: string, value: string): Promise<string>
// 获取指定的配置键对应的值 多级可以使用:key1:key2:key3...
Get(key: string): Promise<string>
// 获取appsetting.json中的BaseUrl值
GetBaseUrl(): Promise<string>
// 获取调试信息
GetDebug(): Promise<string>
FAQs
提供Ics Chromely Client核心本地操作插件js sdk,包含本地日志、主窗体控制、打开三方浏览器、打印机列表、硬件IP和Mac地址、本地配置获取和注册表读写等
The npm package @icreate/ics-chromely-plugin-core receives a total of 6 weekly downloads. As such, @icreate/ics-chromely-plugin-core popularity was classified as not popular.
We found that @icreate/ics-chromely-plugin-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.