Socket
Socket
Sign inDemoInstall

typescript-remix-routes-plugin

Package Overview
Dependencies
12
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
3.4K
decreased by-14.15%
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 25 May 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc