New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

pxxlib-utils

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pxxlib-utils

实现 JavaScript 引用对象的深拷贝功能

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

pxxlib-utils example workflow

实现 JavaScript 引用对象的深拷贝功能

使用者指南

通过 npm 下载安装代码

$ npm install --save pxxlib-utils

如果你是 node 环境

var { clone } = require('pxxlib-utils');

clone({ a: 1 });

如果你是 webpack 等环境

import { clone } from 'pxxlib-utils';

clone({ a: 1 });

如果你是浏览器环境

<script src="node_modules/pxxlib-utils/dist/index.aio.js"></script>
<script>
  clone({ a: 1 });
</script>

贡献者指南

首次运行需要先安装依赖

$ npm install

一键打包生成生产代码

$ npm run build

运行单元测试:

$ npm test

FAQs

Package last updated on 13 Mar 2023

Did you know?

Socket

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