惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
P
Privacy International News Feed
T
Tenable Blog
L
Lohrmann on Cybersecurity
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threat Research - Cisco Blogs
S
Securelist
C
CXSECURITY Database RSS Feed - CXSecurity.com
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
S
Schneier on Security
P
Privacy & Cybersecurity Law Blog
Vercel News
Vercel News
Cyberwarzone
Cyberwarzone
月光博客
月光博客
T
The Blog of Author Tim Ferriss
Scott Helme
Scott Helme
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
C
Cisco Blogs
aimingoo的专栏
aimingoo的专栏
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
阮一峰的网络日志
阮一峰的网络日志
Simon Willison's Weblog
Simon Willison's Weblog
T
Tor Project blog
Security Latest
Security Latest
Blog — PlanetScale
Blog — PlanetScale
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
博客园 - 三生石上(FineUI控件)
I
InfoQ
Spread Privacy
Spread Privacy
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
S
SegmentFault 最新的问题
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
MongoDB | Blog
MongoDB | Blog
C
CERT Recently Published Vulnerability Notes
A
About on SuperTechFans
博客园_首页
Engineering at Meta
Engineering at Meta
Project Zero
Project Zero
Latest news
Latest news

粥里有勺糖

分享一下最近 VibeCoding 的项目部署工具:Kite | 粥里有勺糖 个人作品 | 粥里有勺糖 分享一下笔者的 Mac 装机必备软件 | 粥里有勺糖 🚀 VitePress 插件开发计划 | 粥里有勺糖 视野修炼第129期 | 上一次古法编程是什么时候 | 粥里有勺糖 🧧 红包封面来了 | 粥里有勺糖 2025年度总结 | 粥里有勺糖 心得总结 | 粥里有勺糖 开发一个美观的 VitePress 图片预览插件 | 粥里有勺糖 心外“天花板”手术经历 | 粥里有勺糖 又双叒住院了 | 粥里有勺糖 视野修炼第128期 | Bun 被收购 | 粥里有勺糖 视野修炼第127期 | Valdi | 粥里有勺糖 视野修炼第126期 | TypeScript #1 | 粥里有勺糖 离开上海回家啦 | 粥里有勺糖 第三次到上海 | 粥里有勺糖 视野修炼第125期 | nano-banana | 粥里有勺糖 又生病住院了 | 粥里有勺糖 视野修炼第124期 | 终端艺术字 | 粥里有勺糖 视野修炼第123期 | 你在用Node几? | 粥里有勺糖 视野修炼第122期 | 发光图片制作 | 粥里有勺糖 用Trae做了个公众号小工具 | 粥里有勺糖 视野修炼第121期 | Rolldown-Vite | 粥里有勺糖 视野修炼第120期 | NoCode | 粥里有勺糖
视野修炼第119期 | 终端调色 | 粥里有勺糖
2025-05-18 · via 粥里有勺糖

欢迎来到第 119 期的【视野修炼 - 技术周刊】,下面是本期的精选内容简介

下面开始本期内容的介绍ღ( ´・ᴗ・` )比心

🔥强烈推荐

1. console支持的格式化字符串 - 小知识

大家初学 js 或者其它语言的时候通常打印函数支持接受一些格式化参数

比如 C 语言

c

printf("Hello %d\n", 123);
printf("Hello %s", "world");

js 的 console.log 也支持。

Node 侧还可以使用 %j 替代 JSON.stringify

js

console.log('value: %j', { name: 'xm' })

有时候这样书写比模板字符串或者+拼接 看上去更直观,书写更有趣😏

2. ANSIS 4.0 - 终端调色盘

支持 Bun, Deno,体积和速度相比 chalk 要快。

js

import ansis, { bold, fg, hex, red, rgb } from 'ansis'

console.log(ansis.bold('file.txt'))
console.log(red`Error: ${bold.cyan(file)} not found!`)
console.log(bold.bgRed`ERROR`)
console.log(fg(208)`Orange`)
console.log(rgb(224, 17, 95)`Ruby`)
console.log(hex('#FF75D1').bold.underline('Pink'))

🔧开源工具&技术资讯

3. uni-app x 支持鸿蒙

至此,uni-app x 已经完成Android、iOS、鸿蒙、Web、微信小程序等主流平台全覆盖。

虽然但是,低成本的开发多端,uni-app 仍是一个很不错的选择👍🏻!

4. color-convert

颜色转换函数。

js

import convert from 'color-convert'

convert.rgb.hsl(140, 200, 100) // [96, 48, 59]
convert.keyword.rgb('blue') // [0, 0, 255]

支持在 rgb、hsl、hsv、hwb、cmyk、ansi、ansi16、 十六进制字符串和 CSS 关键字之间转换所有方式。

收藏!

5. mono-jsx - 服务器端 JSX 运行时

服务器端 JSX 运行时,无需构建步骤即可将 <html> 直接返回

js

// app.tsx

export default {
  fetch: req => (
    <html>
      <h1>Welcome to mono-jsx!</h1>
    </html>
  )
}

🤖AI工具&资讯

6. LinkSumm - AI 总结网页内容

直接粘贴 URL 链接即可,多模型可选。

😛趣图

⭐️强力推荐关注

周刊部分内容来源如下渠道,推荐大家关注。