<commit_before>---
title: "npm: Rainbow"
category: works
icon: code-fork
link: "https://www.npmjs.org/package/rainbow"
gitrepo: rainbow
tags: [npm, node.js, express]
figures:
  - src: "https://nodei.co/npm/rainbow.png?downloads=true"
    height: 69
public: false
video: http://v.qq.com/iframe/player.html?vid=t01662frswa&amp;width=500&amp;height=375&amp;auto=0
---

针对node.js下Express开发的一个中间件，可以直接使用文件路径映射来简化RESTful的路由配置。
<commit_msg>test video with setting width and height<commit_after>---
title: "npm: Rainbow"
category: works
icon: code-fork
link: "https://www.npmjs.org/package/rainbow"
gitrepo: rainbow
tags: [npm, node.js, express]
figures:
  - src: "https://nodei.co/npm/rainbow.png?downloads=true"
    height: 69
public: false
video: http://v.qq.com/iframe/player.html?vid=t01662frswa&amp;width=&amp;height=&amp;auto=0
---

针对node.js下Express开发的一个中间件，可以直接使用文件路径映射来简化RESTful的路由配置。

{'fraction_non_alphanumeric': 0.16234498308906425, 'fraction_numerical': 0.02480270574971815, 'mean_word_length': 5.5777777777777775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4610797', 'n_tokens_mistral': 413, 'n_tokens_neox': 376, 'n_words': 58}