Skip to content

⚙️ Rust Execute: TypeScript & ESM faster execution with ⚡️SWC

License

Notifications You must be signed in to change notification settings

refirst11/rscute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rscute · powered by SWC

Faster Executor for TypeScript using @swc/core

Installation

npm i -D rscute

Usage

Run a TypeScript file directly:

npx rscute script.ts

Dynamic import

await import() to replace await execute()

import { execute } from 'rscute';

await execute(absolutePath);

Concept

Since rscute uses type: module, execution will be limited to ESM.
Supported extensions are .js, .ts, .mjs, .mts, .jsx, .tsx

License

rscute is MIT licensed.

About

⚙️ Rust Execute: TypeScript & ESM faster execution with ⚡️SWC

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published