Skip to content

Module Categorization Analysis

This document maps every Superloom module to its category for documentation purposes. Use this to determine which README template to apply.


Category 1: Core Foundation Modules

Characteristics: Zero runtime dependencies, pure utility functions, platform-agnostic.

Template: README-foundation-module.md

ModulePackagePurposeTemplate Applied
js-helper-utils@superloomdev/js-helper-utilsType checks, validation, sanitizationYes
js-helper-debug@superloomdev/js-helper-debugStructured logging with levelsYes
js-helper-time@superloomdev/js-helper-timeDate/time math, timezone handlingNeeds review
js-client-helper-crypto@superloomdev/js-client-helper-cryptoUUID, random strings, base64 (browser)Needs creation

Documentation Style:

  • Simple function-focused
  • List what it does, show examples
  • Minimal configuration
  • Badge: "Foundation module"

Category 2: Service/Helper Modules

Characteristics: Single service purpose, factory pattern, depends on foundation modules.

Template: README-master-template.md (standard)

ModulePackagePurposeTemplate Applied
js-server-helper-crypto@superloomdev/js-server-helper-cryptoHashing, encryption, UUIDYes
js-server-helper-instance@superloomdev/js-server-helper-instanceRequest lifecycle, cleanupYes
js-server-helper-http@superloomdev/js-server-helper-httpHTTP client wrapperNeeds review

Documentation Style:

  • Clear purpose statement
  • Factory pattern explanation
  • API table with returns column
  • Badge: Service-specific tag

Category 3: Database Driver Modules

Characteristics: Database driver wrapper, connection management, query building.

Template: README-master-template.md (driver-specific variant)

ModulePackagePurposeNotes
js-server-helper-sql-sqlite@superloomdev/js-server-helper-sql-sqliteSQLite via node:sqliteNeeds badge update
js-server-helper-sql-postgres@superloomdev/js-server-helper-sql-postgresPostgreSQL driverNeeds consistency pass
js-server-helper-sql-mysql@superloomdev/js-server-helper-sql-mysqlMySQL driverNeeds consistency pass
js-server-helper-nosql-mongodb@superloomdev/js-server-helper-nosql-mongodbMongoDB native driverNeeds consistency pass
js-server-helper-nosql-aws-dynamodb@superloomdev/js-server-helper-nosql-aws-dynamodbDynamoDB wrapperNeeds consistency pass

Documentation Style:

  • Connection setup prominently
  • Placeholder syntax (? / ??)
  • Query examples with all helper types (getRow, getRows, write)
  • Badge: "Offline module" (SQLite) or "Service-dependent" (others)

Category 4: Feature Modules with Storage Adapters

Characteristics: Complex business logic, multiple storage options, multi-tenancy, deep data model.

Template: README-feature-module.md + docs/ folder

ModulePackagePurposedocs/ Needed
js-server-helper-auth@superloomdev/js-server-helper-authSession lifecycleYes - exists
js-server-helper-verify@superloomdev/js-server-helper-verifyVerification codesYes - exists
js-server-helper-logger@superloomdev/js-server-helper-loggerAction loggingYes - needs creation

Documentation Style:

  • Architecture overview first
  • Storage adapter comparison table
  • Data model deep dive in docs/
  • Framework integration guides
  • Badge: Complex module tag

docs/ Folder Contents

auth module:

  • docs/integration-express.md — Express middleware patterns
  • docs/integration-lambda.md — Lambda + JWT authorizer
  • docs/push-notifications.md — Push token contract

verify module:

  • (Currently has no docs/ folder — evaluate if needed)

logger module:

  • docs/data-model.md — Record fields, retention policies
  • docs/integration-express.md — IP capture setup
  • docs/storage-adapters.md — Backend selection guide

Category 5: Storage Adapter Modules

Characteristics: Implements store contract, thin wrapper, used with parent feature module.

Template: README-storage-adapter.md

Auth Store Adapters

ModulePackageBackendParent
js-server-helper-auth-store-sqlite@superloomdev/...auth-store-sqliteSQLiteauth
js-server-helper-auth-store-postgres@superloomdev/...auth-store-postgresPostgreSQLauth
js-server-helper-auth-store-mysql@superloomdev/...auth-store-mysqlMySQLauth
js-server-helper-auth-store-mongodb@superloomdev/...auth-store-mongodbMongoDBauth
js-server-helper-auth-store-dynamodb@superloomdev/...auth-store-dynamodbDynamoDBauth

