isNode

isNode Returns true or false whether the enviroment is NodeJS

isNode
Returns
boolean:
Example
const ig = require('iguana')
iguana = new ig();
console.log(iguana.isNode());
=> true

List

List class

List
Example
const ig = require('iguana')
iguana = new ig();
let myList = new iguana.List(1, 2, "foo", "bar");
console.log(myList[0]);
=> 1
Instance Members
origin
delete(element)
limit(e, n)
intersection(object)
difference(object)
shuffle(num)

HTTP

A useful class for simplifying xmlhttp requests and posts. NOTE: This is not availiable in a NodeJS environment.

new HTTP(server: string)
Parameters
server (string) The server or url you will be making your requests or posts to.
Example
let myHttp = new Iguana.HTTP("https://jsonplaceholder.typicode.com/todos/1");
console.log(myHttp.server);
=> https://jsonplaceholder.typicode.com/todos/1
Instance Members
request(header)