1.0.4 • Published 4 years ago
@codingjlu/a-e v1.0.4
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-eAnd 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.