
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
underline2upper
Advanced tools
将大写命名方式转为下划线的驼峰命名方式
下划线命名方式转为大写命名
pubAccount === underline2upper("pub_account");
var pubAccount = {
x_y: 1,
y_z: 2
}
underline2upper(pubAccount)
输出 {
xY: 1,
yZ: 2
}
将大写转为下划线命名方式
"pub_account" === upper2underline("pubAccount")
var pubAccount = {
userName: "王大拿",
xY: {
nickName: "wanglihui"
}
}
upper2underline(pubAccount)
输出:
{
user_name: "王大拿",
x_y: {
nick_name: "wanglihui"
}
}
FAQs
The npm package underline2upper receives a total of 13 weekly downloads. As such, underline2upper popularity was classified as not popular.
We found that underline2upper 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.