moll

32 Packages by moll

  • attributes Query a database (currently PostgreSQL or Sqlite3) for its schema — columns or attributes — and get their properties, such as name, type and default value in a common format. You can use this for e.g. introspection or preparing your domain models like Rails's Active Record does.
  • chnode Change between installed Node version in your shell.
  • co-next Use generators for request handlers and middleware. Calls next only if there was an error. Useful for Express routes.
  • concert An event library that implements the observer pattern (a.k.a publish/subscribe). Similar to Node's EventEmitter and Backbone.Events, but independent, minimal and light-weight.
  • ddl Query a database (currently PostgreSQL or Sqlite3) for its schema (data definition) and get back columns and their properties, such as name, type and default value in a common format. You can use this for e.g. introspection or preparing your domain models
  • descend Function to set up an inherited class that calls its ancestor constructors automatically. Can also be attached to constructors.
  • egal Strict equality test (like ===) that handles both built-in and custom value objects (those with the valueOf function).
  • element-from-point A consistent cross-browser document.elementFromPoint function. Works around idiosyncracies of old WebKits et al.
  • export A tool that helps you publish and export your JavaScripts to other environments by wrapping them in an IIFE. Or UMD in the future.
  • haul Basis for an amazing drag library.
  • heaven Data mapper and repository for storage of your domain models.
  • internet-message Parse and stringify RFC 822 ARPA Internet Text Messages. Useful format for messages with headers and body. Similar to HTTP.
  • internet-message-typ... Parse RFC 822 ARPA Internet Text Messages types and bodies. Works well with InternetMessage.js.
  • json-stringify-safe Like JSON.stringify, but doesn't blow up on circular refs
  • kindof A proper and semantic typeof function that works with literal primitives, boxed objects and those from another execution context.
  • lazy-object Define lazy properties on objects that are initialized once and only when accessed. Also known as a lazy initialization and cached/memoized getters.
  • medium-type Class for parsing, stringifying and manipulating media types. Useful for content negotiation. Follows RFC2045, supports quoted parameters, all allowed characters etc.
  • mitm Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.
  • must Testing and assertion library with friendly BDD syntax — awesome.must.be.true(). Many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well tested stuff.
  • objectware Utilities for objects. Simple, tasteful and plentiful. Supports inherited properties.
  • overstrike A utility library in the style of Underscore.js with consistent inherited property handling, the simplest implementation and curation by yours truly.
  • pg-error Error class that parses PostgreSQL's ErrorResponse format and sets human readable field names. Works with node-pg, too.
  • promise-defer Polyfill for Promise.defer. Uses the native ES6 Promise. Supports other Promises/A+ implementations.
  • require-guard Prevent files and modules being required more than once. Helps with auto-reloaders or test runners that insist.
  • skel Skel will be a superb tool to help you manage project skeletons and directory templates. It'll turn you into a ninja. The good kind.
  • soul Soul is arising from the ashes. It'll be a decoupled, modular domain model library. None of that ORM spaghetti.
  • square-batman A small scheduling algorithm library. Useful for round-robin etc.
  • standard-error Tiny library that simplifies subclassing and inheriting from Error while keeping the correct name and stack. Also supports constructing from an object of properties. Saves you from boilerplate.
  • standard-http-error Standard HTTP error class. Proper serialization, no bloat. Extensible.
  • strange Range object. Will supports proper exclusive and infinite ranges in the future!
  • syslog-protocol Syslog (RFC 3164) parser. Works with RFC 3339/ISO 8601 timestamps.
  • syslogh Log to the system's Syslog. Provides simple native bindings to <syslog.h> and syslog(3). Works on Node v0.11.

14 Packages starred by moll

  • chnode Change between installed Node version in your shell.
  • concert An event library that implements the observer pattern (a.k.a publish/subscribe). Similar to Node's EventEmitter and Backbone.Events, but independent, minimal and light-weight.
  • ddl Query a database (currently PostgreSQL or Sqlite3) for its schema (data definition) and get back columns and their properties, such as name, type and default value in a common format. You can use this for e.g. introspection or preparing your domain models
  • internet-message Parse and stringify RFC 822 ARPA Internet Text Messages. Useful format for messages with headers and body. Similar to HTTP.
  • kindof A proper and semantic typeof function that works with literal primitives, boxed objects and those from another execution context.
  • lazy-object Define lazy properties on objects that are initialized once and only when accessed. Also known as a lazy initialization and cached/memoized getters.
  • medium-type Class for parsing, stringifying and manipulating media types. Useful for content negotiation. Follows RFC2045, supports quoted parameters, all allowed characters etc.
  • mitm Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.
  • must Testing and assertion library with friendly BDD syntax — awesome.must.be.true(). Many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well tested stuff.
  • require-guard Prevent files and modules being required more than once. Helps with auto-reloaders or test runners that insist.
  • standard-error Tiny library that simplifies subclassing and inheriting from Error while keeping the correct name and stack. Also supports constructing from an object of properties. Saves you from boilerplate.
  • strange Range object. Will supports proper exclusive and infinite ranges in the future!
  • syslog-protocol Syslog (RFC 3164) parser. Works with RFC 3339/ISO 8601 timestamps.
  • syslogh Log to the system's Syslog. Provides simple native bindings to <syslog.h> and syslog(3). Works on Node v0.11.