tinejs.next
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

tinejs.next

Server side hooks for nextjs

example:

import { useUseCase } from 'tinejs.next';
import hello from '@/useCases/hello';

export default async function Page() {
  const data = await useUseCase(hello.input({ name: 'Earth' }));

  return <pre>{JSON.stringify(data, null, '\t')}</pre>;
}

/tinejs.next/

    Package Sidebar

    Install

    npm i tinejs.next

    Weekly Downloads

    1

    Version

    0.0.4

    License

    ISC

    Unpacked Size

    3.03 kB

    Total Files

    6

    Last publish

    Collaborators

    • bersen0