Package Exports
- steamlit
- steamlit/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (steamlit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Steamlit π
A lightweight Node.js framework for building reactive, data-driven web apps with minimal effort.
Features β¨
- Reactive Components: Build dynamic UIs with auto-updates.
- Easy API: Simple functions to create interactive widgets like buttons, sliders, and charts.
- Data Visualization: Built-in support for rendering graphs and charts.
- Fast Setup: Spin up your app instantly with minimal configuration.
- Customizable: Extend functionality with your favorite Node.js libraries.
Getting Started π οΈ
Installation
npm install steamlitExample App
Hereβs a quick example to get started:
const { App, Button, Chart } = require('steamlit');
const app = new App();
app.page("Dashboard", () => {
const data = [10, 20, 30, 40, 50];
app.add(Chart("Line", { data }));
app.add(Button("Click Me", () => {
console.log("Hello from Steamlit!");
}));
});
app.run();Run the app:
node app.jsOpen your browser at http://localhost:3000 to view your app.
Documentation π
Check out the Documentation for detailed usage instructions and advanced features.
Contributing π€
We welcome contributions!
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request.
License π
This project is licensed under the MIT License. See the LICENSE file for details.