
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
@aomao/plugin-indent
Advanced tools
缩进插件
$ yarn add @aomao/plugin-indent
添加到引擎
此插件建议放在第一个增加,以免其它插件拦截了事件,使其无法生效
import Engine, { EngineInterface } from '@aomao/engine';
import Indent from '@aomao/plugin-indent';
new Engine(...,{ plugins:[Indent] })
默认缩进快捷键 mod+]
默认删除缩进快捷键 mod+[
//快捷键,
hotkey?: {
in?:string //缩进快捷键,默认 mod+]
out?:string //删除缩进快捷键,默认 mod+[
};
//使用配置
new Engine(...,{
config:{
"indent":{
//修改快捷键
hotkey:{
"in":"快捷键",
"out":"快捷键"
}
}
}
})
最大 padding,每次缩进为 2
maxPadding?:number
有一个参数 默认为 in ,可选值为 in 增加缩进,out 减少缩进
engine.command.execute('indent');
//使用 command 执行查询当前状态,返回 numbber,当前缩进值
engine.command.queryState('indent');
FAQs
The npm package @aomao/plugin-indent receives a total of 63 weekly downloads. As such, @aomao/plugin-indent popularity was classified as not popular.
We found that @aomao/plugin-indent 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.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.