@targetd/server
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

@targetd/server

HTTP server for targetd data

Exammple

import { Data } from '@targetd/api',
import { createServer } from '@targetd/server'
import z from 'zod'

const data = Data.create({
  data: {
    foo: z.string(),
    b: z.string()
  }
})

createServer(data).listen(8080)

Readme

Keywords

none

Package Sidebar

Install

npm i @targetd/server

Weekly Downloads

90

Version

6.0.0

License

MIT

Unpacked Size

21.4 kB

Total Files

25

Last publish

Collaborators

  • johngeorgewright