
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@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 33 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.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

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.