README
一:下载包
npm i jjjmysqlnightwork
二:导包
const db = require('jjjmysqlnightwork');
三:用包
db.connection.query('sql语句',(error,results)=>{
});
晚上作业:上传一个简单的模块到npm上
<script type="module">
import jjjmysqlnightwork from 'https://cdn.skypack.dev/jjjmysqlnightwork';
</script>
npm i jjjmysqlnightwork
const db = require('jjjmysqlnightwork');
db.connection.query('sql语句',(error,results)=>{
});