Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mf

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mf

Massively Fun JS Commons

  • 0.1.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

MF

MF is the Massively Fun "commons" library, for use across projects. Some things it gives you:

  1. MfTaskManager - an abstraction around setTimeout/process.nextTick. You may execute tasks:

    1. Soon, once
    2. Very soon, once
    3. Repeatedly
  2. MfNotificationCenter - simple sub/pub, loosely modeled after Cocoa's NotificationCenter

  3. MessageChannels (via mf.core.channel()) - provides a single-pub, multi-sub channel.

  4. Various utility functions useful for all MF projects, such as:

    1. A component loader, for exposing internal modules as components of the greater NPM module.
    2. A Configuration object, which can be backed by an arbitrary configuration provider.
    3. Several latches for asynchronous conditionals.
  5. Various collection classes:

    1. Hashtable, which provides reasonably quick lookup. Allows you to use objects as keys, provided they implement hashCode() and equals().
    2. OrderedHash, modelled after after Ruby's Hash implementation, OrderedHash is basically a doubly linked list with hash table look up. This allows ordered iteration and constant time look up of elements by UUID.
    3. A priority queue.

FAQs

Package last updated on 22 May 2013

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc