1.0.4 • Published 3 years ago

@codingjlu/a-e v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

a-eJS

Accelerating extreme attributes - go to a URL faster than you can blink. Demo.

Note: this only works for internal URLs (i.e. URLs to the same website).

Setup

Download the source from Github or grab the CDN:

<script src="https://cdn.jsdelivr.net/npm/@codingjlu/a-e/a-e.min.js"></script>

Or install it via NPM:

npm i @codingjlu/a-e

And that's it for the setup.

Usage

Just add the is="a-e" attribute to any HTML a tag:

<a href="/helloworld" is="a-e">Hello world</a>

If importing or using commonjs sytax, simply go import "@codingjlu/a-e" or require("@codingjlu/a-e") without assigning a variable. There's no exports.

And that's it!

See more documentation here.