New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hello-hook-tsup

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hello-hook-tsup

Hello tsup..

latest
npmnpm
Version
3.0.1
Version published
Maintainers
1
Created
Source

USAGE

'use client';

import {
  sayHelloAndAddTwoNumbers,
  useMyHook,
  useMyOtherHook,
} from 'hello-hook-tsup';

export default function HomePage() {
  const { testMyHook } = useMyHook();
  const { testMyOtherHook } = useMyOtherHook();

  console.log(
    sayHelloAndAddTwoNumbers('devinveins' as string, 1 as number, 2 as number)
  );

  return (
    <>
      <button
        onClick={testMyHook}
        className='border-1 m-12 border p-8 text-xl font-extrabold tracking-tight text-pink-500 sm:text-[3rem]'>
        click me to call testMyHook()
      </button>
      <button
        onClick={testMyOtherHook}
        className='border-1 m-12 border p-8 text-xl font-extrabold tracking-tight text-orange-500 sm:text-[3rem]'>
        click me to call testMyOtherHook()
      </button>
    </>
  );
}

FAQs

Package last updated on 23 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts