1.0.0 • Published 4 years ago

@myosrs/crowns v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Details

@myosrs/crowns is a javascript package that makes use of the Custom Elements Web API to make it dead simple to implement rank distinction of some sort using crowns. Largely inspired by the MMORPG RuneScape and in particular the approach taking to distinguish their admins (See reference on their web forums)

Installation & Usage

Assuming you are using a supported browser, you shouldn't have any issue or additional requirements past loading the script anywhere in your HTML (global template or layout wrapper)

<script src="https://unpkg.com/@myosrs/crowns@latest"></script>

Use it next to usernames you want to distingish

<div>
  <myosrs-crown></myosrs-crown>
  <span>Username</span>
</div>

Example

Checkout this minimal requirement Codepen Example to see it in action.

0.0.0-42ebf52

4 years ago

1.0.0

4 years ago

0.0.0-235d310

4 years ago

1.0.0-rc.106af08

4 years ago

0.0.2-rc.229035b

4 years ago

0.0.0-0c78574

5 years ago

0.0.2-rc.11c6a5d

5 years ago

0.0.0-94e4742

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago