🚨 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.2.9
Version published
Weekly downloads
27
-25%
Maintainers
1
Weekly downloads
 
Created
Source

diana

Build Status codecov LICENSE MIT

前端业务代码工具库(支持浏览器node 环境)。

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

文档地址

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通用模块规范。

Keywords

tool

FAQs

Package last updated on 23 Jan 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