Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@sumor/utils
Advanced tools
轻呈云Node.JS工具库
通过 npm 安装:
$ npm install --save @sumor/utils
ES6方式
//例如要访问的程序路径为level1.level2.level3
import {level1} from '@sumor/utils';
level1.level2.level3('parameter1');
Node.js CommonJS方式
//例如要访问的程序路径为level1.level2.level3
const {level1} = require('@sumor/utils');
level1.level2.level3('parameter1');
同步函数
异步函数
execString
<String>
需要执行的命令 (必填项)parameter
<Object>
参数logCallback
<Function>
日志回调同步函数
同步函数
同步函数
可将日志分类存储到各个渠道,如控制台、文件、远程服务
类
namespace
<String>
命名空间 由大写字母构成,将作为分类名称context
<Object>
上下文交互数据异步函数
data
<String>
需要转换的字符串 (必填项)同步函数
同步函数
同步函数
同步函数
异步函数
port
<Number>
端口号 (必填项)异步函数
data
<String>
需要转换的字符串数据 (必填项)通过SSH远程访问服务器,并执行相关系统操作
类
host
<String>
服务器地址 (必填项) IP或域名等可定位到服务器的地址port
<String>
端口号username
<String>
用户名 (必填项)password
<String>
密码由32位小写字母加数字构成
同步函数
FAQs
轻呈云Node.JS工具库
The npm package @sumor/utils receives a total of 1 weekly downloads. As such, @sumor/utils popularity was classified as not popular.
We found that @sumor/utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.