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>;
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i tinejs.next

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

3.03 kB

Total Files

6

Last publish

Collaborators

  • bersen0