0.0.4 • Published 9 months ago

@serebano/upi v0.0.4

Weekly downloads
-
License
-
Repository
github
Last release
9 months ago

upi

Universal Programming Interface

// api/index.ts
export const sayHi = (name: string) => `Hi ${name}`;
import * as myApi from 'http://localhost:3030'

awit myApi.sayHi()
import { serve } from "@serebano/upi/serve";

await serve({
    port: 8077,
    apiDir: import.meta.dirname,
});
0.0.4

9 months ago

0.0.3

9 months ago