GithubHelp home page GithubHelp logo

httplib's Introduction

httpdLib

==========

HTTPLib JS Lib... Why use the fucking jquery then vanilla ES6 javascript offer things like fetch()? Dont use it for the fuck's sake! Also dont use this one... build your own or use AXIOS!

ES6 Lib done... (Master Branch)

I guess is the recomended way of doing thing "Today (2018)".... the fetch() function and Promise object to resolve or catch.

  • app.js - some kind of rudimentary api test, and examples of GET, POST, PUT, PATCH and DELETE.
  • httplib.js - the library itself

ES5 Implementation (ES5 Branch)

Old way of doing things, compatible with old browsers. Creating classes and functions with "prototype" and using XMLHttpRequest objects... A FUCKING MESS of old and shitty Javascript, but still works and widely used. Wanna builds apps for iExplorer 6, its your code... Go f**k yourself (sorry).

  • app.js - rudimentary tests
  • httplib.js - the library itself

ES7 Implementation ECMAScript 2017 (ES7 Branch)

The same library as ES6, but using the new features of ES7 Javascript. Check the ES7 branch.

Async and Await. async function returns Promise object, and await is used inside "async function" for "wait" until get "response"... Today (2018) it soported by all new browsers. Dont use that in legacy code.

httplib's People

Contributors

antonrodin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.