Hello World

This commit is contained in:
GitHub Actions
2022-06-30 02:18:52 +00:00
commit cd995d7629
2562 changed files with 457732 additions and 0 deletions

14
utils/rm/node_modules/clash-proxy/example/index.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
const Clash = require('..');
const clash = Clash({
secret: 'song940@163.com',
api: 'http://lsong.me:9090'
});
clash.traffic(({ up, down }) => {
console.log('traffic: up: %i; down: %i', up, down);
});
clash.logs('debug', ({ type, payload }) => {
console.log('log', type, payload);
});