- Macros
- Easy to create
- Auto-added to global scope
- Can be used cross-file
- Used in 99% of the tools
- Logging
- Default Built-in Loggers (
ConsoleLogger
andIOLogger
)- CoreLog
- SAFE function caller tracer
- rust bindings for logging EVERYTHING (W.I.P)
- Fully Customizable Loggers
- Default Built-in Loggers (
- OOP
- Structs
- Templates
- Builders
- Advanced Contructors
import tokiojs from "@tokio-js/tokio";
const { app, L } = tokiojs.load();
app._main$ = async function(args: string[]) {
L._info$("Hello World")
};
app.run();
Command Line:
npm install tokiojs@https://github.com/tokio-js/tokio#build --save
Or add to your package.json
:
{
"dependencies": {
"tokiojs": "github:tokio-js/tokio#build"
}
}