All Projects → GuCangRan → rgutil

GuCangRan / rgutil

Licence: other
rgutil是基于ES6创建的函数库工具

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects

Projects that are alternatives of or similar to rgutil

iro
IRO - Amazing Color Tools. Color Convert HEX, RGB, HSL and CMYK. Color Inspection with Camera.
Stars: ✭ 103 (+368.18%)
Mutual labels:  vue3, vite
howdyjs
一个包含Javascript插件、Vue3组件、Vue3指令的工具库
Stars: ✭ 77 (+250%)
Mutual labels:  vue3, vite
vue-devui-early
Vue3版本的DevUI组件库。本仓库已迁移至:https://github.com/DevCloudFE/vue-devui
Stars: ✭ 39 (+77.27%)
Mutual labels:  vue3, vite
bpmn-vue-activiti
基于Vue3.x + Vite + bpmn-js + element-plus + tsx 实现的Activiti流程设计器(Activiti process designer based on Vue3.x + Vite + BPMN-JS + Element-Plus + TSX implementation)
Stars: ✭ 345 (+1468.18%)
Mutual labels:  vue3, vite
vuejs-3-examples
Some examples of Vue.js 3.0.
Stars: ✭ 26 (+18.18%)
Mutual labels:  vue3, vite
soybean-admin
A fresh and elegant admin template, based on Vue3,Vite3,TypeScript,NaiveUI and UnoCSS [一个基于Vue3、Vite3、TypeScript、NaiveUI 和 UnoCSS的清新优雅的中后台模版]
Stars: ✭ 2,322 (+10454.55%)
Mutual labels:  vue3, vite
vueuse-vite-starter
⚡️ Starter for Vite + VueUse + TypeScript
Stars: ✭ 121 (+450%)
Mutual labels:  vue3, vite
fastadmin
vue3 + element-plus fast admin scaffold, 基于vue3和ElementPlus的中后台快速应用脚手架
Stars: ✭ 50 (+127.27%)
Mutual labels:  vue3, vite
mosha-vue-toastify
A light weight and fun Vue 3 toast or notification or snack bar or however you wanna call it library.
Stars: ✭ 185 (+740.91%)
Mutual labels:  vue3, vite
app
专门为互联网人打造的题解神器,神器在手,工作不愁
Stars: ✭ 64 (+190.91%)
Mutual labels:  vue3, vite
Admin-Frame-Vue3
基于Vue3 + Element-Plus + Vite 开发的中/后台管理系统
Stars: ✭ 181 (+722.73%)
Mutual labels:  vue3, vite
seezoon-stack
一款基于当前最前沿的前端(Vue3 + Vite + Antdv)和后台(Spring boot)实现的低代码开发平台。
Stars: ✭ 227 (+931.82%)
Mutual labels:  vue3, vite
win7
Yet another OS preview via web technologies focused on Microsoft Windows 7.
Stars: ✭ 93 (+322.73%)
Mutual labels:  vue3, vite
vue-lite-admin
a lite vue3.0 admin template,there is no typescript and vuex (但注释挺全)
Stars: ✭ 67 (+204.55%)
Mutual labels:  vue3, vite
vue-component-lib-starter
A bare-bones example of creating your own Vue component library.
Stars: ✭ 221 (+904.55%)
Mutual labels:  vue3, vite
preview-pro
Use pro-layout in vitejs. preview https://sendya.github.io/preview-pro/index.html
Stars: ✭ 71 (+222.73%)
Mutual labels:  vue3, vite
chengpeiquan.com
My personal website. Base on Vite 2.0 and Vue 3.0. If you want to know how to use Vite to develop a project, you can refer to this repository.
Stars: ✭ 43 (+95.45%)
Mutual labels:  vue3, vite
artemis
MateCloud前端代码,基于vue3、vite、pinia、ant-design vue实现的中台系统
Stars: ✭ 129 (+486.36%)
Mutual labels:  vue3, vite
rustplatz
(Inoffizielle) Website für das Rust-Projekt von Dhalucard, Bonjwa und RocketBeans
Stars: ✭ 15 (-31.82%)
Mutual labels:  vue3, vite
tailwind-layouts
Collection of Tailwind Layouts
Stars: ✭ 53 (+140.91%)
Mutual labels:  vue3, vite

rgutil前端ES6工具库

github仓库地址: https://github.com/GuCangRan/rgutil

码云仓库地址: https://gitee.com/gucangran/rgutil

文档地址 (支持Chrome和edge浏览器,内核>80才行,低版本空白)

https://gucangran.github.io/rgutil/

http://gucangran.gitee.io/rgutil

  1. $R是基于ES6函数库,易懂简洁到能用一行就一行的强迫症设计,依然考虑阅读性,毕竟给人类看的,顺便机器运行
  2. $R函数基本保持独立,让您满足单独可复制自己所需方法,嫌弃套娃地狱写法
  3. $R支持npm下载,Tree-shaking按需加载函数,只给你想要的
  4. $R支持单页面直接脚本引用,立即执行函数方式,umd方式,es6方式任您选
  5. $R文档支持在线大多数方法直接测试结果,就是图个方便,不香么
  6. $R默认打包es6语法,毕竟大势所趋,可更改rollup.config.js中plugins的babel注释内容去打包支持<es6版本
  7. $R采纳jest进行单元测试,可看代码测试覆盖报告
  8. $R是默认命名,可修改package.json中utilName再打包,用你喜欢的

npm下载

npm install rgutil
//1. 函数全部导入
import * as $R from "rgutil";

//写法:
 $R.isNumber(8)


//2. 按需导入
import { isNumber } from "rgutil";

//写法
 isNumber(8)

页面使用

打包后脚本在dist文件夹,自行下载

//纯html页面直接引用
//1. 立即执行函数直接引用
//<script src="rgutil.min.js"></script>
//或引用
//<script src="rgutil.umd.min.js"></script>

//在线直接引用
<script src="https://cdn.jsdelivr.net/gh/GuCangRan/rgutil/dist/rgutil.min.js"></script>
<script>
 
  let isNumber = $R.isNumber(8);
  console.log(isNumber)

 </script>

//2. ES6模块引用方式
<script type="module">

  import * as $R from 'rutil.esm.min.js'

  let isNumber = $R.isNumber(8);
  console.log(isNumber)

</script>

特别说明: 本函数库借鉴了很多大神的开源文章和部分面试题,以及自己平时所用,汇总合成。非常感谢这些大神的付出,致敬!这也是自己的一个学习过程,为开源贡献一份微薄之力。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].