Socket
Socket
Sign inDemoInstall

victor_tools_adt

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    victor_tools_adt

提供格式化日期、转换及还原html字符串的功能


Version published
Maintainers
1
Created

Readme

Source

安装

npm i victor_tools

导入

const myIndex = require('./victor_tools')

测试

console.log(myIndex.htmlEscape('<h1>喜&欢&你</h1>'));
console.log(myIndex.htmlUnescape('&lt;h1&gt;喜&amp;欢&amp;你&lt;/h1&gt;'));
console.log(myIndex.dataFormat(new Date()));

Keywords

FAQs

Last updated on 05 Jun 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc