Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

trpc-init

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trpc-init

CLI for adding tRPC to your current project

latest
Source
npmnpm
Version
0.0.1-alpha.0
Version published
Maintainers
1
Created
Source

trpc-init

Add tRPC to any* existing project with a single command.

  • Currently only supports Next.js

NOTE: Currently requires the path alias ~/* to be available in your project.

Usage

npx trpc-init

Sample output

trpc-init will create a few basic tRPC configuration files that you'll be prompted to accept or reject, e.g:

sample prompt

We will also prompt you to edit a few existing files, e.g. pages/_app.tsx:

sample edit

FAQs

Package last updated on 22 Jan 2023

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