open-index/open-npm huggingface dataset:
npm package: @hanlindev/cancan
Description: Authorize with pleasure
Author: Vadim Demedes
Latest version: 3.4.0

# CanCan

## My Changes
This is a fork of the original cancan package. The only change I made was to
use the Sequelize.Model's Instance property to implement instanceOf function.
This makes the ability config look-up work when using Sequelize.

[![Build Status](https://travis-ci.org/vdemedes/cancan.svg?branch=master)](https://travis-ci.org/vdemedes/cancan) [![Coverage Status](https://coveralls.io/repos/vdemedes/cancan/badge.svg?branch=master&service=github)](https://coveralls.io/github/vdemedes/cancan?branch=master)

CanCan provides a simple API for handling authorization of actions.
Permissions are defined for each class using a simple `can` function.


<h1 align="center">
	<br>
	<img width="100" src="media/logo.png">
	<br>
	<br>
	<br>
</h1>

## Installation

```
$ npm install cancan --save
```


## User Guide

<a href="https://onbucket.com/vdemedes/cancan"><img src="https://onbucket.com/images/logo.png" width="28" align="top"></a> [Read the interactive user guide on Bucket](https://onbucket.com/vdemedes/cancan)


## Quick Look

```js
const cancan = require('cancan');
const can = cancan.can;


// example classes
class AdminUser {}
class User {}

class Product {}


// define permissions
cancan.configure(User, function (user) {
  // this user can view
  // all instances of Product
  this.can('view', Product);
});

cancan.configure(AdminUser, function (user) {
  // this user can:
  //  1. view all products
  //  2. create a new product
  this.can('view', Product);
  this.can('create', Product);
});


// check access
let product = new Product();

let adminUser = new AdminUser();
let user = new User();

can(adminUser, 'view', product); // true
can(adminUser, 'create', product); // true

can(user, 'view', product); // true
can(user, 'create', product); // false
```


## Tests

```
$ npm test
```

## License

MIT © [Vadym Demedes](http://vadimdemedes.com)
npm package: @hanlindev/react-material-design-lite
Description: React component wrappers around Google's Material Design Lite library
Author: Blaine Bublitz
Latest version: 0.9.8

# react-material-design-lite
React component wrappers around Google's Material Design Lite library
This is a fork of [iceddev's react-material-design-lite](https://github.com/iceddev/react-material-design-lite).

Following is a list of changes:
1. Remove reference to material design lite's assets, so that I can load my custom stylesheet.
2. Modify a few components to make them easier to use, at least for me.

Note:
I forked this repo because I'm quickly prototyping my project and I need to modify this project quite often to make it work for me. Robustness is not a concern so there is no plan to add unit test. Please contribute or create your own fork if you find this useful and would like to write tests for it. Thanks!
npm package: @hanmenghui/fa-ui
Description: A comprehensive Vue 3 UI component library with modern design and functionality
Author: Your Name
Latest version: 1.0.0

# Fa UI 组件库

一个基于 Vue 3 的现代化 UI 组件库，包含丰富的组件和功能。

## 安装

```bash
npm install fa-ui
# 或
yarn add fa-ui
# 或
pnpm add fa-ui
```

## 使用方法

### 完整引入

```javascript
import { createApp } from 'vue'
import FaUI from 'fa-ui'
import 'fa-ui/style'

const app = createApp(App)
app.use(FaUI)
```

### 按需引入

```javascript
import { FaButton, FaCard, FaInput } from 'fa-ui'
import 'fa-ui/style'

// 在组件中使用
export default {
  components: {
    FaButton,
    FaCard,
    FaInput
  }
}
```

## 组件列表

### 基础组件
- `FaButton` - 按钮组件
- `FaInput` - 输入框组件
- `FaTextarea` - 文本域组件
- `FaSelect` - 选择器组件
- `FaCheckbox` - 复选框组件
- `FaSwitch` - 开关组件
- `FaSlider` - 滑块组件
- `FaProgress` - 进度条组件

### 布局组件
- `FaCard` - 卡片组件
- `FaDivider` - 分割线组件
- `FaLayoutContainer` - 布局容器组件
- `FaPageHeader` - 页面头部组件
- `FaPageMain` - 页面主内容组件

### 反馈组件
- `FaModal` - 模态框组件
- `FaDrawer` - 抽屉组件
- `FaPopover` - 弹出框组件
- `FaTooltip` - 工具提示组件
- `FaNotification` - 通知组件
- `FaToast` - 吐司组件
- `FaLoading` - 加载组件

### 导航组件
- `FaTabs` - 标签页组件
- `FaPagination` - 分页组件
- `FaDropdown` - 下拉菜单组件
- `FaContextMenu` - 上下文菜单组件
- `FaTree` - 树形组件

### 数据展示组件
- `FaAvatar` - 头像组件
- `FaBadge` - 徽章组件
- `FaTimeline` - 时间线组件
- `FaSparkline` - 迷你图表组件
- `FaTrend` - 趋势组件
- `FaCountTo` - 数字动画组件
- `FaTimeAgo` - 时间显示组件

### 动画组件
- `FaAnimatedBeam` - 光束动画组件
- `FaAnimatedCountTo` - 数字动画组件
- `FaAnimatedCountToGroup` - 数字动画组组件
- `FaBlurReveal` - 模糊显示组件
- `FaBorderBeam` - 边框光束组件
- `FaFlipCard` - 翻转卡片组件
- `FaFlipWords` - 翻转文字组件
- `FaGlowyCard` - 发光卡片组件
- `FaGlowyCardWrapper` - 发光卡片包装器组件
- `FaGradientButton` - 渐变按钮组件
- `FaInteractiveButton` - 交互按钮组件
- `FaMarquee` - 跑马灯组件
- `FaMultiStepLoader` - 多步骤加载器组件
- `FaParticlesBg` - 粒子背景组件
- `FaPatternBg` - 图案背景组件
- `FaScratchOff` - 刮刮乐组件
- `FaSmoothSwipe` - 平滑滑动组件
- `FaSparklesText` - 闪烁文字组件
- `FaSpotlightCard` - 聚光灯卡片组件

### 其他组件
- `FaIcon` - 图标组件
- `FaIconPicker` - 图标选择器组件
- `FaCode` - 代码组件
- `FaCodePreview` - 代码预览组件
- `FaImagePreview` - 图片预览组件
- `FaImageUpload` - 图片上传组件
- `FaFileUpload` - 文件上传组件
- `FaSearchBar` - 搜索栏组件
- `FaScrollArea` - 滚动区域组件
- `FaPinInput` - 密码输入组件
- `FaHoverCard` - 悬停卡片组件
- `FaCarousel` - 轮播组件
- `FaCollapsible` - 折叠组件
- `FaBackToTop` - 回到顶部组件
- `FaCopyright` - 版权组件
- `FaDigitalCard` - 数字卡片组件
- `FaFixedActionBar` - 固定操作栏组件
- `FaLinkPreview` - 链接预览组件
- `FaLoginAgain` - 重新登录组件
- `FaNotAllowed` - 禁止访问组件
- `FaPasswordStrength` - 密码强度组件
- `FaSmartFixedBlock` - 智能固定块组件
- `FaStorageBox` - 存储盒组件
- `FaTextHighlight` - 文本高亮组件

## 依赖要求

本组件库需要以下 peer dependencies：

- Vue 3.5+
- Element Plus 2.0+
- Tailwind CSS / UnoCSS
- @vueuse/core
- 以及其他相关依赖

## 构建信息

- 构建工具：Vite
- 支持格式：ES Module, UMD
- TypeScript 支持：是
- CSS 框架：Tailwind CSS / UnoCSS

## 开发

```bash
# 安装依赖
npm install

# 开发模式
npm run dev

# 构建组件库
npm run build:lib

# 监听模式构建
npm run build:lib:watch
```

## 许可证

MIT License