weery
v1.1.7
Published
Small library for DOM manipulating.
Downloads
4
Maintainers
Readme
- Installing
npm install weery --save
- Using
- es6 imports
import $ from 'weery'
- commonjs
const $ = require('weery');
- as global (download weery.min.global.js and put before
</body>
)
<script src="/path/to/scripts/weery.min.global.js"></script>
<!-- or use CDN -->
<script src="https://unpkg.com/[email protected]/dist/weery.min.global.js"></script>
- Availables
- Philosophy
If you don't need jQuery, but you want to use the basic methods to manipulate the DOM, install Weery. And if at some time you really need jQuery, replace Weery with jQuery. All Weery methods copy the jQuery methods (syntax, functional).
- Build setup
You can setting own collection of necessary methods.
# Clone repository and install dependencies
npm install
# setting src/index.js and minimize to dist/
npm run build