feq-cli
v0.0.3
Published
Front End Questions cli
Downloads
5
Maintainers
Readme
feq-cli
Front End Questions cli
前端面试问题命令行工具,随机来一题考考自己
Install
npm install -g feq-cli
Usage
feq r [options] random 随机一题(默认)
feq q <id> question 查看题目
feq a <id> answer 查看答案
feq type 显示类型列表
feq help [command] 显示帮助
Examples
随机一题
command:
feq
response:
Q: 什么是防抖和节流,他们的应用场景有哪些 Answer: feq a 2 Url: https://q.shanyue.tech/fe/js/3.html
随机react类型题目
command:
feq -t react
response:
Q: React 中监听 input 的 onChange 事件的原生事件是什么 Answer: feq a 200 Url: https://q.shanyue.tech/fe/react/611.html
Contribute Questions
Contribute url: issues
format:
{
"type": "question type",
"q": "question",
"qm": "question more",
"a": "answer",
"url": "quote url"
}