[READ-ONLY] Mirror of https://github.com/probablykasper/k5kit. Utilities for TypeScript and Svelte
0

Configure Feed

Select the types of activity you want to include in your feed.

Rename package

kutils was unavailable

Update package.json

Kasper (Jun 28, 2025, 2:38 AM +0200) 596b3474 aa7300ee

+23 -36
+3 -3
README.md
··· 1 - # KUtils 1 + # k5kit 2 2 3 3 Utilities for TypeScript and Svelte 4 4 ··· 32 32 Usage: 33 33 ```svelte 34 34 <script> 35 - import { auto_snapshot } from 'kutils' 35 + import { auto_snapshot } from 'k5kit' 36 36 const snapshotter = auto_snapshot() 37 37 export const snapshot = snapshotter 38 38 </script> ··· 44 44 ## Shortcut checking 45 45 46 46 ```js 47 - import { check_shortcut, check_modifiers } from 'kutils' 47 + import { check_shortcut, check_modifiers } from 'k5kit' 48 48 check_shortcut(e, 'A') // 'A' with no modifiers pressed 49 49 check_shortcut(e, 'A', 'shift', 'alt', 'cmdOrCtrl') 50 50 check_modifiers(e) // Check that no modifiers are pressed (useful for mouse events)
+19 -32
package-lock.json
··· 1 1 { 2 - "name": "kutils", 2 + "name": "5kit", 3 3 "version": "0.0.1", 4 4 "lockfileVersion": 3, 5 5 "requires": true, 6 6 "packages": { 7 7 "": { 8 - "name": "kutils", 8 + "name": "5kit", 9 9 "version": "0.0.1", 10 10 "devDependencies": { 11 11 "@eslint/compat": "^1.3.1", ··· 3089 3089 "node": ">=8.6" 3090 3090 } 3091 3091 }, 3092 + "node_modules/micromatch/node_modules/picomatch": { 3093 + "version": "2.3.1", 3094 + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 3095 + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 3096 + "dev": true, 3097 + "license": "MIT", 3098 + "engines": { 3099 + "node": ">=8.6" 3100 + }, 3101 + "funding": { 3102 + "url": "https://github.com/sponsors/jonschlinkert" 3103 + } 3104 + }, 3092 3105 "node_modules/minimatch": { 3093 3106 "version": "3.1.2", 3094 3107 "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", ··· 3314 3327 "license": "ISC" 3315 3328 }, 3316 3329 "node_modules/picomatch": { 3317 - "version": "2.3.1", 3318 - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 3319 - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 3330 + "version": "4.0.2", 3331 + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", 3332 + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", 3320 3333 "dev": true, 3321 3334 "license": "MIT", 3322 3335 "engines": { 3323 - "node": ">=8.6" 3336 + "node": ">=12" 3324 3337 }, 3325 3338 "funding": { 3326 3339 "url": "https://github.com/sponsors/jonschlinkert" ··· 3905 3918 "url": "https://github.com/sponsors/SuperchupuDev" 3906 3919 } 3907 3920 }, 3908 - "node_modules/tinyglobby/node_modules/picomatch": { 3909 - "version": "4.0.2", 3910 - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", 3911 - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", 3912 - "dev": true, 3913 - "license": "MIT", 3914 - "engines": { 3915 - "node": ">=12" 3916 - }, 3917 - "funding": { 3918 - "url": "https://github.com/sponsors/jonschlinkert" 3919 - } 3920 - }, 3921 3921 "node_modules/to-regex-range": { 3922 3922 "version": "5.0.1", 3923 3923 "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", ··· 4101 4101 "yaml": { 4102 4102 "optional": true 4103 4103 } 4104 - } 4105 - }, 4106 - "node_modules/vite/node_modules/picomatch": { 4107 - "version": "4.0.2", 4108 - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", 4109 - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", 4110 - "dev": true, 4111 - "license": "MIT", 4112 - "engines": { 4113 - "node": ">=12" 4114 - }, 4115 - "funding": { 4116 - "url": "https://github.com/sponsors/jonschlinkert" 4117 4104 } 4118 4105 }, 4119 4106 "node_modules/vitefu": {
+1 -1
package.json
··· 1 1 { 2 - "name": "kutils", 2 + "name": "k5kit", 3 3 "version": "0.0.1", 4 4 "description": "Utilities for TypeScript and Svelte", 5 5 "type": "module",