Git Product home page Git Product logo

udbajs's Introduction

Build Status JavaScript Style Guide

🖤💛 Ùdba

Ùdba is a Kashubian word for idea. Initially, the idea was to built a small modular thing, that could be probably called a framework (yes, another!). Now, the idea shifted to have some generic components that can be integrated in any application. The main target for those components are the applications built from scratch that misses some things (i.e., a CLI component).

Available packages

This is a monorepo for multiple packages:

udbajs's People

Contributors

radmen avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar

udbajs's Issues

Standalone binary

I think that it would be awesome to have a standalone binary provided by @baethon/udba-cli.

The way how I see it:

In the project root directory, there have to be a .udbarc.js config file. For now, it will be simple, containing just one option: commands:

module.exports = {
    commands: ['./commands/**/*.js']
}

using this, the binary would prepare the runtime and execute the selected command.

Inject dependencies to factory functions

Container is able to inject the deps to the class objects. Would be nice if it could do the same for the functions.

e.g.

const fn = (dep1, dep2) => () => {
  // doo something
}

const selfwired = inject(fn, ['dep1', 'dep2']) // the binding should resolve a closure with injected dependencies.

Reject non-defined parameters

Currently, the CLI will accept any number of parameters. It should reject every parameter which is not defined in the Command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.