New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typescript-remix-routes-plugin

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-remix-routes-plugin

TypeScript language server plugin that adds intellisense to your Remix projects.

1.0.1
latest
npm
Version published
Weekly downloads
1.8K
-24.28%
Maintainers
1
Weekly downloads
 
Created
Source

typescript-remix-plugin

TypeScript language server plugin that adds intellisense to your Remix projects.

Features

  • Route path completion
  • Route path diagnostics
  • Jump to route definition
  • Route module completion
  • Jump to route reference
  • 🚧 Rename route

Get Started

$ npm install typescript-remix-plugin -D

And configure plugins section in your tsconfig.json, for example:

{
  "compilerOptions": {
    "target": "ES2019",
    "plugins": [
      {
        "name": "typescript-remix-plugin",
        "tag": "route"
      }
    ]
  }
}

Route path completion

// import name should be the same as the tag name in the `tsconfig.json`
import route from 'typescript-remix-plugin/tag';

const id = 1;

route`/posts/${id}`;

Route path completion

Route path diagnostics

Route path diagnostics

Jump to route definition

Jump to route definition

Route module completion

Route module completion

License

MIT

Keywords

remix

FAQs

Package last updated on 25 May 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