Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jstools-common

xue5hen45MIT0.0.24

实际工作中常用的JS工具函数集(包括Web及NodeJS环境)

jstools

readme

jstools-common

简介

jstools-common 是一个常用的JS工具函数集,使用简单方便。该项目意在将常用的工具函数进行收集整理以便尽可能避免开发中重复造轮子,收纳的函数聚焦项目中具体的功能点。

下载安装

快速使用

  • 引入方式
    // WEB网页环境
      <script src="path/to/jstools.web.js"></script>
      import jstools from 'jstools-common/dist/jstools.web'
      let jstools = require('jstools-common/dist/jstools.web')
    // 纯NODE环境
      let jstools = require('jstools-common/dist/jstools.node')
    // Electron-main环境
      let jstools = require('jstools-common/dist/jstools.electron-main')
    // Electron-renderer环境
      import jstools from 'jstools-common/dist/jstools.electron-renderer'
      let jstools = require('jstools-common/dist/jstools.electron-renderer')
  • 使用文档

交流 & 提问

  • 请直接在 github issues 提交问题

关于作者

如果你感觉有收获,欢迎打赏以激励我更多输出优质开源内容。 (#^.^#)