diana
fe customized tool library
Last updated a year ago by muyunyun .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install diana 
SYNC missed versions from official npm registry.

npm version week download Build Status codecov LICENSE MIT

前端定制化工具库

  • 使用 TypeScriptRollup 构建
  • 支持 BrowserNode 两端
  • 支持按需加载

Installp

npm install diana --save

Usage

使用文档 :tada:

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

配合使用 babel-plugin-on-demand-loading 可以实现按需加载, 体积能极大的减小。

与此同时该库后续会集成一些有用的装饰器函数, 比如目前可以像如下使用防抖函数:

import { Debounce } from 'diana'
class Demo {
  @Debounce(1000)
  submit() {} // 点击按钮
}

Philosophy

  • 抽离出系统间通用的方法;
  • 定制化的瑞士军刀;

Develop Process

更新日志

关于 diana

按需加载实践

Contribute

If you want to contrubute this proj, you can read how to pr

Current Tags

  • 0.5.3                                ...           latest (a year ago)

48 Versions

  • 0.5.3                                ...           a year ago
  • 0.5.2                                ...           a year ago
  • 0.5.1                                ...           a year ago
  • 0.5.0                                ...           a year ago
  • 0.4.9                                ...           a year ago
  • 0.4.8                                ...           a year ago
  • 0.4.7                                ...           a year ago
  • 0.4.6                                ...           a year ago
  • 0.4.5                                ...           a year ago
  • 0.4.4                                ...           a year ago
  • 0.4.3                                ...           a year ago
  • 0.4.2                                ...           a year ago
  • 0.4.1                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.4                                ...           a year ago
  • 0.3.3                                ...           a year ago
  • 0.3.2                                ...           a year ago
  • 0.3.1                                ...           a year ago
  • 0.3.0                                ...           2 years ago
  • 0.2.9                                ...           2 years ago
  • 0.2.8                                ...           2 years ago
  • 0.2.7                                ...           2 years ago
  • 0.2.6                                ...           2 years ago
  • 0.2.5                                ...           2 years ago
  • 0.2.4                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.10                                ...           2 years ago
  • 0.1.9                                ...           2 years ago
  • 0.1.7                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 1
This Week 7
This Month 7
Last Day 3
Last Week 3
Last Month 33
Dependencies (4)
Dev Dependencies (23)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |