5.3.3 โข Published 3 years ago
@augu/lilith v5.3.3
Lilith
๐งต Simple application framework made in TypeScript (made for personal usage)
Usage
import { Container } from '@augu/lilith';
const container = new Container({
componentsDir: __dirname,
servicesDir: __dirname,
});
container.load().then(() => console.log('ready'));
Components
import { Component } from '@augu/lilith';
@Component({
priority: 0,
name: 'component',
})
export default class Component {
load() {
console.log('lifecycle hook that this component is first being initialized.');
}
dispose() {
console.log('lifecycle hook that this component is being unloaded.');
console.log(
"You also have access to the Component's API! You can use the `useApi(<name>)` hook to get the API between a component or service if you're not in the component itself."
);
}
}
License
Lilith is released under MIT License! ๐
5.3.3
3 years ago
5.3.2
3 years ago
5.3.1
3 years ago
5.3.0
3 years ago
5.1.0
3 years ago
5.0.4
3 years ago
5.0.3
3 years ago
5.0.2
3 years ago
5.0.1
3 years ago
5.0.0
3 years ago
4.1.0
3 years ago
3.2.2
3 years ago
3.2.1
3 years ago
3.2.0
3 years ago
3.1.0
3 years ago
3.2.4
3 years ago
3.2.3
3 years ago
4.0.1
3 years ago
4.0.0
3 years ago
3.0.4
3 years ago
3.0.3
3 years ago
3.0.2
3 years ago
3.0.1
3 years ago
3.0.0
3 years ago
2.3.0
3 years ago
2.2.5
3 years ago
2.2.4
3 years ago
2.2.1
3 years ago
2.2.0
3 years ago
2.2.3
3 years ago
2.2.2
3 years ago
2.1.0
3 years ago
2.0.0
3 years ago
1.2.0
3 years ago
1.1.3
3 years ago
1.1.1
3 years ago
1.1.2
3 years ago
1.1.0
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago