Skip to content

Commit 5b0478c

Browse files
committed
Add badges to readme
1 parent 21bdb36 commit 5b0478c

1 file changed

Lines changed: 25 additions & 11 deletions

File tree

readme.md

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
1-
<div align="center">
2-
3-
# Superbuffer
1+
<h1 align="center">Superbuffer</h1>
42

3+
<p align="center">
54
A simple way to serialize JavaScript objects into ArrayBuffers for high compression on the wire.
6-
7-
[Introduction][intro-url][Usage][usage-url][Data Types][data-types-url][Caveats][caveats-url]
8-
9-
</div>
5+
</p>
6+
7+
<br>
8+
<br>
9+
10+
<p align="center">
11+
<a href="#introduction">Introduction</a> •
12+
<a href="#introduction">Usage</a> •
13+
<a href="#introduction">Data Types</a> •
14+
<a href="#introduction">Caveats</a>
15+
</p>
16+
17+
<p align="center">
18+
<a href="">
19+
<img src="https://badgen.net/bundlephobia/minzip/superbuffer?color=green&label=size">
20+
</a>
21+
<a href="">
22+
<img src="https://badgen.net/npm/v/superbuffer?color=blue&label=version">
23+
</a>
24+
<a>
25+
<img src="https://badgen.net/npm/node/superbuffer?color=blue">
26+
</a>
27+
</p>
1028

1129
---
1230

@@ -170,10 +188,6 @@ Superbuffer's views are mapped to their respective [TypedArray][typed-array-url]
170188

171189
[MIT License][mit-url]
172190

173-
[intro-url]: https://github.com/DanielHZhang/superbuffer#introduction
174-
[usage-url]: https://github.com/DanielHZhang/superbuffer#usage-api
175-
[data-types-url]: https://github.com/DanielHZhang/superbuffer#data-types
176-
[caveats-url]: https://github.com/DanielHZhang/superbuffer#caveats
177191
[tabs-url]: https://github.com/geckosio/typed-array-buffer-schema
178192
[typed-array-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays
179193
[mit-url]: https://github.com/DanielHZhang/superbuffer/blob/main/license.md

0 commit comments

Comments
 (0)