Coder Social home page Coder Social logo

mystpi / conversation Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 18 KB

๐Ÿ’ฌ Gleam bindings for the standard JavaScript Request and Response APIs

Home Page: https://hexdocs.pm/conversation/

License: MIT License

Gleam 67.93% JavaScript 32.07%
bindings deno gleam gleam-lang javascript nodejs server web

conversation's Introduction

conversation

Package Version Hex Docs

Gleam bindings for the standard JavaScript Request and Response APIs.

Installation

This package can be added to your Gleam project:

gleam add conversation

and its documentation can be found at https://hexdocs.pm/conversation.

Example Usage

An example wrapper for Deno.serve that uses conversation can be found in ./test. The example can be run with the command gleam test.

conversation's People

Contributors

mystpi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

conversation's Issues

Consider creating an error type

Hello!

Thanks for this library! It's super cool and useful!

Currently all information about why reading a body fails gets discarded. There's no way to know if the error was that there was a network problem, or that the JSON was not the correct format, or that you accidentally called one of these functions twice on the same request.

It would be great if there was an error type so the user can tell what the problem is and how to fix it.

Thanks,
Louis

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.