1.0.2 • Published 18 days ago
@tbdex/http-server v1.0.2
tbdex http server
A configurable implementation of the tbdex http api draft specification
This repo is currently under construction 🚧
Installation
npm install @tbdex/http-server
Usage
import { TbdexHttpServer } from '@tbdex/http-server'
const api = new TbdexHttpServer()
api.get('offerings', async (ctx, filter) => { /* write biz logic here */ })
api.get('exchanges', async (ctx, filter) => { /* write biz logic here */ })
api.submit('rfq', async (ctx, message) => { /* write biz logic here */ })
api.submit('order', async (ctx, message) => { /* write biz logic here */ })
api.submit('close', async (ctx, message) => { /* write biz logic here */ })
await api.listen(9000, () => {
console.log('Server listening on port 9000')
})
0.0.0-next-c7da892-20240423165739
18 days ago
1.0.2
1 month ago
0.0.0-next-cf1c881-20240409175519
1 month ago
0.0.0-next-8d8f022-20240410005332
1 month ago
1.0.1
1 month ago
0.0.0-next-b7e3a9b-20240408164307
1 month ago
1.0.0
1 month ago
0.0.0-next-e852f25-20240403233344
1 month ago
0.0.0-next-6619fcc-20240401162341
1 month ago
0.0.0-next-0f2f2b8-20240402020625
1 month ago
0.0.0-next-90ee330-20240402040021
1 month ago
0.0.0-next-65439c2-20240402030345
1 month ago
0.28.0
1 month ago
0.0.0-next-5cef7f2-20240402021250
1 month ago
0.0.0-next-717dac3-20240331214520
1 month ago
0.0.0-next-7edf704-20240329160056
1 month ago
0.0.0-next-91edf55-20240329235920
1 month ago
0.0.0-next-fa95997-20240328234816
1 month ago
0.0.0-next-6dea4d9-20240328210946
1 month ago
0.0.0-next-93f6c72-20240327222513
2 months ago
0.0.0-next-02ce905-20240327020406
2 months ago
0.0.0-next-529b37a-20240325162525
2 months ago
0.0.0-next-74b6ade-20240320235314
2 months ago
0.0.0-next-69d10f0-20240320192304
2 months ago
0.27.0
2 months ago
0.0.0-next-a3f4480-20240316082313
2 months ago
0.0.0-next-7296998-20240315200709
2 months ago
0.0.0-next-7296998-20240314204722
2 months ago
0.26.1
3 months ago
0.26.0
3 months ago
0.25.0
3 months ago
0.24.0
4 months ago
0.23.0
4 months ago
0.21.0
6 months ago
0.22.1
5 months ago
0.22.0
5 months ago
0.20.0
6 months ago
0.19.0
6 months ago
0.18.0
7 months ago
0.17.0
7 months ago
0.16.0
7 months ago
0.0.12
8 months ago
0.0.11
8 months ago
0.0.10
8 months ago
0.0.9
8 months ago
0.0.8
8 months ago
0.0.7
8 months ago
0.0.6
8 months ago
0.0.5
8 months ago
0.0.4
8 months ago