peb
v3.1.0
Published
Peb.js makes JS easier
Downloads
8
Maintainers
Readme
Looking for README in other languages? 简体中文 | English
About
ECMAScript 6 lightweight API that makes JS development easier. Make the code faster, more efficient, easier to read, and compatible with other parts of the API. Created by TechPot Studio, some methods are borrowed from jQuery, and basically conform to the writing habits of the public.
Microsoft's support for Internet Explorer has ended. We will also discontinue its compatible code since v3.0.0
.
Documents: View
JQuery Writing Habits
Peb.js
peb.sel('div#foo').html("bar");
JQuery
$('div#foo').html("bar");
Installation
Using NPM
$ npm install peb
/* ES6 */
import peb from 'peb'
/* CommonJS */
const peb = require('peb');
Note: If you use Node.js, version 14.0.0 or above is recommended. Lower versions may work, but there may be problems.
Or, grab from other API.
jsdelivr
<script src="//cdn.jsdelivr.net/npm/peb" type="module"></script>
unpkg
<script src="//unpkg.com/peb" type="module"></script>
type="module"
is only applicable after v3.1.0
And, we allowed download source code.
Browser Support
Number is the least version it supports | Browser | | | | | | |------: | :------: | :------: | :------: | :------: | :------: | | Full Support | 54 | 63 | 10.1 | 79 | 41 |
Go to the function documentation to view the specific supported browsers of the function
The source of this information: developer.mozilla.org