🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

diana

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diana

fe tool library

Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
27
-25%
Maintainers
1
Weekly downloads
 
Created
Source

diana

Build Status codecov LICENSE MIT

前端业务代码工具库(支持 browsernode 环境)。

目的:高效率完成前端业务代码 && 归纳总结

文档地址

Usage

npm || yarn (推荐)

npm install diana --save || yarn add diana
const _ = require('diana')
const isEqual = _.equal([1, 2, 3], [1, 2, 3]) // true

bower

bower install diana
<script src="bower_components/diana/lib/diana.js"></script>
<script>
    const isEqual = diana.equal([1, 2, 3], [1, 2, 3]) // true
</script>

当然,在浏览器端你也可以直接下载 min 目录下的 diana.js 使用,支持 UMD 通用模块规范。

Contribute

Welcome your valuable suggestions / pr. Not only code, but the test case, the docs even the structure of the library.

Keywords

tool

FAQs

Package last updated on 30 Mar 2018

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