
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
bone-act-concat
Advanced tools
bone的合并文件处理器
通过npm安装
$ npm install bone-act-concat
安装后在bonefile.js
文件内通过act()
加载
var bone = require('bone');
var concat = bone.require('bone-act-concat');
bone.dest('dist')
.src('~/src/main.js')
.act(concat({
files: ['~/src/lib/jquery.js']
}));
files
type: string
、array
default: []
支持文件路径、包含glob语法的文件路径或者多个文件的数组
bone.dest('dist')
.src('~/src/main.js')
.act(concat({
files: [
'~/src/main.js',
'~/src/lib/jquery.js'
]
}));
支持用户配置源文件位置
bone.dest('dist')
.src('~/src/*.js')
.concat({
files: [
'~/src/lib/jquery.js',
'__self__'
]
});
注:不指定files则不合并任何文件
separator
type: string
default: '\r\n'
合并文件之间的分隔符
banner
type: string
default: ''
合并后顶部添加的文字
footer
type: string
default: ''
合并后底部添加的文字
处理器开发以及使用请参考处理器
FAQs
concat file plugin for bone
The npm package bone-act-concat receives a total of 3 weekly downloads. As such, bone-act-concat popularity was classified as not popular.
We found that bone-act-concat 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 Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.