
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@ayana/bento
Advanced tools
Bento is a NodeJS framework designed to make creating and maintaing complex projects a simple and fast process.
Bento indroduces a concept of components. Components are logical chunks of code that all work together to provide your application to the world.
Components should not take on more then required. (IE: instead of having one component for connecting to Discord and processing messages. Have two, one for the connection and one that handles messages)
Using bento is pretty simple. First import and initilize bento and any plugins you wish to use. Then simply add plugins to bento
'use strict';
import * as path from 'path';
import { Bento, FSComponentLoader } from '@ayana/bento';
// Create a Bento instance
const bento = new Bento();
// Create FSComponentLoader
// NOTE: Keep in mind all FSComponentLoader does is find Bento components in the path provided
// Instantiates them and calls bento.addPrimaryComponent or bento.addSecondaryComponent
// Behind the scenes
const loader = new FSComponentLoader({
primary: path.resolve(__dirname, 'modules'),
});
// Apply plugin to Bento.
// NOTE: Keep in mind that addPlugin is async and you should .catch any errors
bento.addPlugin(loader).catch(e => {
console.log('Sad day', e);
});
FAQs
Modular runtime framework designed to solve complex tasks
The npm package @ayana/bento receives a total of 53 weekly downloads. As such, @ayana/bento popularity was classified as not popular.
We found that @ayana/bento demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.