1.0.0 • Published 3 years ago
tanxium v1.0.0
Tanxium
Custom, lightweight library to make simple http requests.
Installation
$ npm install --save tanxium
Example
// ES6
import fetch from "tanxium";
// commonjs
const fetch = require("tanxium");
const url = "https://github.com";
fetch(url)
.then(response => response.text())
.then(data => console.log(`Received:\n\n${data}`))
.catch(console.error);