Sergio
Sergio
- [x] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate. ### Reproduction link [](https://codesandbox.io/s/beautiful-mcnulty-ffhq4?file=/src/App.vue&resolutionWidth=375&resolutionHeight=667) ### Steps to reproduce 点击第一个折线图,发现要左偏移一点才能点到对应的位置; 点击第二个折线图,发现获取的点位置是超出范围的,导致拿不到data;...
项目地址: https://github.com/KID-joker/userscript/blob/main/bilibili-search-filter-by-time.js 文章地址: https://juejin.cn/post/7126543876285792292 脚本地址: https://greasyfork.org/en/scripts/448716-bilibili-search-filter-by-time 项目介绍: 拦截B站请求,给B站加上时间范围过滤,更快找到想看的视频。 [demo](https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/cdd55ebd994548ddb838b97353e27db0~tplv-k3u1fbpfcp-zoom-in-crop-mark:3024:0:0:0.awebp?) **Tips: 只对视频有效,安装后请切换至视频分栏使用。如需对其他分栏过滤,可自行fork开发。**
项目地址: https://github.com/KID-joker/proxy-web-storage 文章地址: https://juejin.cn/post/7144142689594769415 项目介绍: 借助proxy,扩展了web storage的功能,使用起来,更加方便快捷,也更加强大。主要功能为保持值类型不变,可直接操控Object、Array,支持监听数据变化和设置过期时间。 ## Features ### Base Get what you set and change array and object directly. ```js import { local, session } from 'proxy-web-storage'; local.test...
- 项目名称:proxy-web-storage - 项目地址:https://github.com/KID-joker/proxy-web-storage - 项目简介 :借助proxy,扩展了web storage的功能,使用起来,更加方便快捷,也更加强大。主要功能为保持值类型不变,可直接操控Object、Array,支持监听数据变化和设置过期时间 - 示例代码: ```js import { local, session } from 'proxy-web-storage'; local.test = 'Hello proxy-web-storage'; // works delete local.test; // works // number...
- 项目名称:proxy-web-storage - 项目地址:https://github.com/KID-joker/proxy-web-storage - 项目简介:借助proxy,扩展了web storage的功能,使用起来,更加方便快捷,也更加强大。主要功能为保持值类型不变,可直接操控Object、Array,支持监听数据变化和设置过期时间 - 示例代码: ```js import { local, session } from 'proxy-web-storage'; local.test = 'Hello proxy-web-storage'; // works delete local.test; // works // number local.test...
- 项目名称:proxy-web-storage - 项目地址:https://github.com/KID-joker/proxy-web-storage - 项目简介 (**100** 字以内):借助proxy,扩展了web storage的功能,使用起来,更加方便快捷,也更加强大。主要功能为保持值类型不变,可直接操控Object、Array,支持监听数据变化和设置过期时间 - 示例代码: ```js import { local, session } from 'proxy-web-storage'; local.test = 'Hello proxy-web-storage'; // works delete local.test; // works //...
## 推荐项目 - 项目地址:https://github.com/KID-joker/npm-deprecated-check - 类别:JS - 项目标题:npm-deprecated-check 检查项目中弃用依赖,并通过 chatgpt 推荐可替代 package - 项目描述:只有在安装依赖的时候,才会提示该安装包已被弃用,而在运行项目的无法获知是否改用新的解决方案。 - 亮点: 1. 检查多个来源的安装包情况 2. 根据lockfile和package.json确定当前安装的版本,更为准确 3. 通过chatgpt推荐可替换package  - 后续更新计划: 1. 支持monorepo
## 推荐项目 - 项目地址:https://github.com/KID-joker/stokado - 类别:JS - 项目标题:使用proxy封装localStorage、sessionStorage - 项目描述:借助 proxy,更好地更方便地管理 storage,实现了相关语法糖、序列化、监听订阅、设置过期、一次性取值等功能 - 亮点: 1. 保存到sotrage里的值,取值时类型不会改变,存值前的类型为`number`,取值后的类型也是`number`。 2. 可以像正常对象数组类型一样,直接操作对象和数组,不用再JSON解压。 3. 监听数据变化。对于对象数组,还支持二级监听,即`obj.a`和`list[0]`,以及数组长度的监听。 4. 设置过期时间,轻松实现指定时间过期的逻辑。 5. 一次性取值。 - 示例代码: ```js import { local,...
### System info - Playwright Version: [v1.32.3] - Operating System: [Windows 10] - Browser: [All] ### Source code - [X] I provided exact source code that allows reproducing the issue...
项目地址:https://github.com/KID-joker/serve-then 项目动力: 受启发于[start-server-and-test](https://github.com/bahmutov/start-server-and-test),但 *serve-then* 不是cli工具。*start-server-and-test* 需要将测试命令写成字符串衔接到启动命令后,比较难使用。 通常测试静态资源需要打开两个控制台,一个运行服务,一个运行测试,而且测试结束要手动关闭服务。*serve-then* 可以一步到位,让流程更可控。 项目特性: 1. 基于[live-server](https://github.com/tapio/live-server),所有配置与其相同 2. Promise函数,并且返回静态服务URL 3. 跟随主进程运行结束而销毁子进程 使用方法: ```ts import { serve, serveOptions } from 'serve-then' serve(options as serveOptions).then(url => { //...