-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·55 lines (43 loc) · 2.46 KB
/
Copy pathindex.html
File metadata and controls
executable file
·55 lines (43 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<title>ppo.js</title>
<link type="text/css" href="./docs/css/main.css" rel="stylesheet" />
</head>
<body>
<a href="https://github.com/drawcall/ppo"><img style="position: absolute; top: 0; right: 0; border: 0;" src="docs/imgs/blue.png"></a>
<div id="sidebar" class="interface">
<div class="searchable_section">
<a class="toc_title" href="#">
Introduction
</a>
</div>
</div>
<div class="container">
<p id="introduction">
<img id="logo" src="docs/imgs/logo.png"/>
</p>
<p class="instxt">
Every frontend developer has written his own utils library, and we often write methods that are easily forgotten and highly used. <a class="link" href="https://drawcall.github.io/ppo/" target="_blank">ppo</a> is a super small and useful utils library for JavaScript. It and <a class="link" href="https://github.com/lodash/lodash" target="_blank">lodash</a> <a class="link" href="https://github.com/jashkenas/underscore" target="_blank">underscore</a> <a class="link" href="https://github.com/toss/es-toolkit" target="_blank">es-toolkit</a> almost no coupling.
I sorted out the most frequently used function functions in everyday development. These functions are almost ubiquitous in your development, and they are not found in lodash underscore.
</p></p>
Most of the code comes from the <a class="link" href="https://stackoverflow.com/" target="_blank">stackoverflow</a> site in the high score answer, here to pay tribute to the original author.
</p><p>
ppo little poor, gzip less than <b>3k</b>, so a library you can use it anytime, anywhere without worrying about anything.
</p>
<h2>Installation</h2>
<ul class="installation">
<li><b><span>✿</span> Install using npm</b> <div class="code">npm install ppo --save</div></li>
<li><b><span>✿</span> Include in html</b> <div class="code"><script type="text/javascript" src="js/ppo.min.js"></script></div></li>
</ul>
<div id="doc">
</div>
</div>
</body>
<script type="text/javascript" src="ppo.js"></script>
<script type="text/javascript" src="docs/js/jquery.js"></script>
<script type="text/javascript" src="docs/js/main.js"></script>
</html>