-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (36 loc) · 1.33 KB
/
Copy pathindex.html
File metadata and controls
40 lines (36 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Copy Code JS - Simple and Lightweight Library for Copy Codes</title>
<!-- Styles -->
<link rel="stylesheet" href="css/all.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div style="text-align: center;">
<h3 style="font-weight: bolder; font-size: 25px;">CopyCode JS</h3>
<p>Simple and Lightweight Library for Copy Codes</p>
</div>
<pre>
<code>
const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj)
const compose = (...fns) => res => fns.reduce((accum, next) => next(accum), res)
const unfold = (f, seed) => {
const go = (f, seed, acc) => {
const res = f(seed)
return res ? go(f, res[1], acc.concat([res[0]])) : acc
}
</code>
</pre>
<div style="text-align: center;">
<a href="https://github.com/Rayiumir/copycode-js"><button class="github"><i class="fa-brands fa-github fa-3x"></i> <span>Download</span> </button></a>
</div>
</div>
<!-- Javascripts -->
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="js/copycode.js"></script>
</body>
</html>