提交 aab21ece 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add providers trends graph url link generator

上级 5a79c475
#!/usr/bin/env node
import { PUPPET_DEPENDENCIES } from '../src/puppet-config'
async function main () {
const puppetNameList = Object.keys(PUPPET_DEPENDENCIES)
const publicNameList = puppetNameList.filter(name => /^[^@]/.test(name))
const urlPath = publicNameList.join('-vs-')
const url = 'https://www.npmtrends.com/' + urlPath
console.info(url)
}
main()
.catch(console.error)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册