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

vite-ts-decorators

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-ts-decorators

A Vite plugin for transforming TypeScript code with decorators

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
270
-9.7%
Maintainers
1
Weekly downloads
 
Created
Source

Vite TypeScript Decorators

This is a Vite plugin for transforming TypeScript files that use decorators.

Installation

pnpm add vite-ts-decorators

Usage

// vite.config.ts
import { defineConfig } from 'vite';
import tsDecorators from 'vite-ts-decorators';

export default defineConfig({
  plugins: [
    tsDecorators()
  ]
});
export interface ViteDecoratorsOptions {
    tsconfig?: string;
    cwd?: string;
    force?: boolean;
    srcDir?: string;
}

Contributing

We welcome contributions to improve this SDK! To get started:

  • Fork the repository.
  • Create a new branch (git checkout -b feature-name).
  • Commit your changes (git commit -m "Add feature X").
  • Push to the branch (git push origin feature-name).
  • Open a pull request.

Credits

This project was bootstrapped with esbuild-decorators by anatine

License

This SDK is released under the MIT License. You’re free to use, modify, and distribute this project. See the LICENSE file for more details.

FAQs

Package last updated on 13 Mar 2025

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