Socket
Socket
Sign inDemoInstall

diana

Package Overview
Dependencies
0
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    diana

lightweight tool library


Version published
Weekly downloads
8
decreased by-95.12%
Maintainers
1
Install size
50.0 kB
Created
Weekly downloads
 

Readme

Source

npm version week download Build Status codecov LICENSE MIT

English | 简体中文

Diana is a lightweight fe tool library.

Installation

yarn add diana || npm install diana --save

You can also download diana.js directly in the browser,it support UMD common module specification.

Usage

Document :tada:

import _ from 'diana'         // ES6
// const _ = require('diana') // common.js
const isEqual = _.equal([1, 2, 3], [1, 2, 3]) // true

And there are some useful decorator methods in the diana, for example as follow:

import { Debounce } from 'diana'
class Demo {
  @Debounce(1000)
  submit() {
    // call api
  }
}

Develop Process

Contribute

Before submitting a pull request, please make sure read how to pr

Keywords

FAQs

Last updated on 03 Jul 2020

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