Code Monkey home page Code Monkey logo

mm93's Introduction

Windows 93 Module Manager

What is mm?

The Windows 93 Module Manager, hereon referred to as mm, is a simple package manager for Windows 93. Unlike pkg93, another very awesome Windows 93 package manager, mm loads packages that are compiled into modules with a specified format, allowing mm to easily load and unload packages.

Why use mm?

  • Less boilerplate - there is no need to provide install and uninstall scripts, as mm handles that for you
  • More self-contained - the goal of mm modules is to contain almost all of the package's content inside a single module
  • More freedom to the user - users are free to alias mm modules to whatever they'd like
  • Loads modules dynamically - mm uses SystemJS, a dynamic JavaScript module loader

How to use?

To install mm, run the following command in the Terminal

js https://rawgit.com/robbie0630/mm93/master/mm-install.js

Here's a very simple listing of mm commands:

mm help: show help screen
mm load <name> <url>: loads a module from a url
mm unload <name>: unloads a module and removes it from the system
mm reload <name>: unloads and loads a module

What is the module format?

The module format is extremely simple. All you have to do is export an object called leApp which corresponds to the app's le._apps entry.

You can do that with either of the following methods, depending on your module system:

export const leApp = { /* insert app here */ } // note: needs transpilation
exports.leApp = { /* insert app here */ }

Want to contribute?

Please feel free to do so! All contributions are very welcome.

Why is this README worded so oddly?

I wrote this at 6:30 AM with absolutely zero sleep.

To-do

  • Persist module loads and unloads, maybe add a register or install/unregister or uninstall command?
  • make this way safer, confirm that loads are OK, confirm that module names are OK in unloads and reloads

mm93's People

Contributors

robbie01 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.