An open API service indexing awesome lists of open source software.

https://github.com/gamikun/just-say-it

Simple JSON response server and no third party dependencies
https://github.com/gamikun/just-say-it

http json-response nodejs request server

Last synced: 20 days ago
JSON representation

Simple JSON response server and no third party dependencies

Awesome Lists containing this project

README

          

When you need a server that only needs an endpoint and returns a single object.

## Example

const justsayit = require('justsayit')

justsayit(1522, req => {
return {'hello', 'world'}
})

That's it. 1522 is the port, and the {'hello': 'world'} the JSON response.

You can also return a `string` in the callback instead of an object.