Verify Store Adapters

ModulePackageBackendParent
js-server-helper-verify-store-sqlite@superloomdev/...verify-store-sqliteSQLiteverify
js-server-helper-verify-store-postgres@superloomdev/...verify-store-postgresPostgreSQLverify
js-server-helper-verify-store-mysql@superloomdev/...verify-store-mysqlMySQLverify
js-server-helper-verify-store-mongodb@superloomdev/...verify-store-mongodbMongoDBverify
js-server-helper-verify-store-dynamodb@superloomdev/...verify-store-dynamodbDynamoDBverify

Logger Store Adapters (New)

ModulePackageBackendParent
js-server-helper-logger-store-sqlite@superloomdev/...logger-store-sqliteSQLitelogger
js-server-helper-logger-store-postgres@superloomdev/...logger-store-postgresPostgreSQLlogger
js-server-helper-logger-store-mysql@superloomdev/...logger-store-mysqlMySQLlogger
js-server-helper-logger-store-mongodb@superloomdev/...logger-store-mongodbMongoDBlogger
js-server-helper-logger-store-dynamodb@superloomdev/...logger-store-dynamodbDynamoDBlogger

Documentation Style:

  • "How This Fits In" section first
  • Link to parent module prominently
  • Store contract table (8 methods for auth, 5 for logger, etc.)
  • Schema DDL
  • Badge: "Service-dependent" (except SQLite = "Offline")

Category 6: AWS Service Modules

Characteristics: AWS SDK wrapper, credential management, regional config.

Template: README-master-template.md (AWS-specific)

ModulePackageAWS ServiceNotes
js-server-helper-storage-aws-s3@superloomdev/...storage-aws-s3S3 operationsNeeds review
js-server-helper-storage-aws-s3-url-signer@superloomdev/...storage-aws-s3-url-signerS3 presigned URLsNeeds review
js-server-helper-queue-aws-sqs@superloomdev/...queue-aws-sqsSQS messagingNeeds review

Documentation Style:

  • Credentials section early
  • IAM permissions table
  • Regional configuration note
  • AWS SDK version compatibility

Documentation Status Matrix

ModuleCategoryREADME StatusHuman-WrittenHas TemplateNeeds Work
js-helper-utils1 - FoundationCompleteYesYesNo
js-helper-debug1 - FoundationCompleteYesYesNo
js-helper-time1 - FoundationNeeds reviewUnknownYesReview
js-client-helper-crypto1 - FoundationNeeds creationN/AYesCreate
js-server-helper-crypto2 - ServiceCompleteYesYesNo
js-server-helper-instance2 - ServiceCompleteYesYesNo
js-server-helper-http2 - ServiceNeeds reviewUnknownYesReview
js-server-helper-sql-sqlite3 - DriverNeeds reviewPartialYesConsistency pass
js-server-helper-sql-postgres3 - DriverNeeds reviewUnknownYesConsistency pass
js-server-helper-sql-mysql3 - DriverNeeds reviewUnknownYesConsistency pass
js-server-helper-nosql-mongodb3 - DriverNeeds reviewUnknownYesConsistency pass
js-server-helper-nosql-aws-dynamodb3 - DriverNeeds reviewUnknownYesConsistency pass
js-server-helper-auth4 - FeatureCompleteYesYesdocs/ exists
js-server-helper-verify4 - FeatureCompleteYesYesEvaluate docs/ need
js-server-helper-logger4 - FeatureCompleteYesYesCreate docs/ folder
js-server-helper-auth-store-*5 - AdapterPartialMixedYesApply template
js-server-helper-verify-store-*5 - AdapterNeeds reviewMixedYesApply template
js-server-helper-logger-store-*5 - AdapterNewN/AYesUse template
js-server-helper-storage-aws-*6 - AWSNeeds reviewUnknownYesReview
js-server-helper-queue-aws-sqs6 - AWSNeeds reviewUnknownYesReview

  1. High Priority (Apply templates immediately):

    • All logger store adapters (new modules being created)
    • js-server-helper-logger docs/ folder
    • js-client-helper-crypto (missing)
  2. Medium Priority (Consistency pass):

    • All SQL/NoSQL driver modules
    • All AWS service modules
    • Verify module docs/ evaluation
  3. Low Priority (Review when touched):

    • js-helper-time (minimal usage)
    • js-server-helper-http (stable)

Released under the MIT License.