-
-
Notifications
You must be signed in to change notification settings - Fork 1
Import
Hyro edited this page Dec 9, 2021
·
4 revisions
// CJS
const hyttpo = require('hyttpo').default;
// ESM, TYPESCRIPT
import hyttpo from 'hyttpo';
(async() => {
console.log(await hyttpo.default.get('url'))
})();
- Download
hyttpo-webpack.js
from https://github.com/Garlic-Team/hyttpo/releases - Put to your website
- Import
<script src='./hyttpo-webpack.js'></script>
<script src='./hyttpo-webpack.js'></script>
<script>
(async() => {
console.log(await hyttpo.default.get('url'))
})();
</script>