lxQuery — Easy JavaScript
After reading the jQuery's origin code, I get a lot, then I create this my own js library. It's only a library for learning, there's still a lot of bug in it, so it can not be used in production evt. Thanks for supporting. --author: 李骁
https://github.com/lixiaotiancai/lxQuery.git
npm i lxquery
Import lxquery library
<body>
...
...
<script src="../dist/lxquery.js"></script>
</body>
use RequireJS to import module
require(['lxquery'], function (lx) {
...
...
})
var lx = require('lxquery')
...
...
npm test
npm run coverage
want to know more about lxQuery?click here to read lxQuery document
lxQuery document link: https://github.com/lixiaotiancai/lxQueryDoc
add 3 extra method
add lx.formatDate()
add lx.delHtmlTag()
add lx.htmlEncode()
add npm run coverage
add git hook husky