Gathering detailed insights and metrics for osjkit
Gathering detailed insights and metrics for osjkit
Gathering detailed insights and metrics for osjkit
Gathering detailed insights and metrics for osjkit
npm install osjkit
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (53.93%)
CSS (41.72%)
Shell (1.45%)
Batchfile (1.44%)
HTML (0.8%)
Rust (0.65%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4 Commits
1 Branches
1 Contributors
Updated on Jul 10, 2025
Latest Version
1.0.2
Package Id
osjkit@1.0.2
Unpacked Size
384.21 kB
Size
84.54 kB
File Count
58
NPM Version
10.9.2
Node Version
22.14.0
Published on
Jul 10, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A comprehensive template generator for React applications supporting both web and desktop platforms.
OSJKit is an npm package that provides ready-to-use templates for creating modern React applications. It supports both web applications and desktop applications (using Tauri), with options for JavaScript or TypeScript.
You can use OSJKit without installing it globally using npx
:
1npx osjkit <app-name> --web 2npx osjkit <app-name> --desktop
Or install it globally:
1npm install -g osjkit 2osjkit <app-name> --web
1# JavaScript (default) 2npx osjkit my-web-app --web 3 4# TypeScript 5npx osjkit my-web-app --web --typescript
1# JavaScript (default) 2npx osjkit my-desktop-app --desktop 3 4# TypeScript 5npx osjkit my-desktop-app --desktop --typescript
If you don't specify --web
or --desktop
, OSJKit will prompt you to choose:
1npx osjkit my-app 2# You'll be prompted to choose between web and desktop
Everything from web applications, plus:
my-app/
├── src/
│ ├── components/
│ │ ├── AboutPage/
│ │ │ ├── AboutPage.jsx
│ │ │ ├── AboutPage.module.css
│ │ │ └── index.js
│ │ ├── ContactPage/
│ │ │ ├── ContactPage.jsx
│ │ │ ├── ContactPage.module.css
│ │ │ └── index.js
│ │ ├── ApiDemoPage/
│ │ │ ├── ApiDemoPage.jsx
│ │ │ ├── ApiDemoPage.module.css
│ │ │ └── index.js
│ │ ├── ExampleComponent/
│ │ │ ├── ExampleComponent.jsx
│ │ │ ├── ExampleComponent.module.css
│ │ │ └── index.js
│ │ └── README.md
│ ├── utils/
│ │ └── api.js
│ ├── App.jsx
│ ├── main.jsx
│ ├── index.css
│ └── App.css
├── package.json
├── vite.config.js
├── .gitignore
└── README.md
my-app/
├── src/ # React frontend
├── src-tauri/ # Rust backend
│ ├── src/
│ │ └── main.rs
│ ├── Cargo.toml
│ └── tauri.conf.json
├── package.json
├── vite.config.js
└── README.md
After creating your application, you can use these scripts:
1npm run dev # Start development server 2npm run build # Build for production 3npm run preview # Preview production build 4npm run test # Run tests 5npm run test:ui # Run tests with UI 6npm run lint # Run ESLint
1npm run dev # Start web development server 2npm run build # Build web assets 3npm run test # Run tests 4npm run tauri:dev # Start desktop app in development 5npm run tauri:build # Build desktop app for distribution
All templates use CSS Modules methodology:
1/* Component.module.css */ 2.header { } 3.nav { } 4.title { } 5.navOpen { } 6.buttonLarge { }
1// Component.jsx 2import styles from './Component.module.css'; 3 4function Component() { 5 return ( 6 <header className={styles.header}> 7 <nav className={`${styles.nav} ${isOpen ? styles.navOpen : ''}`}> 8 <h1 className={styles.title}>Title</h1> 9 </nav> 10 </header> 11 ); 12}
Add the --typescript
flag to any command to generate a TypeScript project:
1npx osjkit my-app --web --typescript 2npx osjkit my-app --desktop --typescript
This will:
.js
files to .ts
and .jsx
files to .tsx
tsconfig.json
configuration1npx osjkit portfolio-site --web --typescript 2cd portfolio-site 3npm run dev
1npx osjkit my-utility --desktop 2cd my-utility 3npm run tauri:dev
We welcome contributions! Please feel free to submit a Pull Request.
Clone the repository:
1git clone https://github.com/opensourcejay/osjkit.git 2cd osjkit
Install dependencies:
1npm install
Test your changes:
1npm test 2npm run test:cli
Submit a Pull Request
MIT License
For support and questions:
No vulnerabilities found.
No security vulnerabilities found.