Socket
Socket
Sign inDemoInstall

cli-data

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cli-data


Version published
Maintainers
1
Created

Readme

Source

const removeFun = (data, list) => {} //删除 方法 传递两个参数 data是被删除的元素 data可以是数组或对象 list 原数组

const addFun = (data, list, type) => {} //新增方法 次方法 传入三个参数 第一个data是要改变的数据 可以是对象或数组 第二个 list原数组 第三个 type 用来区分 是新增还是编辑 如果不传就是数组合并

FAQs

Last updated on 11 Aug 2023

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