摘要:
var bodyParser = require('body-parser'); var urlencodedParser = bodyParser.urlencoded({ extended: false }); 路由中使用 router.post('/', urlencodedParser, f 阅读全文
摘要:
npm install sqlite3 var sqlite3 = require('sqlite3').verbose();var db = new sqlite3.Database('WebFiles.db'); 查询使用 db.all("select * from yourtable wher 阅读全文
摘要:
https://www.npmjs.com/package/qr-image npm install qr-image npm install qr-image var qr = require('qr-image'); var code = qr.image("yourcodehere", {ty 阅读全文
摘要:
安装: 创建项目: express myapp 安装依赖 install dependencies: > npm install 启动应用 run the app: > SET DEBUG=quicknote:* & npm start 阅读全文