⚛️ Neutronium v3.4.5
Ultra-dense JavaScript framework – maximum performance, minimal overhead






---
🎉 What’s new in v3.4.5
- ⚡ Faster compilation for complex projects
- ✨
useState and
useEffect hooks
- ⚛️ React-like JSX syntax for easier switching
- 🌐
Browser-safe compilation via
/sandbox.mjs
- 🖼️ Apply favicon programmatically
- 📦 Massive package size reduction using
.npmignore
---
ℹ️ About
Neutronium is a lightweight, high-performance JavaScript framework built for developers who want
explicit control,
predictable behavior, and
zero unnecessary abstractions.
It offers
React-like ergonomics without a virtual DOM, build step, or heavy runtime.
> Ultra-fast ⚡ · Tiny footprint 📦 · No build tools 🛠️ · Pure JavaScript ✨
---
✨ Features
- ⚡
Blazing fast rendering
- 🧠
Simple, predictable component logic
- 🔌
No dependencies and no virtual DOM
- 📦
Tiny footprint (~57.7 kB unpacked)
- 🧩
TypeScript types (~4.35 kB)
- 🛠️
Works directly in the browser
- 🔁
JSX-style component structure
- 🌐
Sandboxed browser compiler
---
📦 Installation
Install the Neutronium runtime:
``
bash
npm install neutronium
`
Install the CLI globally(optional, recommended):
`
bash
npm install neutronium -g
`
---
🛠️ Create a Project
`
bash
neu-cli create-app my-app
cd my-app
`
---
🚀 Usage Example
`
jsx
// App.js
import { createApp } from 'neutronium' // or ts-neutronium for TypeScript
function Greeting({ name }) {
return Hello, {name}!
;
}
export default function App() {
return (
<>
Welcome to Neutronium
>
);
}
createApp(App).mount('body');
`
---
🧪 Result
!Result
Browser Sandbox
Neutronium provides a browser-safe compiler for live environments such as playgrounds:
`
javascript
import { compile } from "neutronium/sandbox.mjs";
const result = compile(code);
``
This allows Neutronium code to be compiled without Node.js, making it ideal for online editors and sandboxes.
---
📚 Documentation & Links
- 🌐 Website: https://neutronium-website.onrender.com/
- 📖 Docs: https://neutronium-website.onrender.com/Documentation/
- 🧪 Playground: https://neutronium-website.onrender.com/Playground/
- 🧠 GitHub: https://github.com/PFMCODES/neutronium
- 📦 NPM: https://www.npmjs.com/package/neutronium
---
📦 Packages Built with Neutronium
-
@neuhq/alert
-
neutronium-alert
---
🐞 Found a Bug or Issue?
Please report it here:
👉 https://github.com/PFMCODES/neutronium/issues/new
---
License
MIT © PFMCODES