Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.
/ peb.js Public archive

API to simplify web development. Comply with the MIT license open source agreement. In line with most jQuery writing habits.

License

Notifications You must be signed in to change notification settings

TechPot-Studio/peb.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Peb.js Icon


We are about to rebuild the community of this project and rename this project. We are about to stop the update of Peb.js, but there will be exactly the same alternatives

Pecis is out! Use Pecis now! :D


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

NPM info

JQuery Writing Habits

Peb.js 3.2.0+

peb.sel('div#foo').toggleVisible();

peb.sel(document).DOMReady(function () {
    peb.log('READY');
});

peb.log.group('foo', true, function () {
    peb.log.warn('WARNING');
});

JQuery

$('div#foo').toggle();

$(document).ready(function () {
    console.log('READY')
});

console.groupCollapsed('foo');
console.warn('WARNING')
console.groupEnd();

Installation

Using NPM

NPM information

$ 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

Main Contributor

@TechPot-Studio/peb

Name Contributes
TheColdPot ๐Ÿ’ป๐Ÿ›๐Ÿ“–๐ŸŽจ๐Ÿค”๐Ÿ—ƒโœ๐Ÿ“ฆ

Special Thanks to

Software Support

WebStorm
Visual Studio Code