22
33[ Open-source licenses] [ 1 ] filter algorithm library written in [ TypeScript] [ 2 ]
44
5- [ ![ NPM Dependency] ( https://img.shields.io/librariesio/github/kaiyuanshe /Open-Source-License-filter.svg )] [ 3 ]
6- [ ![ CI & CD] ( https://github.com/kaiyuanshe /Open-Source-License-filter/actions/workflows/main.yml/badge.svg )] [ 4 ]
5+ [ ![ NPM Dependency] ( https://img.shields.io/librariesio/github/Open-Source-Bazaar /Open-Source-License-filter.svg )] [ 3 ]
6+ [ ![ CI & CD] ( https://github.com/Open-Source-Bazaar /Open-Source-License-filter/actions/workflows/main.yml/badge.svg )] [ 4 ]
77
88[ ![ NPM] ( https://nodei.co/npm/license-filter.png?downloads=true&downloadRank=true&stars=true )] [ 5 ]
99
1010## Link
1111
12- - Design document: https://kaiyuanshe.feishu.cn/wiki/wikcnRn5pkE3BSvqFUMkJPymaG3
13- - UI implement: https://kaiyuanshe.cn/tool /license-filter
12+ - Design document: https://kaiyuanshe.feishu.cn/wiki/wikcnRn5pkE3BSvqFUMkJPymaG3
13+ - UI implement: https://oss-toolbox. kaiyuanshe.cn/license-filter
1414
1515## Usage
1616
@@ -63,13 +63,11 @@ console.log(list); // filtered licenses
6363### Filter Algorithm
6464
65651 . Mark the weight of various Open-source licenses according to the above Evaluation dimensions:
66-
6766 1 . Positive ` +1 ` : clearly supports the feature of this dimension
6867 2 . Undefined ` 0 ` : no explicit mention of the dimension's feature
6968 3 . Negative ` -1 ` : clearly oppose the characteristics of this dimension
7069
71702 . Input the user's Attitude towards the above dimensional features:
72-
7371 1 . Positive ` +1 ` : definitely need the feature of this dimension
7472 2 . Undefined ` 0 ` : insensitive to the feature of this dimension
7573 3 . Negative ` -1 ` : explicitly reject the feature of this dimension
@@ -94,8 +92,8 @@ https://kaiyuanshe.cn/license-tool/
9492
9593#### Code
9694
97- - Page: https://github.com/kaiyuanshe/kaiyuanshe.github.io/blob/hexo/themes/Electron/layout/license-tool.ejs
98- - Logic: https://github.com/kaiyuanshe/kaiyuanshe.github.io/tree/hexo/themes%2FElectron%2Fsource%2FOSLS
95+ - Page: https://github.com/kaiyuanshe/kaiyuanshe.github.io/blob/hexo/themes/Electron/layout/license-tool.ejs
96+ - Logic: https://github.com/kaiyuanshe/kaiyuanshe.github.io/tree/hexo/themes%2FElectron%2Fsource%2FOSLS
9997
10098### New Chinese Edition
10199
@@ -124,5 +122,5 @@ https://mp.weixin.qq.com/s/ja_w-2NNSIKcO4vv7iN5vg
124122[ 1 ] : https://opensource.org/licenses
125123[ 2 ] : https://www.typescriptlang.org/
126124[ 3 ] : https://libraries.io/npm/license-filter
127- [ 4 ] : https://github.com/kaiyuanshe /Open-Source-License-filter/actions/workflows/main.yml
125+ [ 4 ] : https://github.com/Open-Source-Bazaar /Open-Source-License-filter/actions/workflows/main.yml
128126[ 5 ] : https://nodei.co/npm/license-filter/
0 commit comments