Skip to content

sevenns/weery.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weery.js

Small library for DOM manipulating. Current support: IE9+.

- Installing

npm install weery --save

- Using

  • es6 imports
import $ from 'weery'
  • commonjs
const $ = require('weery');
<script src="/path/to/scripts/weery.min.global.js"></script>
<!-- or use CDN -->
<script src="https://unpkg.com/weery@1.1.7/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

Releases

No releases published

Packages

No packages published