[前端] 每日时报 - 2019.07.22

2019-07-22 13:55:11 +08:00
 wubaiqing

[前端] 每日时报 - 2019.07.22

[视频] 张维为教授:防火墙是中国政府的智慧。可以翻墙,但是墙必须要有:https://www.youtube.com/watch?v=YtxhWwpcwD0

[文章] 使用 TS+React 开发 Chrome 扩展:https://medium.com/@th.guibert/create-a-chrome-extension-using-react-and-typescript-50e94e14320c

[类库] npm-run-all 用于并行或顺序执行多个 NPM 脚本的工具:https://github.com/mysticatea/npm-run-all

[类库] decamelize 可以把驼峰字符串,转换成横线分割符的类库,看一下代码示例就明白了:https://github.com/sindresorhus/decamelize

[类库] sort-package-json 可以生成一个 package.json 的文件,默认是按照 NPM 标准顺序输出,可以用于动态生成脚手架的项目配置:https://github.com/keithamus/sort-package-json

[资源] 最全中华古诗词数据库,唐宋两朝近一万四千古诗人,接近 5.5 万首唐诗加 26 万宋诗。两宋时期 1564 位词人,21050 首词,还有小程序https://github.com/chinese-poetry/chinese-poetry

GitHub: https://github.com/wubaiqing/zaobao

示例 - npm-run-all

{
  // ...
  dependencies: {
    "start": "npm run postinstall:electron && npm-run-all -p ng:serve electron:serve",
  },
}

示例 - sort-package-json

JSON.stringify(sortPackageJson({
  dependencies: {},
  version: '1.0.0',
  keywords: ['thing'],
  name: 'foo',
}), null, 2)
/* string:
{
  "name": "foo",
  "version": "1.0.0",
  "keywords": [
    "thing"
  ],
  "dependencies": {}
}
*/

示例 - decamelize

const decamelize = require('decamelize');

decamelize('unicornRainbow');
//=> 'unicorn_rainbow'

decamelize('unicornRainbow', '-');
//=> 'unicorn-rainbow'

今日图 - 自我递归

364 次点击
所在节点    分享发现
2 条回复
Zink99
2019-08-01 14:25:47 +08:00
您好,请问停止更新了吗?
wubaiqing
2019-12-26 18:14:47 +08:00
@Zink99 没有啊。一直在更新,请关注 GitHub。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/585078

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX