
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
npm install tyt-tools
// 或者npm i tyt-tools
实现时间格式化 、html 转义特殊字符串、以及 html 还原特殊字符串功能
//导入包
const date = require('./tyt-tools');
//调用dateForm方法
let dt = date.dateForm(new Date());
console.log(dt);
//输出结果 2023-03-27 15:16:16
//导入包
const htmlEscape = require('./tyt-tools');
//定义字符串
let html = `<h1>这是测试数据"&</h1>`;
//调用htmlEscape方法
let htmlStr = htmlEscape.htmlEscape(html);
console.log(htmlStr);
//输出结果 <h1>这是测试数据"&<\h1>
//导入包
const htmlEscape = require('./tyt-tools');
//定义字符串
let htmlStr = `<h1>这是测试数据"&<\h1>`;
//调用htmlUnEscape方法
let html2 = htmlEscape.htmlUnEscape(htmlStr);
console.log(html2);
//输出结果 <h1>这是测试数据"&</h1>
ISC
FAQs
```js npm install tyt-tools // 或者npm i tyt-tools ```
We found that tyt-tools 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.